buildworld not working with MAKEOBJDIRPREFIX
Simon J. Gerraty
sjg at juniper.net
Tue May 16 23:01:56 UTC 2017
Roger Pau Monné <roger.pau at citrix.com> wrote:
> $ cd /home/royger/buildjob/freebsd
> $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/
That will not work as desired.
When you set VAR=val as an argument to make,
it overrides anything the makefiles want to do
and there are a number of points where the top level makefiles want to
play with MAKEOBJDIRPREFIX
By contrast;
MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld
or for csh users;
env MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld
provides the same value via the environment, this leaves the makefiles
able to do as they will.
More information about the freebsd-current
mailing list