diff options
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index a96153fc793f..5760e057ecba 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -11,7 +11,7 @@ gconfig: $(obj)/gconf | |||
11 | $< arch/$(ARCH)/Kconfig | 11 | $< arch/$(ARCH)/Kconfig |
12 | 12 | ||
13 | menuconfig: $(obj)/mconf | 13 | menuconfig: $(obj)/mconf |
14 | $(Q)$(MAKE) $(build)=scripts/lxdialog | 14 | $(Q)$(MAKE) $(build)=scripts/kconfig/lxdialog |
15 | $< arch/$(ARCH)/Kconfig | 15 | $< arch/$(ARCH)/Kconfig |
16 | 16 | ||
17 | config: $(obj)/conf | 17 | config: $(obj)/conf |
@@ -115,6 +115,7 @@ endif | |||
115 | 115 | ||
116 | clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ | 116 | clean-files := lkc_defs.h qconf.moc .tmp_qtcheck \ |
117 | .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c | 117 | .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c |
118 | subdir- += lxdialog | ||
118 | 119 | ||
119 | # Needed for systems without gettext | 120 | # Needed for systems without gettext |
120 | KBUILD_HAVE_NLS := $(shell \ | 121 | KBUILD_HAVE_NLS := $(shell \ |
@@ -132,8 +133,8 @@ HOSTCFLAGS_zconf.tab.o := -I$(src) | |||
132 | HOSTLOADLIBES_qconf = $(KC_QT_LIBS) -ldl | 133 | HOSTLOADLIBES_qconf = $(KC_QT_LIBS) -ldl |
133 | HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) -D LKC_DIRECT_LINK | 134 | HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) -D LKC_DIRECT_LINK |
134 | 135 | ||
135 | HOSTLOADLIBES_gconf = `pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --libs` | 136 | HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` |
136 | HOSTCFLAGS_gconf.o = `pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --cflags` \ | 137 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ |
137 | -D LKC_DIRECT_LINK | 138 | -D LKC_DIRECT_LINK |
138 | 139 | ||
139 | $(obj)/qconf.o: $(obj)/.tmp_qtcheck | 140 | $(obj)/qconf.o: $(obj)/.tmp_qtcheck |
@@ -192,8 +193,8 @@ ifeq ($(gconf-target),1) | |||
192 | 193 | ||
193 | # GTK needs some extra effort, too... | 194 | # GTK needs some extra effort, too... |
194 | $(obj)/.tmp_gtkcheck: | 195 | $(obj)/.tmp_gtkcheck: |
195 | @if `pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0 --exists`; then \ | 196 | @if `pkg-config --exists gtk+-2.0 gmodule-2.0 libglade-2.0`; then \ |
196 | if `pkg-config gtk+-2.0 --atleast-version=2.0.0`; then \ | 197 | if `pkg-config --atleast-version=2.0.0 gtk+-2.0`; then \ |
197 | touch $@; \ | 198 | touch $@; \ |
198 | else \ | 199 | else \ |
199 | echo "*"; \ | 200 | echo "*"; \ |