Jump to content

[Armbian build PR] - Only install gcc-or1k-bin package when building images with crust-firmware


Recommended Posts

Posted

Description

Instead of requesting to install gcc-or1k-bin package unconditionally, request it only when building images with crust support. Also consolidated crust related configuration into a separate file.

Jira reference number AR-1786

How Has This Been Tested?

  • [X] ./compile.sh DOCKER_ARMBIAN_BASE_IMAGE="debian:bullseye" BOARD=nanopineo works as it doesn't need crust support
  • [X] ./compile.sh DOCKER_ARMBIAN_BASE_IMAGE="debian:bullseye" BOARD=nanopiduo2 fails as it bullseye doesn't include gcc-or1k-bin package and hence reported as unsupported system
  • [X] ./compile.sh BOARD=nanopiduo2 works as default release is jammy that has the required package

Checklist:

  • [X] My code follows the style guidelines of this project
  • [X] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines