xbmc: add support for arch specific patches, move XVBA patch to arch specific patches to prevent build issues

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-10-18 15:02:07 +02:00
parent 0c7243afe8
commit 7ace37722c
2 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,15 @@
. config/options $1
echo "### Applying architecture based patches ###"
if [ ! $TARGET_ARCH = arm ]; then
for patch in `ls $PKG_DIR/patches.x86`; do
cat $PKG_DIR/patches.x86/$patch | patch -d \
`echo $PKG_BUILD | cut -f1 -d\ ` -p1
done
fi
echo "### Applying project based patches ###"
for patch in `ls $PROJECT_DIR/$PROJECT/patches/$1`; do