compiler-metadata.mk for main arch deleted when crossbuilding

Bryan Drewery bdrewery at FreeBSD.org
Fri Jun 23 18:28:21 UTC 2017


On 6/23/2017 11:00 AM, Guy Yur wrote:
> Hi Bryan,
> 
> I use a script for building both amd64 and armv6 on an amd64 machine.
> Basically,
> export TARGET=amd64 TARGET_ARCH=amd64
> make -j2 -DNO_CLEAN buildworld
> export TARGET=arm TARGET_ARCH=armv6
> make -j2 -DNO_CLEAN buildworld
> 
> The amd64 build creates /usr/obj/usr/src/compiler-metadata.mk
> The armv6 build deletes it and creates
> /usr/obj/arm.armv6/usr/src/compiler-metadata.mk
> 
> If I rebuild just amd64 I get /usr/obj/usr/src/compiler-metadata.mk again.
> 
> Does _cross-tools target's "@rm -f ${.OBJDIR}/compiler-metadata.mk"
> not respect TARGET and TARGET_ARCH?
> 

Yes, it is fixed now in r320286. Thanks for the report!


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170623/68c425ca/attachment.sig>


More information about the freebsd-current mailing list