bsd.obj.mk does not set CANONICALOBJDIR correctly when TARGET_ARCH and MAKEOBJDIRPREFIX are set

Doug Barton dougb at FreeBSD.org
Sun Jan 4 21:36:59 UTC 2009


Ruslan Ermilov wrote:
> mergemaster.sh uses "obj" and "all" targets which aren't cross-build
> aware (don't take ${TARGET} into account) to build etc/ bits, and then
> "distribution" target (which is cross-build aware) to install then.
> The effect of this is that you end up with "build" and "install" targets
> having different ideas of MAKEOBJDIRPREFIX.  The fix is to use cross-aware
> versions of "obj" and "all" targets:

Thanks for responding. I was working on this the other day and
discovered that the reason my suggested change "worked" was really an
unintended side effect. Your suggestion works great, so I've committed it.

Doug

-- 

    This .signature sanitized for your protection



More information about the freebsd-hackers mailing list