mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-02 05:06:59 +03:00
17 lines
243 B
Bash
Executable File
17 lines
243 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
LC_ALL=C
|
|
export LC_ALL
|
|
|
|
cat <<EOF
|
|
const uint8_t binary_limine_hdd_bin_data[] = {
|
|
EOF
|
|
|
|
od -v -An -t x1 <limine-bios-hdd.bin | "$SED" '/^$/d;s/ */ /g;s/ *$//g;s/ /, 0x/g;s/^, / /g;s/$/,/g;s/^ , / /g'
|
|
|
|
cat <<EOF
|
|
};
|
|
EOF
|