mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
Remove redundant kernel module build commands.
They were rebuilding every time. Fix run find for no patches
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
obj-m += $(addsuffix .o, $(notdir $(basename $(wildcard $(BR2_EXTERNAL_KERNEL_MODULE_PATH)/*.c))))
|
||||
ccflags-y := -DDEBUG -g -std=gnu99 -Wno-declaration-after-statement
|
||||
|
||||
.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'
|
||||
|
||||
Reference in New Issue
Block a user