Date: Fri, 23 Jun 2017 11:28:20 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Guy Yur <guyyur@gmail.com>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: compiler-metadata.mk for main arch deleted when crossbuilding Message-ID: <e70ef34b-4a82-d15a-ef71-968b8c0bdeca@FreeBSD.org> In-Reply-To: <CAC67Hz9R6zsQCUu2N9OO6U3yQNkR6yHxjfa7aJSvWAvUssWoAw@mail.gmail.com> References: <CAC67Hz9R6zsQCUu2N9OO6U3yQNkR6yHxjfa7aJSvWAvUssWoAw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jHSHnu3BGbdrg9xdjS9wba4SRBlNbFGSW Content-Type: multipart/mixed; boundary="3og1IrrA8vQDmhI6F5TVa2mjfcBo0h3Lx"; protected-headers="v1" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Guy Yur <guyyur@gmail.com>, freebsd-current <freebsd-current@freebsd.org> Message-ID: <e70ef34b-4a82-d15a-ef71-968b8c0bdeca@FreeBSD.org> Subject: Re: compiler-metadata.mk for main arch deleted when crossbuilding References: <CAC67Hz9R6zsQCUu2N9OO6U3yQNkR6yHxjfa7aJSvWAvUssWoAw@mail.gmail.com> In-Reply-To: <CAC67Hz9R6zsQCUu2N9OO6U3yQNkR6yHxjfa7aJSvWAvUssWoAw@mail.gmail.com> --3og1IrrA8vQDmhI6F5TVa2mjfcBo0h3Lx Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/23/2017 11:00 AM, Guy Yur wrote: > Hi Bryan, >=20 > I use a script for building both amd64 and armv6 on an amd64 machine. > Basically, > export TARGET=3Damd64 TARGET_ARCH=3Damd64 > make -j2 -DNO_CLEAN buildworld > export TARGET=3Darm TARGET_ARCH=3Darmv6 > make -j2 -DNO_CLEAN buildworld >=20 > 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 >=20 > If I rebuild just amd64 I get /usr/obj/usr/src/compiler-metadata.mk aga= in. >=20 > Does _cross-tools target's "@rm -f ${.OBJDIR}/compiler-metadata.mk" > not respect TARGET and TARGET_ARCH? >=20 Yes, it is fixed now in r320286. Thanks for the report! --=20 Regards, Bryan Drewery --3og1IrrA8vQDmhI6F5TVa2mjfcBo0h3Lx-- --jHSHnu3BGbdrg9xdjS9wba4SRBlNbFGSW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZTV3EAAoJEDXXcbtuRpfP/zYIAN4J7blrLYv1l9uLgKuR3VDK 9Tn4SUbAl6cNPE+RYYC4LFgqNJkiQ8VeGDARyyrg4iaxXmZhysBaxURM7AgAC/X9 56ebXAWV6zgQG7XyzGqmBuc6bB+VIuyvAztZAxDha0Cnew8HOlCioQvQABIgNwfe 8RjTC8mvoq3xc4W+Jo9t7fDXJ1balN3zHTzGNtQ695AJVURrpcBYwhQ0Y/hNOVNi fZYG653FpSBbUyusl63/BWb3zpv9y/sGe2D1G23kHnEv25dRuBrBkyzugLUV7eTx xngtp6yJyVrJOvzV9ESYZJn2SyZri/nmRV0xix508z2Ln7IT+7qY0OXuApCOE3Y= =WtCx -----END PGP SIGNATURE----- --jHSHnu3BGbdrg9xdjS9wba4SRBlNbFGSW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e70ef34b-4a82-d15a-ef71-968b8c0bdeca>