diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index de934def410f..7522a8bc0553 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -146,7 +146,6 @@ check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh | |||
146 | # Use recursively expanded variables so we do not call gcc unless | 146 | # Use recursively expanded variables so we do not call gcc unless |
147 | # we really need to do so. (Do not call gcc as part of make mrproper) | 147 | # we really need to do so. (Do not call gcc as part of make mrproper) |
148 | HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) | 148 | HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) |
149 | HOST_LOADLIBES = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) | ||
150 | 149 | ||
151 | HOST_EXTRACFLAGS += -DLOCALE | 150 | HOST_EXTRACFLAGS += -DLOCALE |
152 | 151 | ||
@@ -208,7 +207,7 @@ clean-files += config.pot linux.pot | |||
208 | PHONY += $(obj)/dochecklxdialog | 207 | PHONY += $(obj)/dochecklxdialog |
209 | $(addprefix $(obj)/,$(lxdialog)): $(obj)/dochecklxdialog | 208 | $(addprefix $(obj)/,$(lxdialog)): $(obj)/dochecklxdialog |
210 | $(obj)/dochecklxdialog: | 209 | $(obj)/dochecklxdialog: |
211 | $(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES) | 210 | $(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTLOADLIBES_mconf) |
212 | 211 | ||
213 | always := dochecklxdialog | 212 | always := dochecklxdialog |
214 | 213 | ||
@@ -226,6 +225,8 @@ HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` -ldl | |||
226 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ | 225 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ |
227 | -D LKC_DIRECT_LINK | 226 | -D LKC_DIRECT_LINK |
228 | 227 | ||
228 | HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) | ||
229 | |||
229 | HOSTLOADLIBES_nconf = -lmenu -lpanel -lncurses | 230 | HOSTLOADLIBES_nconf = -lmenu -lpanel -lncurses |
230 | $(obj)/qconf.o: $(obj)/.tmp_qtcheck | 231 | $(obj)/qconf.o: $(obj)/.tmp_qtcheck |
231 | 232 | ||