From 93cbb70d2a3339647e1ee8565a20c2ee1617b568 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Thu, 13 Sep 2012 00:26:51 +0300 Subject: lexra platform support for build system Signed-off-by: Roman Yeryomin --- include/target.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/target.mk') 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)") -- cgit v1.2.3