mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
allow specifying platform specific patches as well as architecture specific ones
This commit is contained in:
parent
f40e316aa6
commit
c46690965c
@ -50,8 +50,8 @@ fi
|
|||||||
for i in $PKG_DIR/patches/*.diff*; do
|
for i in $PKG_DIR/patches/*.diff*; do
|
||||||
if [ -f $i ]; then
|
if [ -f $i ]; then
|
||||||
PATCH=`basename $i`
|
PATCH=`basename $i`
|
||||||
PATCH_ARCH=`echo $PATCH | sed 's/.*\.\(.*\)$/\1/'`
|
PT=`echo $PATCH | sed 's/.*\.\(.*\)$/\1/'`
|
||||||
if [ "$PATCH_ARCH" != diff -a "$PATCH_ARCH" != "$TARGET_ARCH" ]; then
|
if [ "$PT" != diff -a "$PT" != "$TARGET_ARCH" -a "$PT" != "$TARGET_PLATFORM" ]; then
|
||||||
echo "## Skipping patch: $i"
|
echo "## Skipping patch: $i"
|
||||||
continue;
|
continue;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user