Re: buildworld not working with MAKEOBJDIRPREFIX

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Tue, 16 May 2017 16:01:40 -0700
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.
Received on Tue May 16 2017 - 21:01:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC