Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2017 14:30:17 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   Re: r325288: Changed OBJDIR paths /usr/obj[/amd64.amd64]/usr/src -> /usr/obj/usr/src/amd64.amd64/ (always target now)
Message-ID:  <47fc884b-e434-1429-8863-200dfb7af250@FreeBSD.org>
In-Reply-To: <30be440c-4174-ef64-9231-16b1fcb8f09f@FreeBSD.org>
References:  <30be440c-4174-ef64-9231-16b1fcb8f09f@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--NmNI2lVEfbBnbSPQDbs5QCDJAcSFeEroO
Content-Type: multipart/mixed; boundary="rqwEFUngcoCJfRXaktdKUfgPWWAcENjeC";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: current@FreeBSD.org
Message-ID: <47fc884b-e434-1429-8863-200dfb7af250@FreeBSD.org>
Subject: Re: r325288: Changed OBJDIR paths /usr/obj[/amd64.amd64]/usr/src ->
 /usr/obj/usr/src/amd64.amd64/ (always target now)
References: <30be440c-4174-ef64-9231-16b1fcb8f09f@FreeBSD.org>
In-Reply-To: <30be440c-4174-ef64-9231-16b1fcb8f09f@FreeBSD.org>

--rqwEFUngcoCJfRXaktdKUfgPWWAcENjeC
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 11/1/2017 2:28 PM, Bryan Drewery wrote:
> FYI after r325288 the OBJDIR path used has changed to:
>     MAKEOBJDIRPREFIX/SRCTOP/TARGET.TARGET_ARCH/RELDIR.
>=20
> Meaning something like this:
>     /usr/obj/usr/src/amd64.amd64/bin/sh
>=20
> This pattern is used for cross, native, and sub-directory builds.
> You can try moving your old object directories to the new paths or just=

> remove them.  META_MODE users may not rename the old directories, they
> need to just be removed due to changed build commands due to use of
> absolute OBJDIRS in the build (which I have opened review D12839 to
> address later).
>=20
> This can be disabled with WITHOUT_UNIFIED_OBJDIR=3Dyes in
> /etc/src-env.conf (not /etc/src.conf), but the option is planned to be
> removed for 12.0 release.
>=20

I forgot to mention that I've also added a 'make cleanuniverse' which
does what it sounds like.  Cleans up after a 'make universe' or 'make
tinderbox' (it removes all objects built from the source directory).
This is much simpler now with this pattern.

--=20
Regards,
Bryan Drewery


--rqwEFUngcoCJfRXaktdKUfgPWWAcENjeC--

--NmNI2lVEfbBnbSPQDbs5QCDJAcSFeEroO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJZ+jzqAAoJEDXXcbtuRpfPU+8H/0zwfMpApBg9HDMAjK1X7pb/
+I2Y68aJMj9YET0GQzN2X12I/E2ePd1cJJWn7Wxf9uit+arr8MmQdihIqk9x644B
R4Ci6ubeXMYX6TwvXNmMqqx1ydnqTua1+iZq0InbPsCx80bGawL4x5tAM/7TuZ5j
hHyix2pmG6eYGiI8TBoxV1Uw2pB1vqdDqFZXtjAcE3TQLlG1o7eBshPntBJPd0Qs
luGJd9tc2J0U3fUpfj+SESbEMHjKeRaLWPPIEWRL2+vFmPG+dDhKqiPaaE88Vz5j
XhQg+vn3pkp+Pxpcfo952iA4i/8wz880//1uJVMnVIMuAb6MiIO2tBHSCz91RNs=
=CAIX
-----END PGP SIGNATURE-----

--NmNI2lVEfbBnbSPQDbs5QCDJAcSFeEroO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47fc884b-e434-1429-8863-200dfb7af250>