This commit is contained in:
Ciro Santilli
2017-05-15 09:22:28 +01:00
parent 690284a3bf
commit 67a7414f8c
7 changed files with 6 additions and 10 deletions

View File

@@ -1,13 +1,10 @@
obj-m += $(addsuffix .o, $(notdir $(basename $(wildcard $(BR2_EXTERNAL_KERNEL_MODULE_PATH)/*.c))))
ccflags-y := -Wno-declaration-after-statement -std=gnu99
.PHONY: all clean test
.PHONY: all clean
all: test
all:
$(MAKE) -C '$(LINUX_DIR)' M='$(PWD)' modules
clean:
$(MAKE) -C '$(LINUX_DIR)' M='$(PWD)' clean
test:
$(MAKE) -C '$(PWD)/test'