diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2011-06-01 16:14:47 -0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2011-06-06 15:32:20 -0400 |
commit | 5a6f8d2bd9e3392569ed6f29ea4d7210652f929b (patch) | |
tree | 46d91ac276ed7ac643227e665adb3267a30739b9 /scripts/kconfig/Makefile | |
parent | 84250386efa581fdf5578b68b9dd6b79998ac48d (diff) |
kconfig: nuke LKC_DIRECT_LINK cruft
This interface is not (and has never been ?) used by any frontend, just get rid
of it.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Diffstat (limited to 'scripts/kconfig/Makefile')
-rw-r--r-- | scripts/kconfig/Makefile | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index faa9a4701b6f..0460ac3b3588 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile | |||
@@ -170,8 +170,8 @@ mconf-objs := mconf.o zconf.tab.o $(lxdialog) | |||
170 | nconf-objs := nconf.o zconf.tab.o nconf.gui.o | 170 | nconf-objs := nconf.o zconf.tab.o nconf.gui.o |
171 | kxgettext-objs := kxgettext.o zconf.tab.o | 171 | kxgettext-objs := kxgettext.o zconf.tab.o |
172 | qconf-cxxobjs := qconf.o | 172 | qconf-cxxobjs := qconf.o |
173 | qconf-objs := kconfig_load.o zconf.tab.o | 173 | qconf-objs := zconf.tab.o |
174 | gconf-objs := gconf.o kconfig_load.o zconf.tab.o | 174 | gconf-objs := gconf.o zconf.tab.o |
175 | 175 | ||
176 | hostprogs-y := conf | 176 | hostprogs-y := conf |
177 | 177 | ||
@@ -203,7 +203,7 @@ ifeq ($(gconf-target),1) | |||
203 | hostprogs-y += gconf | 203 | hostprogs-y += gconf |
204 | endif | 204 | endif |
205 | 205 | ||
206 | clean-files := lkc_defs.h qconf.moc .tmp_qtcheck .tmp_gtkcheck | 206 | clean-files := qconf.moc .tmp_qtcheck .tmp_gtkcheck |
207 | clean-files += zconf.tab.c lex.zconf.c zconf.hash.c gconf.glade.h | 207 | clean-files += zconf.tab.c lex.zconf.c zconf.hash.c gconf.glade.h |
208 | clean-files += mconf qconf gconf nconf | 208 | clean-files += mconf qconf gconf nconf |
209 | clean-files += config.pot linux.pot | 209 | clean-files += config.pot linux.pot |
@@ -223,12 +223,11 @@ HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCC) | |||
223 | HOSTCFLAGS_lex.zconf.o := -I$(src) | 223 | HOSTCFLAGS_lex.zconf.o := -I$(src) |
224 | HOSTCFLAGS_zconf.tab.o := -I$(src) | 224 | HOSTCFLAGS_zconf.tab.o := -I$(src) |
225 | 225 | ||
226 | HOSTLOADLIBES_qconf = $(KC_QT_LIBS) -ldl | 226 | HOSTLOADLIBES_qconf = $(KC_QT_LIBS) |
227 | HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) -D LKC_DIRECT_LINK | 227 | HOSTCXXFLAGS_qconf.o = $(KC_QT_CFLAGS) |
228 | 228 | ||
229 | HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` -ldl | 229 | HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` |
230 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ | 230 | HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` |
231 | -D LKC_DIRECT_LINK | ||
232 | 231 | ||
233 | HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) | 232 | HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) |
234 | 233 | ||
@@ -318,18 +317,11 @@ endif | |||
318 | 317 | ||
319 | $(obj)/zconf.tab.o: $(obj)/lex.zconf.c $(obj)/zconf.hash.c | 318 | $(obj)/zconf.tab.o: $(obj)/lex.zconf.c $(obj)/zconf.hash.c |
320 | 319 | ||
321 | $(obj)/kconfig_load.o: $(obj)/lkc_defs.h | 320 | $(obj)/qconf.o: $(obj)/qconf.moc |
322 | |||
323 | $(obj)/qconf.o: $(obj)/qconf.moc $(obj)/lkc_defs.h | ||
324 | |||
325 | $(obj)/gconf.o: $(obj)/lkc_defs.h | ||
326 | 321 | ||
327 | $(obj)/%.moc: $(src)/%.h | 322 | $(obj)/%.moc: $(src)/%.h |
328 | $(KC_QT_MOC) -i $< -o $@ | 323 | $(KC_QT_MOC) -i $< -o $@ |
329 | 324 | ||
330 | $(obj)/lkc_defs.h: $(src)/lkc_proto.h | ||
331 | $(Q)sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/' | ||
332 | |||
333 | # Extract gconf menu items for I18N support | 325 | # Extract gconf menu items for I18N support |
334 | $(obj)/gconf.glade.h: $(obj)/gconf.glade | 326 | $(obj)/gconf.glade.h: $(obj)/gconf.glade |
335 | $(Q)intltool-extract --type=gettext/glade --srcdir=$(srctree) \ | 327 | $(Q)intltool-extract --type=gettext/glade --srcdir=$(srctree) \ |