mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56: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
|
if [[ "${FLAGS_jobs}" -ne -1 ]]; then
|
||||||
EMERGE_FLAGS+=" --jobs=${FLAGS_jobs}"
|
EMERGE_FLAGS+=" --jobs=${FLAGS_jobs}"
|
||||||
fi
|
fi
|
||||||
|
EMERGE_TOOLCHAIN_FLAGS="${EMERGE_FLAGS}"
|
||||||
|
|
||||||
if [[ "${FLAGS_usepkg}" -eq "${FLAGS_TRUE}" && \
|
if [[ "${FLAGS_usepkg}" -eq "${FLAGS_TRUE}" && \
|
||||||
"${FLAGS_getbinpkg}" -eq "${FLAGS_TRUE}" ]]
|
"${FLAGS_getbinpkg}" -eq "${FLAGS_TRUE}" ]]
|
||||||
then
|
then
|
||||||
EMERGE_FLAGS+=" --usepkg --getbinpkg"
|
EMERGE_FLAGS+=" --usepkg --getbinpkg"
|
||||||
EMERGE_TOOLCHAIN_FLAGS="${EMERGE_FLAGS} --usepkgonly"
|
EMERGE_TOOLCHAIN_FLAGS+=" --usepkgonly"
|
||||||
else
|
else
|
||||||
# When binary packages are disabled we need to make sure the cross
|
# When binary packages are disabled we need to make sure the cross
|
||||||
# sysroot includes any build dependencies for the toolchain.
|
# sysroot includes any build dependencies for the toolchain.
|
||||||
|
Loading…
Reference in New Issue
Block a user