mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
buildsystem: unpack on any package.mk change
This commit is contained in:
parent
025b483542
commit
9029a76fa1
@ -38,6 +38,13 @@ STAMP=$STAMPS/$1/unpack
|
||||
|
||||
[ -f "$STAMP" -a -f "$PKG_DIR/need_unpack" ] && $PKG_DIR/need_unpack $@
|
||||
|
||||
# trigger unpack / full rebuild on any package.mk change
|
||||
if [ -f $PKG_DIR/package.mk ]; then
|
||||
if [ -f $STAMP -a $PKG_DIR/package.mk -nt $STAMP ]; then
|
||||
rm -f $STAMP
|
||||
fi
|
||||
fi
|
||||
|
||||
for patch in $PKG_DIR/patches/*; do
|
||||
if [ "$patch" -nt "$STAMP" ]; then
|
||||
rm -f $STAMP
|
||||
|
Loading…
x
Reference in New Issue
Block a user