Re: Is running cross-build on usb drive possible?
Warner Losh <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <CANCZdfpuh1v9-gKApKTDpLLenpaogt9puhWRg4s+8+Ugamk6oA@mail.gmail.com> |
On Sat, Apr 3, 2021 at 8:37 AM Andrew Mitchell via freebsd-arm < [email protected]> 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? TARGET/TARGET_ARCH need to be specified every make, regardless of the target, when cross building. The different arch go in different directories. Warner _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"