build: Simplify BSD od workaround in hgen.sh
This commit is contained in:
parent
92896f9542
commit
e4dc460807
@ -9,7 +9,7 @@ cat <<EOF
|
|||||||
const uint8_t _binary_limine_hdd_bin_data[] = {
|
const uint8_t _binary_limine_hdd_bin_data[] = {
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
od -v -An -t x1 <limine-hdd.bin | "$SED" '/^$/d;s/^ */ /g;s/ *$//g;s/ / /g;s/ /, 0x/g;s/^, / /g;s/$/,/g'
|
od -v -An -t x1 <limine-hdd.bin | "$SED" '/^$/d;s/ */ /g;s/ *$//g;s/ /, 0x/g;s/^, / /g;s/$/,/g'
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user