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

Peter Lemenkov lemenkov at gmail.com
Mon Jan 18 13:38:04 CET 2016

2016-01-18 13:12 GMT+01:00 Segher Boessenkool <segher at kernel.crashing.org>:

>> > 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?
>> Unfortunately this DESTDIR trick won't work. Explicitly stated
>> variables from the Makefile itself have preference over the
>> environment variables unless they stated with "?=". At least this is
>> how GNU make works.
> But this is *not* an environment variable!

Yes, sorry. Anyway we can't override Makefile-variables that way
unless we allow it.

With best regards, Peter Lemenkov.

More information about the OpenBIOS mailing list