summaryrefslogtreecommitdiffstats
path: root/board/cray/L1/x2c.awk
diff options
context:
space:
mode:
Diffstat (limited to 'board/cray/L1/x2c.awk')
-rw-r--r--board/cray/L1/x2c.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/cray/L1/x2c.awk b/board/cray/L1/x2c.awk
new file mode 100644
index 0000000000..9235e6cb36
--- /dev/null
+++ b/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" }
OpenPOWER on IntegriCloud