summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/board/cray/L1/x2c.awk
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/board/cray/L1/x2c.awk')
-rw-r--r--qemu/roms/u-boot/board/cray/L1/x2c.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/board/cray/L1/x2c.awk b/qemu/roms/u-boot/board/cray/L1/x2c.awk
new file mode 100644
index 000000000..9235e6cb3
--- /dev/null
+++ b/qemu/roms/u-boot/board/cray/L1/x2c.awk
@@ -0,0 +1,6 @@
+#!/bin/awk
+BEGIN { print "unsigned char bootscript[] = { \n"}
+{ for (i = 2; i <= NF ; i++ ) printf "0x"$i","
+ print ""
+}
+END { print "\n};\n" }