Re: Is running cross-build on usb drive possible?

Valery Seys <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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?
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "[email protected]"
> 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.