aboutsummaryrefslogtreecommitdiff
path: root/fwutils
diff options
context:
space:
mode:
authorproski <proski>2006-07-30 21:59:48 +0000
committerproski <proski>2006-07-30 21:59:48 +0000
commitb636bdd4ac4a2f1b6c7657ddaacefad7e76aed29 (patch)
treef2734eeb2e14f1cb5a5ea7e7ac92f61d1419eb5d /fwutils
parent889abeb68a38d49f48db1380158065f56c55f468 (diff)
Remove, it's not needed now
Diffstat (limited to 'fwutils')
-rwxr-xr-xfwutils/fwbin2pkg.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/fwutils/fwbin2pkg.sh b/fwutils/fwbin2pkg.sh
deleted file mode 100755
index 95f5a05..0000000
--- a/fwutils/fwbin2pkg.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-# script to convert a binary fw package (output from gen_fw)
-# into a .h file for static inclusion
-# call fwbin2h.sh input_file output_file
-
-if [ $# -ne 2 ]; then
- echo "Convert a binary firmware file into a .h file"
- echo "Usage: $0 input_file output_file"
- exit 1
-fi
-
-INF=$1
-OUTF=$2
-
-echo '/*' > $OUTF
-sed 's/^/ * /' COPYRIGHT >> $OUTF
-echo ' */' >> $OUTF
-echo '' >> $OUTF
-echo 'static u8 fw_bin[] = {' >> $OUTF
-
-od -An -tx1 -v -w8 $INF | sed 's/\([0-9a-f][0-9a-f]\)/0x\1,/g' >> $OUTF
-echo '};' >> $OUTF
-echo '' >> $OUTF
-echo "static const struct firmware static_fw = {`ls -l $INF | awk '{print $5}'`, fw_bin};" >> $OUTF
-echo '' >> $OUTF
-