Re: 2.6.0-test3-mm3

From: Sam Ravnborg
Date: Tue Aug 19 2003 - 09:51:07 EST


On Tue, Aug 19, 2003 at 03:23:50AM -0700, Andrew Morton wrote:
> > there's a problem with make xconfig:
The following patch fixes it.
I will submit to Linus in separate mail.

Sam

===== scripts/kconfig/Makefile 1.7 vs edited =====
--- 1.7/scripts/kconfig/Makefile Sun Aug 17 00:17:57 2003
+++ edited/scripts/kconfig/Makefile Tue Aug 19 16:27:03 2003
@@ -65,12 +65,20 @@
conf-objs := conf.o libkconfig.so
mconf-objs := mconf.o libkconfig.so

-ifeq ($(MAKECMDGOALS),$(obj)/qconf)
+ifeq ($(MAKECMDGOALS),xconfig)
+ qconf-target := 1
+endif
+ifeq ($(MAKECMDGOALS),gconfig)
+ gconf-target := 1
+endif
+
+
+ifeq ($(qconf-target),1)
qconf-cxxobjs := qconf.o
qconf-objs := kconfig_load.o
endif

-ifeq ($(MAKECMDGOALS),$(obj)/gconf)
+ifeq ($(gconf-target),1)
gconf-objs := gconf.o kconfig_load.o
endif

@@ -91,7 +99,7 @@

$(obj)/qconf.o: $(obj)/.tmp_qtcheck

-ifeq ($(MAKECMDGOALS),$(obj)/qconf)
+ifeq ($(qconf-target),1)
MOC = $(QTDIR)/bin/moc
-include $(obj)/.tmp_qtcheck

@@ -121,7 +129,7 @@

$(obj)/gconf.o: $(obj)/.tmp_gtkcheck

-ifeq ($(MAKECMDGOALS),$(obj)/gconf)
+ifeq ($(gconf-target),1)
-include $(obj)/.tmp_gtkcheck

# GTK needs some extra effort, too...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/