Page MenuHomeFreeBSD

crossbuild: don't assume <bsd.compiler.mk> always exists
ClosedPublic

Authored by arichardson on Feb 7 2018, 1:11 PM.
Tags
None
Referenced Files
F131791984: D14241.diff
Sat, Oct 11, 5:02 AM
Unknown Object (File)
Sat, Sep 27, 11:12 PM
Unknown Object (File)
Sat, Sep 13, 5:16 AM
Unknown Object (File)
Sat, Sep 13, 3:52 AM
Unknown Object (File)
Sep 10 2025, 3:57 AM
Unknown Object (File)
Aug 16 2025, 5:34 AM
Unknown Object (File)
Aug 15 2025, 12:51 AM
Unknown Object (File)
Jul 9 2025, 10:26 PM
Subscribers
None

Details

Summary

When crossbuilding e.g. from a Linux system it is not shipped as part of
bmake and will cause the build to fail. I am not sure if it needs to be
included by the toplevel makefile in order for ccache builds to work since
I haven't tested that yet on Linux/Mac.

Another way of solving this could be to required that cross os builds
always set -m $SRCDIR/share/mk but it seems to me like this small change
is simpler.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14840
Build 14955: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 7 2018, 4:28 PM
This revision was automatically updated to reflect the committed changes.

I went to add comments to both these locations about why we do odd things with them, and found myself just pulling in the commit to the main tree in r328975. So this review might close automatically.