[meta-virtualization] [PATCH v2 1/5] seabios: uprev to 1.9.0
Doug Goldstein
cardoe at cardoe.com
Tue Dec 22 15:08:57 PST 2015
On 12/22/15 1:02 PM, Chris Patterson wrote:
> SeaBIOS 1.7.5 fails to compile on newer gcc, so update it! :)
>
> Also removing PR while I'm here.
>
> Signed-off-by: Chris Patterson <cjp256 at gmail.com>
> ---
> recipes-extended/seabios/seabios_1.7.5.bb | 45 -----------------------------
> recipes-extended/seabios/seabios_1.9.0.bb | 43 +++++++++++++++++++++++++++
> 2 files changed, 43 insertions(+), 45 deletions(-)
> delete mode 100644 recipes-extended/seabios/seabios_1.7.5.bb
> create mode 100644 recipes-extended/seabios/seabios_1.9.0.bb
>
> diff --git a/recipes-extended/seabios/seabios_1.7.5.bb b/recipes-extended/seabios/seabios_1.7.5.bb
> deleted file mode 100644
> index d57e250..0000000
> --- a/recipes-extended/seabios/seabios_1.7.5.bb
> +++ /dev/null
> @@ -1,45 +0,0 @@
> -DESCRIPTION = "SeaBIOS"
> -HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
> -LICENSE = "LGPLv3"
> -SECTION = "firmware"
> -
> -SRC_URI = " \
> - http://code.coreboot.org/p/seabios/downloads/get/${PN}-${PV}.tar.gz \
> - file://hostcc.patch \
> - file://defconfig \
> - "
> -
> -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
> - file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \
> - "
> -
> -SRC_URI[md5sum] = "3f1e17485ca327b245ae5938d9aa02d9"
> -SRC_URI[sha256sum] = "858d9eda4ad91efa1c45a5a401d560ef9ca8dd172f03b0a106f06661c252dc51"
> -
> -PR = "r0"
> -
> -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}"
> -
> -do_configure() {
> - install -m 0644 "${WORKDIR}/defconfig" .config
> - oe_runmake oldconfig
> -}
> -
> -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.0.bb b/recipes-extended/seabios/seabios_1.9.0.bb
> new file mode 100644
> index 0000000..fcdc0c5
> --- /dev/null
> +++ b/recipes-extended/seabios/seabios_1.9.0.bb
> @@ -0,0 +1,43 @@
> +DESCRIPTION = "SeaBIOS"
> +HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
> +LICENSE = "LGPLv3"
> +SECTION = "firmware"
> +
> +SRC_URI = " \
> + http://code.coreboot.org/p/seabios/downloads/get/${PN}-${PV}.tar.gz \
> + file://hostcc.patch \
> + file://defconfig \
> + "
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
> + file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \
> + "
> +
> +SRC_URI[md5sum] = "c3fea87e731e396bd4e7e2c478ba39d9"
> +SRC_URI[sha256sum] = "88595545c6d580a7a6da1c40befc46dd74c0e4aaf808547867dd7ce8cc3b4d0e"
> +
> +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}"
> +
> +do_configure() {
> + install -m 0644 "${WORKDIR}/defconfig" .config
> + oe_runmake oldconfig
> +}
> +
> +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/
> +}
> +
>
Only question would be did something need to change in defconfig with
1.9.0 for Xen?
--
Doug Goldstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 959 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20151222/e7606941/attachment.pgp>
More information about the meta-virtualization
mailing list