mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 21:46:58 +02:00
setup_board: fix compiling toolchains from scratch
Commit 0d29e735
broke this by not properly initializing the toolchain
ebuild flags when binary packages were disabled.
This commit is contained in:
parent
859cea0306
commit
986845608a
@ -259,12 +259,13 @@ if [[ ${FLAGS_regen_configs} -eq ${FLAGS_FALSE} ]]; then
|
||||
if [[ "${FLAGS_jobs}" -ne -1 ]]; then
|
||||
EMERGE_FLAGS+=" --jobs=${FLAGS_jobs}"
|
||||
fi
|
||||
EMERGE_TOOLCHAIN_FLAGS="${EMERGE_FLAGS}"
|
||||
|
||||
if [[ "${FLAGS_usepkg}" -eq "${FLAGS_TRUE}" && \
|
||||
"${FLAGS_getbinpkg}" -eq "${FLAGS_TRUE}" ]]
|
||||
then
|
||||
EMERGE_FLAGS+=" --usepkg --getbinpkg"
|
||||
EMERGE_TOOLCHAIN_FLAGS="${EMERGE_FLAGS} --usepkgonly"
|
||||
EMERGE_TOOLCHAIN_FLAGS+=" --usepkgonly"
|
||||
else
|
||||
# When binary packages are disabled we need to make sure the cross
|
||||
# sysroot includes any build dependencies for the toolchain.
|
||||
|
Loading…
Reference in New Issue
Block a user