Cross-building FreeBSD core...
Chris Ross
cross+freebsd at distal.com
Mon Jun 9 18:58:00 UTC 2014
On Jun 9, 2014, at 14:50, Brooks Davis <brooks at freebsd.org> wrote:
>> I don't know if it's still the case, but MAKEOBJDIRPREFIX used to have to be
>> set before calling make, ie something more like:
>> env MAKEOBJDIRPREFIX=/home/cross/obj.amd64 make buildworld TARGET=amd64
>> TARGET_ARCH=amd64
>
> It is. Setting MAKEOBJDIRPREFIX as a make argument means it can't be
> changed and apparently that ability is used somewhere in the bootstrap
> process. The symptoms are bizzare and you end up with a cross built
> make_keys in the native tools path.
>
> Adding a seatbelt to detect this case and fail is on my todo list.
Excellent. Thank you fellows very much. I will re-run with that variable in my
environment. Thanks for the info!
- Chris
More information about the freebsd-stable
mailing list