Update common.sh

This commit is contained in:
Igor Pečovnik
2014-10-08 15:21:55 +02:00
parent accaaca3c2
commit d775165a37

View File

@@ -46,8 +46,8 @@ patching_sources(){
cd $DEST/$LINUXSOURCE
# sunxi
if [[ $LINUXSOURCE == "linux-sunxi" ]] ; then
patch --batch -t -p1 < $SRC/lib/patch/gpio.patch
patch --batch -t -p1 < $SRC/lib/patch/spi.patch
patch --batch -f -p1 < $SRC/lib/patch/gpio.patch
patch --batch -f -p1 < $SRC/lib/patch/spi.patch
if [[ $BOARD == "bananapi" ]] ; then
patch --batch -N -p1 < $SRC/patch/bananagmac.patch
fi
@@ -56,7 +56,7 @@ if [[ $LINUXSOURCE == "linux-sunxi" ]] ; then
fi
# cubox / hummingboard
if [[ $LINUXSOURCE == "linux-cubox-next" ]] ; then
patch --batch -t -p1 < $SRC/lib/patch/hb-i2c-spi.patch
patch --batch -f -p1 < $SRC/lib/patch/hb-i2c-spi.patch
fi
}