mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
seabios: upgrade to version 1.13.0 at official URI and switch to python3
Use native python3 for the build as python2 no longer available. Official seabios release SRC_URI fixes QA warning about using GitHub archives. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
a3b36fbb1f
commit
643058d5a5
13
recipes-extended/seabios/seabios/python3.patch
Normal file
13
recipes-extended/seabios/seabios/python3.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 516cb38..7f6acaa 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -22,7 +22,7 @@ LD=$(CROSS_PREFIX)ld
|
||||||
|
OBJCOPY=$(CROSS_PREFIX)objcopy
|
||||||
|
OBJDUMP=$(CROSS_PREFIX)objdump
|
||||||
|
STRIP=$(CROSS_PREFIX)strip
|
||||||
|
-PYTHON=python
|
||||||
|
+PYTHON=python3
|
||||||
|
CPP=$(CROSS_PREFIX)cpp
|
||||||
|
IASL:=iasl
|
||||||
|
LD32BIT_FLAG:=-melf_i386
|
|
@ -3,22 +3,25 @@ HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
|
||||||
LICENSE = "LGPLv3"
|
LICENSE = "LGPLv3"
|
||||||
SECTION = "firmware"
|
SECTION = "firmware"
|
||||||
|
|
||||||
|
inherit python3native
|
||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
https://github.com/qemu/seabios/archive/rel-${PV}.tar.gz \
|
https://www.seabios.org/downloads/seabios-${PV}.tar.gz \
|
||||||
file://hostcc.patch \
|
file://hostcc.patch \
|
||||||
|
file://python3.patch \
|
||||||
"
|
"
|
||||||
S = "${WORKDIR}/${PN}-rel-${PV}"
|
S = "${WORKDIR}/${PN}-${PV}"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
|
||||||
file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \
|
file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "3f78065837dbd8873513a1b7d5276e78"
|
SRC_URI[md5sum] = "1dc1725bac1d230bfd6b3204eed4f2f7"
|
||||||
SRC_URI[sha256sum] = "73e73c8e406d97265782f6c942b3c1d178ed4f4afc9f381b22336c3968291693"
|
SRC_URI[sha256sum] = "37673dc2d6308591b15bdb94e5bcc3e99bdb40198d2247733c43f50b55dbe703"
|
||||||
|
|
||||||
FILES_${PN} = "/usr/share/firmware"
|
FILES_${PN} = "/usr/share/firmware"
|
||||||
|
|
||||||
DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native acpica-native python-native"
|
DEPENDS += "util-linux-native file-native bison-native flex-native gettext-native acpica-native"
|
||||||
|
|
||||||
TUNE_CCARGS = ""
|
TUNE_CCARGS = ""
|
||||||
EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'"
|
EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'"
|
Loading…
Reference in New Issue
Block a user