parent
90efdd3c99
commit
2bcfe153c6
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
/root/rc.local &>/dev/tty0
|
/root/rc.local &>/dev/tty0 &
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
# git push -u origin --all
|
# git push -u origin --all
|
||||||
# git push -u origin --tags
|
# git push -u origin --tags
|
||||||
|
|
||||||
|
CROSS_COMPILE ?= riscv64-linux-gnu-
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
|
|
11
u-boot/uboot
11
u-boot/uboot
|
@ -14,6 +14,11 @@ case "$1" in
|
||||||
echo fucking clean
|
echo fucking clean
|
||||||
echo fucking clean
|
echo fucking clean
|
||||||
;;
|
;;
|
||||||
|
riscv)
|
||||||
|
echo export CROSS_COMPILE=riscv64-linux-gnu-
|
||||||
|
echo make qemu-riscv32_defconfig
|
||||||
|
echo make
|
||||||
|
;;
|
||||||
deps)
|
deps)
|
||||||
apt install -f libpython-dev
|
apt install -f libpython-dev
|
||||||
if [ ! -f /usr/bin/bison ]; then
|
if [ ! -f /usr/bin/bison ]; then
|
||||||
|
@ -70,6 +75,10 @@ case "$1" in
|
||||||
git diff trini/master...work >/tmp/flatten.diff
|
git diff trini/master...work >/tmp/flatten.diff
|
||||||
;;
|
;;
|
||||||
remotes)
|
remotes)
|
||||||
|
echo
|
||||||
|
echo git remote add jamez https://git.wit.com/jamez/u-boot.git
|
||||||
|
echo git fetch jamez
|
||||||
|
echo
|
||||||
git remote -v
|
git remote -v
|
||||||
;;
|
;;
|
||||||
branches|status)
|
branches|status)
|
||||||
|
@ -101,6 +110,8 @@ case "$1" in
|
||||||
echo 'uboot clean -- purges more or less absolutely everything except .*'
|
echo 'uboot clean -- purges more or less absolutely everything except .*'
|
||||||
echo 'uboot build -- builds uboot for the pinebook'
|
echo 'uboot build -- builds uboot for the pinebook'
|
||||||
echo 'uboot flash -- flashes uboot onto the host "witserial"'
|
echo 'uboot flash -- flashes uboot onto the host "witserial"'
|
||||||
|
echo ''
|
||||||
|
echo 'uboot riscv -- build for qemu and riscv'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue