Date: Sat, 3 Apr 2021 16:58:25 +0200 From: Valery Seys <valery@vslash.com> To: Andrew Mitchell <andrew_mitchell_fr@icloud.com>, freebsd-arm@freebsd.org Subject: Re: Is running cross-build on usb drive possible? Message-ID: <266f1ca2-bf7f-720e-7df1-b81c13a46aa7@vslash.com> In-Reply-To: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com> References: <931D3371-AF57-40E4-83EC-0283463A8AA4@icloud.com>
next in thread | previous in thread | raw e-mail | index | archive | help
each time you call make, you specify its environment ; so for each target (build, install, ...), you specify and keep the same env. ; so, yes, you must specify TARGET_ARCH as previously used for building to the 'installworld' target. On 03/04/2021 14:37, Andrew Mitchell via freebsd-arm wrote: > I am trying to cross-build i386 src to my arm64. Everything seems ok, buildworld is in good progress. > I used: make TARGET_ARCH=arm64 buildworld. > > Next step, I'll make install. But I want this cross-built source tree on a USB drive. > I'll try: make DESTDIR=/mnt/usb/i386 installworld > > But one question remains: > Should I specify TARGET=arm64 with make install? > > Any clue? > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?266f1ca2-bf7f-720e-7df1-b81c13a46aa7>