Page MenuHomeFreeBSD

native-xtools: Override proper NXBDESTDIR.
ClosedPublic

Authored by bdrewery on Oct 24 2017, 11:02 PM.
Tags
None
Referenced Files
F106142180: D12782.diff
Thu, Dec 26, 2:29 AM
Unknown Object (File)
Mon, Dec 9, 1:43 PM
Unknown Object (File)
Wed, Dec 4, 2:20 AM
Unknown Object (File)
Oct 9 2024, 8:05 PM
Unknown Object (File)
Oct 2 2024, 7:56 AM
Unknown Object (File)
Oct 2 2024, 7:55 AM
Unknown Object (File)
Oct 2 2024, 7:55 AM
Unknown Object (File)
Oct 2 2024, 7:45 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.