mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-27 09:11:49 +00:00
more patching corrections
This commit is contained in:
parent
cdb16dfea8
commit
6ef1bdaee9
1 changed files with 4 additions and 4 deletions
|
@ -130,13 +130,13 @@ else
|
|||
fi
|
||||
cd $DEST/$LINUXSOURCE
|
||||
if [[ $BOARD == "bananapi" ]]; then
|
||||
if [ "$(patch --dry-run -t -p1 < $SRC/lib/patch/bananafbtft.patch | grep previ)" != "" ]; then
|
||||
if [ "$(patch --dry-run -t -p1 < $SRC/lib/patch/bananafbtft.patch | grep previ)" == "" ]; then
|
||||
patch --batch -N -p1 < $SRC/lib/patch/bananafbtft.patch
|
||||
fi
|
||||
else
|
||||
if [ "$(patch --dry-run -t -p1 < $SRC/lib/patch/small_lcd_drivers.patch | grep previ)" != "" ]; then
|
||||
fi
|
||||
# common patch
|
||||
if [ "$(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
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue