sunxi-tools: bring in gcc-arm-linux-gnueabi hostdep required for building sunxi's boot stages

This commit is contained in:
Ricardo Pardini
2023-04-06 17:42:22 +02:00
parent 00793be73e
commit 6f57ba64b6

View File

@@ -1,4 +1,12 @@
#!/usr/bin/env bash
# Most sunxi stuff, even if 64-bit, requires 32-bit compiler, add it.
# This is only used for non-Docker, since the Docker image already has it, since it includes compilers for all architectures.
function add_host_dependencies__sunxi_add_32_bit_c_compiler() {
display_alert "Adding armhf C compiler to host dependencies" "for sunxi bootloader compile" "debug"
declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} gcc-arm-linux-gnueabi" # @TODO: convert to array later
}
function fetch_sources_tools__sunxi_tools() {
fetch_from_repo "https://github.com/linux-sunxi/sunxi-tools" "sunxi-tools" "branch:master"
}