Update common.sh

This commit is contained in:
Igor Pečovnik 2014-10-10 11:00:51 +02:00
parent c02edb5c93
commit 0378d29c65

View File

@ -56,9 +56,6 @@ if [[ $LINUXSOURCE == "linux-sunxi" ]] ; then
if [ -z "$(patch --dry-run -t -p1 < $SRC/lib/patch/bananagmac.patch | grep previ)" ]; then
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/lib/patch/bananafbtft.patch
fi
fi
# compile sunxi tools
compile_sunxi_tools
@ -126,6 +123,9 @@ cd $DEST/$LINUXSOURCE
if [ -z "$(patch --dry-run -t -p1 < $SRC/lib/patch/small_lcd_drivers.patch | grep previ)" ]; then
patch -p1 < $SRC/lib/patch/small_lcd_drivers.patch
fi
if [ -z "$(patch --dry-run -t -p1 < $SRC/lib/patch/bananafbtft.patch | grep previ)" ]; then
patch --batch -N -p1 < $SRC/lib/patch/bananafbtft.patch
fi
}