diff options
Diffstat (limited to 'recipes-extended/seabios/seabios_1.14.0.bb')
| -rw-r--r-- | recipes-extended/seabios/seabios_1.14.0.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes-extended/seabios/seabios_1.14.0.bb b/recipes-extended/seabios/seabios_1.14.0.bb new file mode 100644 index 00000000..1591cb62 --- /dev/null +++ b/recipes-extended/seabios/seabios_1.14.0.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | DESCRIPTION = "SeaBIOS" | ||
| 2 | HOMEPAGE = "http://www.coreboot.org/SeaBIOS" | ||
| 3 | LICENSE = "LGPLv3" | ||
| 4 | SECTION = "firmware" | ||
| 5 | |||
| 6 | inherit python3native | ||
| 7 | |||
| 8 | SRC_URI = " \ | ||
| 9 | https://www.seabios.org/downloads/seabios-${PV}.tar.gz \ | ||
| 10 | file://hostcc.patch \ | ||
| 11 | file://python3.patch \ | ||
| 12 | " | ||
| 13 | S = "${WORKDIR}/${PN}-${PV}" | ||
| 14 | |||
| 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 16 | file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \ | ||
| 17 | " | ||
| 18 | |||
| 19 | SRC_URI[md5sum] = "9df3b7de6376850d09161137e7a9b61f" | ||
| 20 | SRC_URI[sha256sum] = "eb70cc62b29aa83e10a653233acebf4bb154d00d0c87dc2a2c6e2da75e5e81fd" | ||
| 21 | |||
| 22 | FILES_${PN} = "/usr/share/firmware" | ||
| 23 | |||
| 24 | DEPENDS += "util-linux-native file-native bison-native flex-native gettext-native acpica-native" | ||
| 25 | |||
| 26 | TUNE_CCARGS = "" | ||
| 27 | EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'" | ||
| 28 | EXTRA_OEMAKE += "CROSS_PREFIX=${TARGET_PREFIX}" | ||
| 29 | |||
| 30 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | ||
| 31 | |||
| 32 | do_configure() { | ||
| 33 | oe_runmake defconfig | ||
| 34 | } | ||
| 35 | |||
| 36 | do_compile() { | ||
| 37 | unset CPP | ||
| 38 | unset CPPFLAGS | ||
| 39 | oe_runmake | ||
| 40 | } | ||
| 41 | |||
| 42 | do_install() { | ||
| 43 | oe_runmake | ||
| 44 | install -d ${D}/usr/share/firmware | ||
| 45 | install -m 0644 out/bios.bin ${D}/usr/share/firmware/ | ||
| 46 | } | ||
| 47 | |||
