diff options
author | Roman Yeryomin <roman@advem.lv> | 2012-09-13 00:26:51 +0300 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2012-12-03 00:13:20 +0200 |
commit | 93cbb70d2a3339647e1ee8565a20c2ee1617b568 (patch) | |
tree | 68c4c33bb4aa30e7898f5c037537310745374247 /include/target.mk | |
parent | 7f5047436e35fbf359122875a6936c661bed0111 (diff) |
lexra platform support for build system
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'include/target.mk')
-rw-r--r-- | include/target.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk index 61cdf0640..b08167326 100644 --- a/include/target.mk +++ b/include/target.mk @@ -107,7 +107,12 @@ ifneq ($(TARGET_BUILD)$(if $(DUMP),,1),) include $(INCLUDE_DIR)/kernel-version.mk endif + GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic +ifeq ($(CONFIG_TARGET_realtek),y) +# stop any generic kernel patches being applied +GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/not-generic +endif GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(if $(wildcard $(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) GENERIC_FILES_DIR := $(foreach dir,$(wildcard $(GENERIC_PLATFORM_DIR)/files $(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)),"$(dir)") |