[OpenBIOS] [PATCH 1/1] [FCODE-utils] Allow overriding more Makefile vars

Segher Boessenkool segher at kernel.crashing.org
Mon Jan 18 07:50:20 CET 2016


On Sun, Jan 17, 2016 at 11:13:20PM +0000, Mark Cave-Ayland wrote:
> > -DESTDIR = /usr/local
> > +DESTDIR ?= /usr/local

> Hi Peter,
> 
> Thanks for the patch! It looks reasonable to me - Segher, any thoughts?
> Otherwise I don't see any reason why this couldn't be applied to SVN trunk.

Hi all,

It probably works fine.  "?=" can be problematic with e.g. recursive
makefiles, but you don't have those here.

But why do you need it?  Why doesn't e.g.

	make DESTDIR=/opt/bla

work for you as-is?  Or do you need those vars to be passed in via the
environment?


Segher



More information about the OpenBIOS mailing list