From ce8f48d28c8d6d99b860e3f6480d9d3a6fc0b301 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Fri, 26 Jul 2013 13:47:44 -0700 Subject: gummiboot: Add gummiboot recipe gummiboot is a simple UEFI boot manager. It uses configuration files to setup the default boot entry or presents an on-screen menu. Signed-off-by: Darren Hart --- ...c-Add-option-to-disable-configuring-the-B.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 common/recipes-bsp/gummiboot/files/0001-configure.ac-Add-option-to-disable-configuring-the-B.patch (limited to 'common/recipes-bsp/gummiboot/files/0001-configure.ac-Add-option-to-disable-configuring-the-B.patch') diff --git a/common/recipes-bsp/gummiboot/files/0001-configure.ac-Add-option-to-disable-configuring-the-B.patch b/common/recipes-bsp/gummiboot/files/0001-configure.ac-Add-option-to-disable-configuring-the-B.patch new file mode 100644 index 00000000..9ed0a5e0 --- /dev/null +++ b/common/recipes-bsp/gummiboot/files/0001-configure.ac-Add-option-to-disable-configuring-the-B.patch @@ -0,0 +1,39 @@ +From c72599a7bd46c22d296c59dbd13f138503350d2f Mon Sep 17 00:00:00 2001 +Message-Id: +From: Darren Hart +Date: Tue, 30 Apr 2013 21:11:17 -0700 +Subject: [PATCH 1/4] configure.ac: Add option to disable configuring the BIOS + test + +When cross-compiling, AC_CHECK_FILE aborts configure. Provide a means to +avoid even attempting to configure the BIOS test. + +Signed-off-by: Darren Hart +--- + configure.ac | 10 +++++++--- + 1 files changed, 7 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index efa0e54..524060c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -66,9 +66,13 @@ AC_SUBST([ARCH]) + AC_SUBST([MACHINE_TYPE_NAME]) + + # test bios +-AC_CHECK_FILE([/usr/lib/qemu-bios], [BIOS=/usr/lib/qemu-bios]) +-AC_CHECK_FILE([/usr/share/qemu-ovmf/bios], [BIOS=/usr/share/qemu-ovmf/bios]) +-AC_SUBST([BIOS]) ++AC_ARG_ENABLE(biostest, AS_HELP_STRING([--disable-biostest], [disable building BIOS test])) ++if test "x$enable_biostest" != "xno"; then ++ AC_CHECK_FILE([/usr/lib/qemu-bios], [BIOS=/usr/lib/qemu-bios]) ++ AC_CHECK_FILE([/usr/share/qemu-ovmf/bios], [BIOS=/usr/share/qemu-ovmf/bios]) ++ AC_SUBST([BIOS]) ++fi ++AM_CONDITIONAL(ENABLE_BIOSTEST, [test "x$enable_biostest" = "xyes"]) + + # ------------------------------------------------------------------------------ + dnl Compile EFI stuff is so tricky that it's probably better to check for the +-- +1.7.5.4 + -- cgit v1.2.3-54-g00ecf