Re: cross toolchain for u-boot?

Valery Ushakov <[email protected]> Mon, 23 Sep 2024 15:59:16 +0300
Newsgroups gmane.os.netbsd.ports.sh3
Message-ID <[email protected]>
On Mon, Sep 23, 2024 at 20:48:51 +0800, Rui-Xiang Guo wrote:

> Is there any cross toolchain package that can be used to compile u-boot
> for sh3el?
> If one needs to be created, would it be appropriate to set the target
> as shle-none-elf?

I don't think we have anything readily available in pkgsrc, but
reusing netbsd's own cross-toolchan from $TOOLDIR might be an option.
Some very old notes of mine are here, they should still be mostly
relevant, I think: http://www.stderr.spb.ru/~uwe/netbsd/cross.html

If you want to create packages, just look at what cross/{arm,aarch64}*
do.

-uwe