diff --git a/build.sh b/build.sh index 85d8b28..629b2cf 100644 --- a/build.sh +++ b/build.sh @@ -58,6 +58,8 @@ fi # Applying Patch for 2gb memory patch -f $DEST/u-boot-sunxi/include/configs/sunxi-common.h < patch/memory.patch || true +# Applying Patch for gpio +patch -f $DEST/linux-sunxi/drivers/gpio/gpio-sunxi.c < patch/gpio.patch || true #Change Video output ( TODO add a param so the user can choose that ?) sed -e 's/output_type = [0-9]*/output_type = '$DISPLAY'/g' $DEST/cubie_configs/sysconfig/linux/cubietruck.fex > $DEST/cubie_configs/sysconfig/linux/cubietruck-vga.fex