15 lines
192 B
Bash
15 lines
192 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
LC_ALL=C
|
||
|
export LC_ALL
|
||
|
|
||
|
cat <<EOF
|
||
|
const uint8_t _binary_limine_hdd_bin_data[] = {
|
||
|
EOF
|
||
|
|
||
|
od -v -An -t x1 <limine-hdd.bin | "$SED" 's/ /, 0x/g;s/^, / /g;s/$/,/g'
|
||
|
|
||
|
cat <<EOF
|
||
|
};
|
||
|
EOF
|