From 6f2de77556960d6953aa56fb8e8d876f58fdd583 Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Wed, 19 Sep 2018 13:57:55 -0700 Subject: seabios: update to 1.11.2 and use github for SRC_URI Update to version 1.11.2 fixes compile errors encountered with 1.9.1. Use the official QEMU github mirror of git.qemu.org/seabios as a stable, maintained, available SRC_URI for seabios releases. While downloads.seabios.org is documented as the official source, it has not published tarballs for the most recent releases. Signed-off-by: Christopher Clark Signed-off-by: Bruce Ashfield --- recipes-extended/seabios/seabios_1.11.2.bb | 44 ++++++++++++++++++++++++++++++ recipes-extended/seabios/seabios_1.9.1.bb | 43 ----------------------------- 2 files changed, 44 insertions(+), 43 deletions(-) create mode 100644 recipes-extended/seabios/seabios_1.11.2.bb delete mode 100644 recipes-extended/seabios/seabios_1.9.1.bb diff --git a/recipes-extended/seabios/seabios_1.11.2.bb b/recipes-extended/seabios/seabios_1.11.2.bb new file mode 100644 index 00000000..4ea9eb78 --- /dev/null +++ b/recipes-extended/seabios/seabios_1.11.2.bb @@ -0,0 +1,44 @@ +DESCRIPTION = "SeaBIOS" +HOMEPAGE = "http://www.coreboot.org/SeaBIOS" +LICENSE = "LGPLv3" +SECTION = "firmware" + +SRC_URI = " \ + https://github.com/qemu/seabios/archive/rel-${PV}.tar.gz \ + file://hostcc.patch \ + " +S = "${WORKDIR}/${PN}-rel-${PV}" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ + " + +SRC_URI[md5sum] = "3f78065837dbd8873513a1b7d5276e78" +SRC_URI[sha256sum] = "73e73c8e406d97265782f6c942b3c1d178ed4f4afc9f381b22336c3968291693" + +FILES_${PN} = "/usr/share/firmware" + +DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native iasl-native python-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.9.1.bb b/recipes-extended/seabios/seabios_1.9.1.bb deleted file mode 100644 index 77e8f34a..00000000 --- a/recipes-extended/seabios/seabios_1.9.1.bb +++ /dev/null @@ -1,43 +0,0 @@ -DESCRIPTION = "SeaBIOS" -HOMEPAGE = "http://www.coreboot.org/SeaBIOS" -LICENSE = "LGPLv3" -SECTION = "firmware" - -SRC_URI = " \ - https://www.seabios.org/downloads/${PN}-${PV}.tar.gz \ - file://hostcc.patch \ - " - -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ - file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ - " - -SRC_URI[md5sum] = "e21b6f3e54d492be837ef20d66617f81" -SRC_URI[sha256sum] = "8a2a562fe5cfd37fe8327cdc4a60accdfe441e235b29e6999fdeb442ba98d608" - -FILES_${PN} = "/usr/share/firmware" - -DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native iasl-native python-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/ -} - -- cgit v1.2.3-54-g00ecf