Skip to content

Commit

Permalink
scripts/kconfig: ensure we use proper CONFIG_ prefix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yann E. MORIN authored and Michal Marek committed Dec 20, 2012
1 parent 409f117 commit c2838e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/kconfig/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c2838e6

Please sign in to comment.