buildsystem: unpack should recursively unpack, not build

This commit is contained in:
MilhouseVH 2019-06-29 11:06:42 +01:00
parent b26a38279d
commit e76f0a39c0
2 changed files with 6 additions and 5 deletions

View File

@ -53,11 +53,6 @@ if [ -f ${STAMP} ]; then
rm -f ${STAMP}
fi
if [ -n "${PKG_DEPENDS_UNPACK}" ]; then
for p in ${PKG_DEPENDS_UNPACK}; do
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
done
fi
${SCRIPTS}/unpack "${PKG_NAME}" "${PARENT_PKG}"
# build dependencies, only when PKG_DEPENDS_? is filled

View File

@ -21,6 +21,12 @@ pkg_lock_status "ACTIVE" "${PKG_NAME}" "unpack"
${SCRIPTS}/get "${PKG_NAME}"
if [ -n "${PKG_DEPENDS_UNPACK}" ]; then
for p in ${PKG_DEPENDS_UNPACK}; do
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
done
fi
STAMP="${PKG_BUILD}/.libreelec-unpack"
mkdir -p ${BUILD}