Is running cross-build on usb drive possible?
Valery Seys
valery at vslash.com
Sat Apr 3 14:58:30 UTC 2021
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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>
More information about the freebsd-arm
mailing list