blob: 88f29639fa1cd2aa798c146e284c867426c6c4a0 [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
26do_configure() {
27 oe_runmake defconfig
28}
29
30do_compile() {
31 unset CPP
32 unset CPPFLAGS
33 oe_runmake
34}
35
36do_install() {
37 oe_runmake
38 install -d ${D}/usr/share/firmware
39 install -m 0644 out/bios.bin ${D}/usr/share/firmware/
40}
41