mvebu64: force inclusion of gcc-arm-linux-gnueabi 32-bit C compiler for mvebu64 non-Docker compile

This commit is contained in:
Ricardo Pardini
2023-03-09 16:54:49 -03:00
parent df75158eb3
commit 17023a2336

View File

@@ -13,6 +13,13 @@ enable_extension "marvell-tools"
# but having a core extension allows it to be pre-included in the Dockerfile generation and thus in the Docker images.
enable_extension "c-plus-plus-compiler"
# The BLx stuff requires 32-bit compiler, add it using an inline hook.
# 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__mvebu64_add_32_bit_c_compiler() {
display_alert "Adding armhf C compiler to host dependencies" "for mvebu64 BLx compile" "debug"
export EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} gcc-arm-linux-gnueabi" # @TODO: convert to array later
}
ARCH=arm64
BOOTBRANCH='tag:v2022.04'
BOOTPATCHDIR="v2022.07"