diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-08-21 00:36:52 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-08-21 00:36:52 +0000 |
commit | bcb4328e6f9d6f9a5cf2472992a22851958e7124 (patch) | |
tree | 1e35a4622049e53f0d157003c662c6c991633c96 | |
parent | bed8875c0a423758c199217e63b2859234d7dba2 (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37818 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/target.mk | 4 |
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 |