Page MenuHomeFreeBSD

native-xtools: Override proper NXBDESTDIR.
ClosedPublic

Authored by bdrewery on Oct 24 2017, 11:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 12:24 AM
Unknown Object (File)
Sat, Apr 27, 12:20 AM
Unknown Object (File)
Sat, Apr 27, 12:16 AM
Unknown Object (File)
Fri, Apr 26, 10:22 PM
Unknown Object (File)
Feb 4 2024, 10:31 AM
Unknown Object (File)
Dec 20 2023, 4:02 AM
Unknown Object (File)
Aug 1 2023, 4:43 PM
Unknown Object (File)
Aug 1 2023, 4:41 PM
Subscribers
None

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I believe this is fine. I need to do a full pass on all the changes to the build system by making all the images that used to work and testing them end-to-end on real hardware.

This revision was automatically updated to reflect the committed changes.

I am going to revert this. I am adding a native-xtools-install and will pass in DESTDIR for it. This case is a bit unclear to me though. Did you intend to have the files installed in DESTDIR/usr/bin/* or DESTDIR/nxb-bin/usr/bin/* ?

I am going to revert this. I am adding a native-xtools-install and will pass in DESTDIR for it. This case is a bit unclear to me though. Did you intend to have the files installed in DESTDIR/usr/bin/* or DESTDIR/nxb-bin/usr/bin/* ?

The intention was a separate tree, so the latter.

I am going to revert this. I am adding a native-xtools-install and will pass in DESTDIR for it. This case is a bit unclear to me though. Did you intend to have the files installed in DESTDIR/usr/bin/* or DESTDIR/nxb-bin/usr/bin/* ?

By revert I m

In D12782#266474, @imp wrote:

I am going to revert this. I am adding a native-xtools-install and will pass in DESTDIR for it. This case is a bit unclear to me though. Did you intend to have the files installed in DESTDIR/usr/bin/* or DESTDIR/nxb-bin/usr/bin/* ?

The intention was a separate tree, so the latter.

K fixed in rS325163.