]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
native-xtools: Override proper NXBDESTDIR.
authorbdrewery <bdrewery@FreeBSD.org>
Wed, 25 Oct 2017 21:46:33 +0000 (21:46 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Wed, 25 Oct 2017 21:46:33 +0000 (21:46 +0000)
commitd09b0660c02c374ec7805ee5045bcdb7997192ca
treefe36263cc64e618ffedf767e25458d745af0d9b3
parentb75bb8d0cb29e940573a9dd99fee1cf2c0b84ad8
native-xtools: Override proper NXBDESTDIR.

The new native-xtools uses 'make toolchain' so overriding DESTDIR
as a make argument may interfere with WORLDTMP handling.
The target also does a 'mkdir -p ${NXBDESTDIR}/usr', so we should
be modifying that rather than DESTDIR.

Note this causes the native-xtools binaries to be installed in
NANO_WORLDDIR/usr NANO_WORLDDIR/bin rather than NANO_WORLDDIR/nxb-bin/usr
and NANO_WORLDDIR/nxb-bin/bin.  This was the case before this change
as well.

MFC after: 2 weeks
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D12782
tools/tools/nanobsd/defaults.sh