Update common.sh

This commit is contained in:
Igor Pečovnik
2014-10-10 10:47:29 +02:00
parent 5aa2e15aaa
commit c02edb5c93

View File

@@ -54,10 +54,10 @@ if [[ $LINUXSOURCE == "linux-sunxi" ]] ; then
fi
if [[ $BOARD == "bananapi" ]] ; then
if [ -z "$(patch --dry-run -t -p1 < $SRC/lib/patch/bananagmac.patch | grep previ)" ]; then
patch --batch -N -p1 < $SRC/patch/bananagmac.patch
patch --batch -N -p1 < $SRC/lib/patch/bananagmac.patch
fi
if [ -z "$(patch --dry-run -t -p1 < $SRC/lib/patch/bananafbtft.patch | grep previ)" ]; then
patch --batch -N -p1 < $SRC/patch/bananafbtft.patch
patch --batch -N -p1 < $SRC/lib/patch/bananafbtft.patch
fi
fi
# compile sunxi tools