mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +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}";;
|
"init") _pkg_depends="${PKG_DEPENDS_INIT}";;
|
||||||
"bootstrap") _pkg_depends="${PKG_DEPENDS_BOOTSTRAP}";;
|
"bootstrap") _pkg_depends="${PKG_DEPENDS_BOOTSTRAP}";;
|
||||||
esac
|
esac
|
||||||
for p in ${_pkg_depends}; do
|
|
||||||
|
if is_sequential_build; then
|
||||||
|
for p in ${_pkg_depends}; do
|
||||||
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
|
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
# virtual packages are not built as they only contain dependencies, so dont go further here
|
# virtual packages are not built as they only contain dependencies, so dont go further here
|
||||||
if [ "${PKG_SECTION}" = "virtual" ]; then
|
if [ "${PKG_SECTION}" = "virtual" ]; then
|
||||||
|
@ -45,14 +45,18 @@ mkdir -p ${STAMPS_INSTALL}/${PKG_NAME}
|
|||||||
|
|
||||||
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
|
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
|
||||||
|
|
||||||
if [ "${TARGET}" = "target" ] ; then
|
if is_sequential_build; then
|
||||||
|
if [ "${TARGET}" = "target" ] ; then
|
||||||
for p in ${PKG_DEPENDS_TARGET}; do
|
for p in ${PKG_DEPENDS_TARGET}; do
|
||||||
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
||||||
done
|
done
|
||||||
elif [ "${TARGET}" = "init" ] ; then
|
elif [ "${TARGET}" = "init" ] ; then
|
||||||
for p in ${PKG_DEPENDS_INIT}; do
|
for p in ${PKG_DEPENDS_INIT}; do
|
||||||
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
${SCRIPTS}/install "${p}" "${PARENT_PKG}"
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [ "${TARGET}" = "init" ] ; then
|
||||||
INSTALL=${BUILD}/initramfs
|
INSTALL=${BUILD}/initramfs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user