Userland test programs

This commit is contained in:
Ciro Santilli
2017-05-15 09:08:16 +01:00
parent 9370512176
commit 690284a3bf
9 changed files with 29 additions and 14 deletions

View File

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