summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/Makefile
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-08-23 02:03:06 +0200
committerMichal Marek <mmarek@suse.cz>2010-08-26 13:59:43 +0200
commit9ba9568259f71bc848ac460bc616ce9640634693 (patch)
treedea606acd298e4172476497f01a8822adbe8b57e /scripts/kconfig/Makefile
parentkbuild: fix typo (diff)
downloadlinux-9ba9568259f71bc848ac460bc616ce9640634693.tar.xz
linux-9ba9568259f71bc848ac460bc616ce9640634693.zip
kbuild: don't overwrite HOST_EXTRACFLAGS
This might be used by the user to specify extra arguments for the host compiler. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to '')
-rw-r--r--scripts/kconfig/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 7522a8bc0553..06c1c2f80bb7 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -145,10 +145,8 @@ check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh
# Use recursively expanded variables so we do not call gcc unless
# we really need to do so. (Do not call gcc as part of make mrproper)
-HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)
-
-HOST_EXTRACFLAGS += -DLOCALE
-
+HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) \
+ -DLOCALE
# ===========================================================================
# Shared Makefile for the various kconfig executables: