mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
buildsys: force package rebuild on $PKG_DIR/config/* change
This commit is contained in:
parent
19714b13b7
commit
c30cb05863
@ -26,7 +26,6 @@ PKG_URL="http://busybox.net/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS_HOST=""
|
||||
PKG_DEPENDS_TARGET="toolchain busybox:host hdparm dosfstools e2fsprogs zip unzip pciutils usbutils parted"
|
||||
PKG_DEPENDS_INIT="toolchain"
|
||||
PKG_NEED_UNPACK="packages/sysutils/busybox/config/*"
|
||||
PKG_PRIORITY="required"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="BusyBox: The Swiss Army Knife of Embedded Linux"
|
||||
|
@ -56,7 +56,7 @@ for i in $BUILD/$1-*; do
|
||||
done
|
||||
# trigger unpack / full rebuild on any patch / script / etc.. change
|
||||
# TODO: rewwork $PKG_DIR/scripts -> $PKG_DIR/filesystem/....
|
||||
for file in $PKG_DIR/{patches,scripts}/* $PROJECT_DIR/$PROJECT/patches/$PKG_NAME/*.patch; do
|
||||
for file in $PKG_DIR/{patches,scripts,config}/* $PROJECT_DIR/$PROJECT/patches/$PKG_NAME/*.patch; do
|
||||
if [ -f "$file" -a "$file" -nt "$i/.openelec-unpack" ]; then
|
||||
CLEAN_SOURCE=yes
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user