Re: kconfig (gkc): patch & help about Makefile

Sam Ravnborg (sam@ravnborg.org)
Fri, 29 Nov 2002 23:25:43 +0100


On Fri, Nov 29, 2002 at 10:48:02PM +0100, Romain Lievin wrote:
>
> Nevertheless, I have a small problem: I did not manage to use gcc rather than
> g++ in the Makefile.

ifeq ($(MAKECMDGOALS),$(obj)/gkc)
gkc-objs := kconfig_load.o
gkc-cxxobjs := gconf.o
endif

In this part you tell kbuild that gconf.o is made from a .cc file
[implying C++] and g++ will be used.

If your gconf.cc really is a C-file (looks like it) then you only
need one line:
gkc-objs := gconf.o kconfig_load.o

But then you need to rename gconf.cc to gconf.c as well.

I tried to apply your patch, but it failed because I did
not have 'pkg-config'. I guess I need some GTK developer kit?

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/