瀏覽代碼

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 年之前
父節點
當前提交
c2838e6ee2
共有 1 個文件被更改,包括 3 次插入0 次删除
  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)