summaryrefslogtreecommitdiff
path: root/libre/uboot-usbarmory-linux-libre/mkscr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-10-05 06:47:43 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-10-05 06:53:44 -0300
commit91aff038958f833a3aacbf2e98e6abc684611e3b (patch)
tree2f18f3422bcbd23ea6b1206f7d87426d93b799b3 /libre/uboot-usbarmory-linux-libre/mkscr
parentf47b7b94cb804c702adc5949f80838bd28153d3a (diff)
uboot-usbarmory-linux-libre: add new package to [libre]
Diffstat (limited to 'libre/uboot-usbarmory-linux-libre/mkscr')
-rwxr-xr-xlibre/uboot-usbarmory-linux-libre/mkscr9
1 files changed, 9 insertions, 0 deletions
diff --git a/libre/uboot-usbarmory-linux-libre/mkscr b/libre/uboot-usbarmory-linux-libre/mkscr
new file mode 100755
index 000000000..272b6a7a5
--- /dev/null
+++ b/libre/uboot-usbarmory-linux-libre/mkscr
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [[ ! -x /usr/bin/mkimage ]]; then
+ echo "mkimage not found. Please install uboot-tools:"
+ echo " pacman -S uboot-tools"
+ exit 1
+fi
+
+mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d boot.txt boot.scr