Browse Source

scripts/kconfig: ensure we use proper CONFIG_ prefix

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 CONFIG_ to fallback to our hard-coded default.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Yann E. MORIN 12 years ago
parent
commit
c2838e6ee2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      scripts/kconfig/Makefile

+ 3 - 0
scripts/kconfig/Makefile

@@ -11,6 +11,9 @@ else
 Kconfig := Kconfig
 endif
 
+# We need this, in case the user has it in its environment
+unexport CONFIG_
+
 xconfig: $(obj)/qconf
 	$< $(Kconfig)