hello Sam,
On Wed, Sep 08, 2010 at 09:09:57PM +0200, Sam Ravnborg wrote:
> On Wed, Sep 08, 2010 at 06:20:17PM +0200, maximilian attems wrote:
<snipp>
> >
> > so compiling klibc with
> > make KLIBCKERNELSRC=`pwd`/../linux-2.6 EXTRA_KLIBCCFLAGS="-DDEBUG=1 " V=1
> >
> > is either wrong or the klibc Kbuild is buggy as it undefines the Kbuild
> > specific entries in the subdirs.
>
> It is wrong...
> When you specify an variable on the commandline like in this
> case you do with EXTRA_KLIBCCFLAGS=... then make will use the value
> you assign to the variable rather than the value that is assigned
> in the makefile.
>
> So you actually overwrite the variable EXTRA_KLIBCCFLAGS, where you
> expected to append to it.
indeed thanks for the explanations.
> I took a quick look at the kbuild stuff in klibc - and
> there does not seem to be any way to pass extra flags on the commandline.
>
> Except that you can say:
>
> make CC="gcc -DDEBUG=1"
>
> But I did not test this.
this works indeed, thanks for the hint. :)
--
maks
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[LARTC]
[Bugtraq]
[Yosemite Forum]
[Photo]