buildsystem: recursive unpack & build is only needed by sequential builds

This commit is contained in:
MilhouseVH
2019-12-29 23:19:58 +00:00
parent 96c510394d
commit 99ed1d6e31
2 changed files with 18 additions and 11 deletions

View File

@@ -63,9 +63,12 @@ case "${TARGET}" in
"init") _pkg_depends="${PKG_DEPENDS_INIT}";;
"bootstrap") _pkg_depends="${PKG_DEPENDS_BOOTSTRAP}";;
esac
for p in ${_pkg_depends}; do
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
done
if is_sequential_build; then
for p in ${_pkg_depends}; do
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
done
fi
# virtual packages are not built as they only contain dependencies, so dont go further here
if [ "${PKG_SECTION}" = "virtual" ]; then