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/ _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en