Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 16:01:40 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Roger Pau =?us-ascii?Q?=3D=3Fiso-8859-1=3FQ=3FMonn=3DE9=3F=3D?= <roger.pau@citrix.com>
Cc:        <freebsd-current@freebsd.org>, <sjg@juniper.net>
Subject:   Re: buildworld not working with MAKEOBJDIRPREFIX
Message-ID:  <55605.1494975700@kaos.jnpr.net>
In-Reply-To: <20170516083911.agudcf7m62xiyhui@dhcp-3-128.uk.xensource.com>
References:  <20170516083911.agudcf7m62xiyhui@dhcp-3-128.uk.xensource.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Roger Pau Monn=C3=A9 <roger.pau@citrix.com> wrote:
> $ cd /home/royger/buildjob/freebsd
> $ make -j30 buildworld MAKEOBJDIRPREFIX=3D/home/royger/buildjob/obj/

That will not work as desired.

When you set VAR=3Dval 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=3D/home/royger/buildjob/obj/ make -j30 buildworld=20

or for csh users;

env MAKEOBJDIRPREFIX=3D/home/royger/buildjob/obj/ make -j30 buildworld

provides the same value via the environment, this leaves the makefiles
able to do as they will.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55605.1494975700>