mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
buildsystem: recursive unpack & build is only needed by sequential builds
This commit is contained in:
parent
96c510394d
commit
99ed1d6e31
@ -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
|
||||
|
@ -45,14 +45,18 @@ mkdir -p ${STAMPS_INSTALL}/${PKG_NAME}
|
||||
|
||||
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
|
||||
|
||||
if [ "${TARGET}" = "target" ] ; then
|
||||
for p in ${PKG_DEPENDS_TARGET}; do
|
||||
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
||||
done
|
||||
elif [ "${TARGET}" = "init" ] ; then
|
||||
for p in ${PKG_DEPENDS_INIT}; do
|
||||
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
||||
done
|
||||
if is_sequential_build; then
|
||||
if [ "${TARGET}" = "target" ] ; then
|
||||
for p in ${PKG_DEPENDS_TARGET}; do
|
||||
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
||||
done
|
||||
elif [ "${TARGET}" = "init" ] ; then
|
||||
for p in ${PKG_DEPENDS_INIT}; do
|
||||
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
if [ "${TARGET}" = "init" ] ; then
|
||||
INSTALL=${BUILD}/initramfs
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user