mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-11-16 19:50:31 +01:00
GPIO Patch to create device according to linux/documentation/gpio.txt
This commit is contained in:
parent
c1ca9f36ef
commit
d67636cd39
1 changed files with 2 additions and 0 deletions
2
build.sh
2
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
|
||||
|
|
Loading…
Reference in a new issue