diff mbox

[2/2] kconfig: ensure we use proper CONFIG_ prefix

Message ID 6a9a981154fd1f3e05f2098eb7bbe5d658cc0e40.1356041188.git.yann.morin.1998@free.fr (mailing list archive)
State New, archived
Headers show

Commit Message

Yann E. MORIN Dec. 20, 2012, 10:08 p.m. UTC
Now 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.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 5be2ee8..fe20913a 100644
--- a/Makefile
+++ b/Makefile
@@ -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; \