Skip to contentSkip to conversation

seabios: update to 1.11.2 and use github for SRC_URI

PATCH In review [email protected] 2 participants 2 messages Sep 19, 2018 – Sep 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 seabios: update to 1.11.2 and use github for SRC_URI

From: Christopher Clark <[email protected]>

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.

---

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
 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
recipes-extended/seabios/seabios_1.11.2.bb new file +44 -0
new file mode 100644
index 0000000..4ea9eb7
@@ -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/
+}
+
recipes-extended/seabios/seabios_1.9.1.bb deleted +0 -43

43 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw
Quoted 13 lines · On Wed, Sep 19, 2018 at 4:57 PM, <[email protected]> wrote:

From: Christopher Clark <[email protected]>

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.

---

Quoted 8 lines

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

Quoted 109 lines
 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
recipes-extended/seabios/seabios_1.11.2.bb new file +44 -0
new file mode 100644
index 0000000..4ea9eb7
@@ -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/
+}
+
recipes-extended/seabios/seabios_1.9.1.bb deleted +0 -44
deleted file mode 100644
index 77e8f34..0000000
@@ -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

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"