ptdump, need make arch ifdefs

This commit is contained in:
Ciro Santilli
2017-07-12 09:40:30 +01:00
parent 438f38de84
commit 69e9aab1ff
3 changed files with 107 additions and 0 deletions

View File

@@ -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: