summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-23 14:48:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-23 14:48:47 +0000
commitb04ef81416856af1fcab7d8d8b6522a26e1b9756 (patch)
treecf45e514d5d7ab9be4b8fc884d87e1e4b1150532 /include
parentc48b6508fedea2527548f42095df1e47233243b8 (diff)
downloadmtk-20170518-b04ef81416856af1fcab7d8d8b6522a26e1b9756.zip
mtk-20170518-b04ef81416856af1fcab7d8d8b6522a26e1b9756.tar.gz
mtk-20170518-b04ef81416856af1fcab7d8d8b6522a26e1b9756.tar.bz2
some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
SVN-Revision: 6648
Diffstat (limited to 'include')
-rw-r--r--include/kernel-build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 3193e9d..b2837d1 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -220,6 +220,7 @@ confname=$(subst .,_,$(subst -,_,$(1)))
define Profile
$(eval $(call Profile/Default))
$(eval $(call Profile/$(1)))
+ $(eval $(call shexport,Profile/$(1)/Config))
$(eval $(call shexport,Profile/$(1)/Description))
DUMPINFO += \
echo "Target-Profile: $(1)"; \
@@ -228,6 +229,9 @@ define Profile
if [ -f ./config/profile-$(1) ]; then \
echo "Target-Profile-Kconfig: yes"; \
fi; \
+ echo "Target-Profile-Config: "; \
+ getvar "$(call shvar,Profile/$(1)/Config)"; \
+ echo "@@"; \
echo "Target-Profile-Description:"; \
getvar "$(call shvar,Profile/$(1)/Description)"; \
echo "@@"; \