mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
arm64: Build binary packages for dependencies before installing toolchain
This part was missing when the core was changed in ce2e7e8a17a8026d5681d771f34df633ac6aec98 and thus it was not possible to install the toolchain when no packages were available in the external HTTP storage.
This commit is contained in:
parent
802c18491c
commit
308719cdea
@ -318,6 +318,10 @@ if [[ ${FLAGS_regen_configs} -eq ${FLAGS_FALSE} ]]; then
|
||||
info "Installing toolchain build dependencies"
|
||||
install_cross_libs "${BOARD_CHOST}" ${EMERGE_FLAGS} --buildpkg=n
|
||||
|
||||
info "Building toolchain dependencies"
|
||||
"${EMERGE_WRAPPER}" --buildpkg --buildpkgonly --onlydeps -e \
|
||||
--root="/usr/${BOARD_CHOST}" --sysroot="/usr/${BOARD_CHOST}" \
|
||||
${EMERGE_TOOLCHAIN_FLAGS} "${TOOLCHAIN_PKGS[@]}"
|
||||
info "Building toolchain"
|
||||
"${EMERGE_WRAPPER}" --buildpkg --buildpkgonly \
|
||||
--root="/usr/${BOARD_CHOST}" --sysroot="/usr/${BOARD_CHOST}" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user