blob: 5c095ac2893269af1665d796f283acca13568df8 [file] [log] [blame]
Patrick Williamsd849ec72016-08-17 14:59:38 -05001DESCRIPTION = "SeaBIOS"
2HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
3LICENSE = "LGPLv3"
4SECTION = "firmware"
5
6SRC_URI = " \
7 http://code.coreboot.org/p/seabios/downloads/get/${PN}-${PV}.tar.gz \
8 file://hostcc.patch \
9 "
10
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
12 file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6 \
13 "
14
15SRC_URI[md5sum] = "e21b6f3e54d492be837ef20d66617f81"
16SRC_URI[sha256sum] = "8a2a562fe5cfd37fe8327cdc4a60accdfe441e235b29e6999fdeb442ba98d608"
17
18FILES_${PN} = "/usr/share/firmware"
19
20DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native iasl-native python-native"
21
22TUNE_CCARGS = ""
23EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'"
24EXTRA_OEMAKE += "CROSS_PREFIX=${TARGET_PREFIX}"
25
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
27
Patrick Williamsd849ec72016-08-17 14:59:38 -050028do_configure() {
29 oe_runmake defconfig
30}
31
32do_compile() {
33 unset CPP
34 unset CPPFLAGS
35 oe_runmake
36}
37
38do_install() {
39 oe_runmake
40 install -d ${D}/usr/share/firmware
41 install -m 0644 out/bios.bin ${D}/usr/share/firmware/
42}
43