Build Gentoo stages leveraging crossdev
- Build and assemble packages to a stage1 catalyst can leverage
- Update a compatible stage3 image
- Build opensbi + u-boot images and linux kernel + modules
- Assemble bootable images
- riscv64 (OrangePi RV2)
# Needed to build all the stages
emerge crossdev merge-usr git
# Needed to build the bootloader and kernel
emerge u-boot-tools dtc dracut busybox
# Needed to investigate the image
emerge bubblewrap
# Needed to assemble the whole image
emerge genimage xz-utilscrossdev requires a minimum amount of setup:
emerge app-eselect/eselect-repository
eselect repository create crossdev
- Some packages are cross-compilation unfriendly and rely on runtime checks (e.g. git iconv checks)