mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Only install gcc-or1k-bin package when building images with crust-firmware support
This commit is contained in:
@@ -9,8 +9,10 @@ function add_host_dependencies__sunxi_add_32_bit_c_compiler() {
|
||||
|
||||
# Install gcc-or1k-elf for crust compilation
|
||||
function add_host_dependencies__sunxi_add_or1k_c_compiler() {
|
||||
display_alert "Adding or1k C compiler to host dependencies" "for sunxi bootloader compile" "debug"
|
||||
declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} gcc-or1k-elf"
|
||||
if [[ -n "$HOSTRELEASE" && "bookworm sid jammy kinetic lunar vanessa vera" == *"$HOSTRELEASE"* ]] ; then
|
||||
display_alert "Adding or1k C compiler to host dependencies" "for sunxi bootloader compile" "debug"
|
||||
declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} gcc-or1k-elf"
|
||||
fi
|
||||
}
|
||||
|
||||
function fetch_sources_tools__sunxi_tools() {
|
||||
|
||||
Reference in New Issue
Block a user