mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6] GUI config targets fail with "make O=..."
@ 2003-11-01  0:14 Bryan O'Sullivan
  2003-11-01  7:31 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Bryan O'Sullivan @ 2003-11-01  0:14 UTC (permalink / raw)
  To: sam; +Cc: linux-kernel

Hi, Sam -

There's something in the 2.6 kbuild infrastructure that does some rather
wrong things for the gconfig and xconfig targets when object files
should go to a separate directory.

It looks like HOSTCXXFLAGS is being mangled somehow.  Here are the
interesting details:

make -C /home/bos/bk/kernel/key O=/tmp/build-i686-smp xconfig

This results in the following invocation of g++, which chokes:

g++ -Wp,-MD,scripts/kconfig/.qconf.o.d  -O2 \
	-I/home/bos/bk/kernel/key//usr/lib/qt-3.1/include \
	-c -o scripts/kconfig/qconf.o \
	/home/bos/bk/kernel/key/scripts/kconfig/qconf.cc

There are two problems here.  The first is the mangling of -I$(QTDIR) so
that it has a bizarre prefix.  The second is that -I$O/scripts/kconfig
is missing, so the compiler can't find the generated file lkc_defs.h
(which is generated correctly).

Any ideas on how to fix this?

	<b


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-01  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-01  0:14 [2.6] GUI config targets fail with "make O=..." Bryan O'Sullivan
2003-11-01  7:31 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®