From cdb70a41053a52b622130a4b9d681dc397c9c1e9 Mon Sep 17 00:00:00 2001 From: pantonshire Date: Fri, 12 Jul 2024 20:23:35 +0100 Subject: [PATCH] add seabios as submodule --- .gitmodules | 3 +++ patches/001_seabios_menuconfig.patch | 13 +++++++++++++ patches/series | 1 + seabios | 1 + 4 files changed, 18 insertions(+) create mode 100644 .gitmodules create mode 100644 patches/001_seabios_menuconfig.patch create mode 100644 patches/series create mode 160000 seabios diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5b38c31 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "seabios"] + path = seabios + url = https://github.com/coreboot/seabios.git diff --git a/patches/001_seabios_menuconfig.patch b/patches/001_seabios_menuconfig.patch new file mode 100644 index 0000000..53f9fde --- /dev/null +++ b/patches/001_seabios_menuconfig.patch @@ -0,0 +1,13 @@ +Index: boot/seabios/scripts/kconfig/lxdialog/check-lxdialog.sh +=================================================================== +--- boot.orig/seabios/scripts/kconfig/lxdialog/check-lxdialog.sh ++++ boot/seabios/scripts/kconfig/lxdialog/check-lxdialog.sh +@@ -43,7 +43,7 @@ trap "rm -f $tmp" 0 1 2 3 15 + check() { + $cc -x c - -o $tmp 2>/dev/null <<'EOF' + #include CURSES_LOC +-main() {} ++int main() { return 0; } + EOF + if [ $? != 0 ]; then + echo " *** Unable to find the ncurses libraries or the" 1>&2 diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..1243d17 --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +001_seabios_menuconfig.patch diff --git a/seabios b/seabios new file mode 160000 index 0000000..e5f2e4c --- /dev/null +++ b/seabios @@ -0,0 +1 @@ +Subproject commit e5f2e4c69643bc3cd385306a9e5d29e11578148c