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