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:
Kai Lüke 2019-09-24 13:07:52 +02:00
parent 802c18491c
commit 308719cdea
No known key found for this signature in database
GPG Key ID: E5601DA3A1D902A8

View File

@ -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}" \