summaryrefslogtreecommitdiff
path: root/sys/src/boot
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-10-22 00:15:39 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2018-10-22 00:15:39 +0200
commitf059563b9d53d3e63e2d580ed61868153f24c481 (patch)
treeca210b4970695fdedf76f251337d18d61791f7e0 /sys/src/boot
parent8dfff00e50652e1c0580c307374991b8cd3b864f (diff)
add /sys/src/boot/bcm/mkfile to download raspberry pi bootcode firmware
Diffstat (limited to 'sys/src/boot')
-rw-r--r--sys/src/boot/bcm/mkfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/src/boot/bcm/mkfile b/sys/src/boot/bcm/mkfile
new file mode 100644
index 000000000..4c8ceef5e
--- /dev/null
+++ b/sys/src/boot/bcm/mkfile
@@ -0,0 +1,12 @@
+URL=https://github.com/raspberrypi/firmware/raw/master/boot
+FILES=bootcode.bin fixup_cd.dat start_cd.elf LICENCE.broadcom
+
+all:V: $FILES
+
+clean:V:
+ rm -f $FILES
+
+$FILES:
+ for(i in $target){
+ hget -o $i $URL/$i
+ }