From 308719cdea18d2d360e4c6baf4a77121bef9c206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Tue, 24 Sep 2019 13:07:52 +0200 Subject: [PATCH] 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. --- setup_board | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup_board b/setup_board index 140a14ac2d..cfdafa6503 100755 --- a/setup_board +++ b/setup_board @@ -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}" \