2 # SPDX-License-Identifier: GPL-2.0-or-later
7 echo "Read binary data from standard input and write it as a comma separated"
8 echo "list of hexadecimal byte values to standard output. The output is usable"
9 echo "as a C array initializer. It is terminated with a comma so it can be"
10 echo "continued e.g. for zero termination."
14 echo "/* Autogenerated with $0 */"
15 od -v -A n -t x1 | sed 's/ *\(..\) */0x\1,/g'