compiler-metadata.mk for main arch deleted when crossbuilding

From: Guy Yur <guyyur_at_gmail.com>
Date: Fri, 23 Jun 2017 21:00:44 +0300
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 "_at_rm -f ${.OBJDIR}/compiler-metadata.mk"
not respect TARGET and TARGET_ARCH?

Thanks,
Guy
Received on Fri Jun 23 2017 - 16:00:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC