From 6a43be4c3e1b0cbac196776eac7c3ed5f3db7fa8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 9 May 2022 09:19:15 -0700 Subject: seabios: Upgrade to 1.16 release Pin to use gcc as compiler always Signed-off-by: Khem Raj Cc: Bruce Ashfield Signed-off-by: Bruce Ashfield --- recipes-extended/seabios/seabios_1.14.0.bb | 47 ----------------------------- recipes-extended/seabios/seabios_1.16.0.bb | 48 ++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 47 deletions(-) delete mode 100644 recipes-extended/seabios/seabios_1.14.0.bb create mode 100644 recipes-extended/seabios/seabios_1.16.0.bb diff --git a/recipes-extended/seabios/seabios_1.14.0.bb b/recipes-extended/seabios/seabios_1.14.0.bb deleted file mode 100644 index a090756e..00000000 --- a/recipes-extended/seabios/seabios_1.14.0.bb +++ /dev/null @@ -1,47 +0,0 @@ -DESCRIPTION = "SeaBIOS" -HOMEPAGE = "http://www.coreboot.org/SeaBIOS" -LICENSE = "LGPL-3.0-only" -SECTION = "firmware" - -inherit python3native - -SRC_URI = " \ - https://www.seabios.org/downloads/seabios-${PV}.tar.gz \ - file://hostcc.patch \ - file://python3.patch \ - " -S = "${WORKDIR}/${PN}-${PV}" - -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ - file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ - " - -SRC_URI[md5sum] = "9df3b7de6376850d09161137e7a9b61f" -SRC_URI[sha256sum] = "eb70cc62b29aa83e10a653233acebf4bb154d00d0c87dc2a2c6e2da75e5e81fd" - -FILES:${PN} = "/usr/share/firmware" - -DEPENDS += "util-linux-native file-native bison-native flex-native gettext-native acpica-native" - -TUNE_CCARGS = "" -EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'" -EXTRA_OEMAKE += "CROSS_PREFIX=${TARGET_PREFIX}" - -COMPATIBLE_HOST = "(i.86|x86_64).*-linux" - -do_configure() { - oe_runmake defconfig -} - -do_compile() { - unset CPP - unset CPPFLAGS - oe_runmake -} - -do_install() { - oe_runmake - install -d ${D}/usr/share/firmware - install -m 0644 out/bios.bin ${D}/usr/share/firmware/ -} - diff --git a/recipes-extended/seabios/seabios_1.16.0.bb b/recipes-extended/seabios/seabios_1.16.0.bb new file mode 100644 index 00000000..ebab54bf --- /dev/null +++ b/recipes-extended/seabios/seabios_1.16.0.bb @@ -0,0 +1,48 @@ +DESCRIPTION = "SeaBIOS" +HOMEPAGE = "http://www.coreboot.org/SeaBIOS" +LICENSE = "LGPL-3.0-only" +SECTION = "firmware" + +inherit python3native + +SRC_URI = " \ + https://www.seabios.org/downloads/seabios-${PV}.tar.gz \ + file://hostcc.patch \ + file://python3.patch \ + " +S = "${WORKDIR}/${PN}-${PV}" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ + " +SRC_URI[sha256sum] = "d44d8e97ad56f3fd23ed3076077a770d37a5e7bae22daa59656ff41c3334fb34" + +FILES:${PN} = "/usr/share/firmware" + +DEPENDS += "util-linux-native file-native bison-native flex-native gettext-native acpica-native" + +TUNE_CCARGS = "" +EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'" +EXTRA_OEMAKE += "CROSS_PREFIX=${TARGET_PREFIX}" + +# Can not yet compile with clang e.g. +TOOLCHAIN = "gcc" + +COMPATIBLE_HOST = "(i.86|x86_64).*-linux" + +do_configure() { + oe_runmake defconfig +} + +do_compile() { + unset CPP + unset CPPFLAGS + oe_runmake +} + +do_install() { + oe_runmake + install -d ${D}/usr/share/firmware + install -m 0644 out/bios.bin ${D}/usr/share/firmware/ +} + -- cgit v1.2.3-54-g00ecf