2016-01-18 13:12 GMT+01:00 Segher Boessenkool segher@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.