[meta-virtualization] [PATCH] seabios: update to 1.11.2 and use github for SRC_URI

Bruce Ashfield bruce.ashfield at gmail.com
Sat Sep 22 20:12:10 PDT 2018


On Wed, Sep 19, 2018 at 4:57 PM,  <christopher.w.clark at gmail.com> wrote:
> From: Christopher Clark <christopher.w.clark at gmail.com>
>
> 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 <christopher.clark6 at baesystems.com>
> ---
>
> The prior version 1.9.1 was failing to build with current master of OE:
>
> | src/stacks.c: Assembler messages:
> | src/stacks.c:567: Error: found '(', expected: ')'
> | src/stacks.c:567: Error: junk `(%ebp))' after expression
> | src/stacks.c:568: Warning: indirect call without `*'
> | Makefile:133: recipe for target 'out/src/stacks.o' failed
> | make: *** [out/src/stacks.o] Error 1

merged.

Bruce

>
>  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 0000000..4ea9eb7
> --- /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 77e8f34..0000000
> --- 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/
> -}
> -
> --
> 2.7.4
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list