make.sh: Explicitely download packages when building the toolchain

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-09 15:01:58 +00:00
parent 761e95ad0c
commit dd813c6bc8

View File

@@ -962,6 +962,11 @@ lfsmake1() {
lfsmakecommoncheck "${pkg}" "$@"
[ $? == 1 ] && return 0
# Download source outside of the toolchain
if ! make_pkg "${pkg}" download "$@"; then
exiterror "Downloading ${pkg}"
fi
if ! make_pkg "${pkg}" TOOLCHAIN=1 ROOT="${BUILD_DIR}"; then
print_status FAIL