Pull request for branch yem-kconfig-rc-fixes
Subsystems (3)
Hello Michal, All!
Here are two patches for kconfig since we now can get the CONFIG_ prefix form an environment variable:
- document the use of that variable
- ensure we use 'CONFIG_' even if $CONFIG_ is set
Regards,
Yann E. MORIN
The following changes since commit 409f117e2d6b38d714ab26def840801e33dfe115:
merge_config.sh: Add option to specify output dir (2012-12-09 18:22:17 +0100)
are available in the git repository at:
git://gitorious.org/linux-kconfig/linux-kconfig.git yem-kconfig-rc-fixes
Yann E. MORIN (2):
kconfig: document use of CONFIG_ environement variable
kconfig: ensure we use proper CONFIG_ prefix
Documentation/kbuild/kconfig.txt | 6 ++++++ Makefile | 1 + 2 files changed, 7 insertions(+), 0 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/2 kconfig: document use of CONFIG_ environement variable
--- Documentation/kbuild/kconfig.txt | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
Documentation/kbuild/kconfig.txt +6 -0
@@ -46,6 +46,12 @@ KCONFIG_OVERWRITECONFIG If you set KCONFIG_OVERWRITECONFIG in the environment, Kconfig will not break symlinks when .config is a symlink to somewhere else. +CONFIG_ +-------------------------------------------------- +If you set CONFIG_ in the environment, Kconfig will prefix all symbols +with its value when saving the configuration, instead of using the default, +"CONFIG_". + ______________________________________________________________________ Environment variables for '{allyes/allmod/allno/rand}config'
Signature · 1 line
1.7.2.5
PATCH 2/2 kconfig: ensure we use proper CONFIG_ prefix
In reply to Yann E. MORINNow that we get the CONFIG_ prefix from the environment, we must ensure we use the proper prefix in case the user has it set in the environment.
Simply unexport the CONFIG_ environment variable to fallback to our hard-coded default.
--- Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Makefile +1 -0
@@ -233,6 +233,7 @@ hdr-arch := $(SRCARCH) KCONFIG_CONFIG ?= .config export KCONFIG_CONFIG +unexport CONFIG_ # SHELL used by kbuild CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
Signature · 1 line
1.7.2.5