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