meta-virtualization/recipes-extended/vgabios/vgabios_0.8a.bb
Ross Burton 8386caefb7 vgabios: upgrade to 0.8a and cleanup recipe
Upgrade to 0.8a.

License checksum updated as the FSF street address changed.

Apply a patch to use the correct host compiler when building biossums,
removing the need for a separate biossums-native recipe.

Don't hardcode /usr/share, use ${datadir}.

Install all found firmware (including the new Banshee BIOS in 0.8a) and
the debug files which were not installed but intended to be packaged.

Remove redundant PR and S assignments, as these are the default values.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-02 14:07:30 -04:00

26 lines
790 B
BlitzBasic

DESCRIPTION = "Plex86/Bochs LGPL VGABios"
HOMEPAGE = "http://www.nongnu.org/vgabios/"
LICENSE = "LGPL-2.1-only"
SECTION = "firmware"
DEPENDS = "dev86-native"
LIC_FILES_CHKSUM = "file://COPYING;md5=fae731a3adbc92fd8bb1730d1f2455bc"
SRC_URI = "http://savannah.gnu.org/download/vgabios/${BP}.tgz \
file://build-cc.patch"
SRC_URI[sha256sum] = "481042240ef0f1c918780c92a6bb42ad4d3f5d989b29502fa7ee7faf13a041b9"
EXTRA_OEMAKE = "HOSTCC="${BUILD_CC}""
do_install() {
install -d ${D}${datadir}/firmware
for file in VGABIOS*.bin; do
target=$(echo $file | sed s/VGABIOS-lgpl-latest/${BP}/)
install -m0644 $file ${D}${datadir}/firmware/$target
done
}
FILES:${PN} = "${datadir}/firmware/${BP}*.bin"
FILES:${PN}-dbg = "${datadir}/firmware/${BP}*.debug.bin"