mirror of
https://github.com/libretro/Lakka.git
synced 2025-02-19 23:41:25 +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
|
||||
if [ -f $i ]; then
|
||||
PATCH=`basename $i`
|
||||
PATCH_ARCH=`echo $PATCH | sed 's/.*\.\(.*\)$/\1/'`
|
||||
if [ "$PATCH_ARCH" != diff -a "$PATCH_ARCH" != "$TARGET_ARCH" ]; then
|
||||
PT=`echo $PATCH | sed 's/.*\.\(.*\)$/\1/'`
|
||||
if [ "$PT" != diff -a "$PT" != "$TARGET_ARCH" -a "$PT" != "$TARGET_PLATFORM" ]; then
|
||||
echo "## Skipping patch: $i"
|
||||
continue;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user