mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
ptdump, need make arch ifdefs
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
obj-m += $(addsuffix .o, $(notdir $(basename $(wildcard $(BR2_EXTERNAL_KERNEL_MODULE_PATH)/*.c))))
|
||||
ccflags-y := -DDEBUG -g -std=gnu99 -Wno-declaration-after-statement
|
||||
|
||||
#ifneq ($(BR2_ARCH), x86_64)
|
||||
# obj-m := $(filter-out page_table_dump.o, $(obj-m))
|
||||
#endif
|
||||
#
|
||||
#ifneq ($(BR2_ARCH), arm)
|
||||
# obj-m := $(filter-out platform_device.o, $(obj-m))
|
||||
#endif
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all:
|
||||
|
||||
Reference in New Issue
Block a user