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)
Sun, Oct 12, 6:22 AM
Unknown Object (File)
Fri, Oct 3, 7:54 AM
Unknown Object (File)
Mon, Sep 29, 3:04 PM
Unknown Object (File)
Sat, Sep 27, 12:49 PM
Unknown Object (File)
Fri, Sep 26, 4:00 AM
Unknown Object (File)
Tue, Sep 23, 11:42 PM
Unknown Object (File)
Tue, Sep 23, 11:32 PM
Unknown Object (File)
Sat, Sep 20, 5:08 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.