diff options
| author | ruki <[email protected]> | 2021-12-11 11:10:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-12-11 11:10:20 +0800 |
| commit | 6c4c605b19b38bc34fa3a09e2087e11fe2103484 (patch) | |
| tree | d9567fae5b0439f51a4142eb5a570c4756e4d8ab /tests/projects/linux/driver/hello | |
| parent | 76d2f0f84976180935865f3f125ecc8c8b57bd7d (diff) | |
add hello_makefile
Diffstat (limited to 'tests/projects/linux/driver/hello')
| -rw-r--r-- | tests/projects/linux/driver/hello/Makefile | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/projects/linux/driver/hello/Makefile b/tests/projects/linux/driver/hello/Makefile deleted file mode 100644 index 1d5aa92b4..000000000 --- a/tests/projects/linux/driver/hello/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -ifneq ($(KERNELRELEASE),) - obj-m := hello.o - hello-objs := ./src/hello.o ./src/add.o -else - KERN_DIR ?= /usr/src/linux-headers-5.11.0-41-generic/ - PWD := $(shell pwd) - -default: - $(MAKE) -C $(KERN_DIR) V=1 M=$(PWD) modules -endif - -clean: - rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions - rm -rf src/*.o src/*~ core src/.depend src/.*.cmd src/*.ko src/*.mod.c src/.tmp_versions - |
