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)
Thu, Jun 26, 1:11 AM
Unknown Object (File)
Mon, Jun 16, 1:00 PM
Unknown Object (File)
Sun, Jun 15, 7:54 AM
Unknown Object (File)
Tue, Jun 10, 9:56 PM
Unknown Object (File)
Sun, Jun 8, 8:22 PM
Unknown Object (File)
Jun 1 2025, 11:05 AM
Unknown Object (File)
May 24 2025, 1:00 AM
Unknown Object (File)
May 18 2025, 8:29 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12213
Build 12509: arc lint + arc unit

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.