Fwd: TEST build ERRORS: kernel-vanilla.spec

Jakub Bogusz qboosh at pld-linux.org
Wed May 7 23:56:49 CEST 2008


On Thu, May 08, 2008 at 12:18:52AM +0300, Elan Ruusamäe wrote:
> On Tuesday 06 May 2008 09:07, Elan Ruusamäe wrote:
> > any suggestions how to fix?
> 
> options i see:
> 1. do not define HOSTCFLAGS on ppc
> 2. include '-I$(src)/dtc-src/ -I$(src)/libfdt/' in spec HOSTCFLAGS
> 3. use some other variable than HOSTCFLAGS to pass host cflags (!)
> 
> anyway, why the += doesn't have effect in Makefile?

Depends on the way particular variable is passed to make.
If passed through environment, += works.
If passed as make argument, it overrides all = and += statements from
makefiles. In turn "override VARIABLE+=..." statement in makefile is
stronger.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list