Allow CROSS to be set in environment in test subdirs, too.

Rich Felker dalias at aerifal.cx
Wed Aug 2 04:14:43 UTC 2006


On Tue, Aug 01, 2006 at 11:17:03AM +0000, Paul Brook wrote:
> > >  # Most people will set this stuff on the command line, i.e.
> > >  #        make CROSS=mipsel-linux-
> > >  # will build uClibc for 'mipsel'.
> > > +#
> > > +# You can set CROSS in the environment, too.
> > >
> > > +ifndef CROSS
> > >  CROSS      = $(subst ",, $(strip $(CROSS_COMPILER_PREFIX)))
> > > +endif
> >
> > Command line variables already override ones in the makefile...
> 
> Yes, but *environment* variables do not.

make -e

Rich




More information about the uClibc mailing list