aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-08-21 00:36:52 +0000
committerLuka Perkov <luka@openwrt.org>2013-08-21 00:36:52 +0000
commitff384f04e4710582052fea07437a03873e2f9b92 (patch)
treecb9e06666137c897aa77bc6420e6d6472dc16404 /include
parentb04baf0d0c6ea5ad9395f098a83fa28b930e81d8 (diff)
downloadupstream-ff384f04e4710582052fea07437a03873e2f9b92.tar.gz
upstream-ff384f04e4710582052fea07437a03873e2f9b92.tar.bz2
upstream-ff384f04e4710582052fea07437a03873e2f9b92.zip
include: introduce subtarget_platform CONFIG_TARGET
Sometimes it is useful to change platform's kernel config file but with loaded subtarget's kernel config. Good example for this use case is malta. Example: $ make kernel_menuconfig CONFIG_TARGET=subtarget_platform Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37818
Diffstat (limited to 'include')
-rw-r--r--include/target.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index b6d79fb20a..e34d3725bc 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -141,6 +141,10 @@ ifeq ($(CONFIG_TARGET),subtarget)
LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_TARGET_CONFIG) $(LINUX_SUBTARGET_CONFIG))
LINUX_RECONFIG_TARGET = $(LINUX_SUBTARGET_CONFIG)
endif
+ifeq ($(CONFIG_TARGET),subtarget_platform)
+ LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_SUBTARGET_CONFIG) $(LINUX_TARGET_CONFIG))
+ LINUX_RECONFIG_TARGET = $(LINUX_TARGET_CONFIG)
+endif
ifeq ($(CONFIG_TARGET),env)
LINUX_RECONFIG_LIST = $(LINUX_KCONFIG_LIST)
LINUX_RECONFIG_TARGET = $(TOPDIR)/env/kernel-config