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 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 26 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" |
| 27 | |
Patrick Williams | d849ec7 | 2016-08-17 14:59:38 -0500 | [diff] [blame] | 28 | do_configure() { |
| 29 | oe_runmake defconfig |
| 30 | } |
| 31 | |
| 32 | do_compile() { |
| 33 | unset CPP |
| 34 | unset CPPFLAGS |
| 35 | oe_runmake |
| 36 | } |
| 37 | |
| 38 | do_install() { |
| 39 | oe_runmake |
| 40 | install -d ${D}/usr/share/firmware |
| 41 | install -m 0644 out/bios.bin ${D}/usr/share/firmware/ |
| 42 | } |
| 43 | |