]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
scripts/kconfig: ensure we use proper CONFIG_ prefix
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 22 Nov 2012 00:06:04 +0000 (01:06 +0100)
committerMichal Marek <mmarek@suse.cz>
Thu, 20 Dec 2012 22:02:03 +0000 (23:02 +0100)
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>
scripts/kconfig/Makefile

index 3091794e935488c797e73207e6d0b82a7dbf99b4..231b4759c714dae5aa9034ef1365e1338cc3bb72 100644 (file)
@@ -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)