aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/vgabios/vgabios_0.7a.bb
diff options
context:
space:
mode:
authorChristopher Clark <christopher.clark6@baesystems.com>2017-08-23 14:43:32 -0700
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-08-24 09:55:40 -0400
commit140c6836ed5ba04383d18236840b4f86d6008278 (patch)
tree4aeb59ceaf8b3f11a3775a3508046d08018a2b3b /recipes-extended/vgabios/vgabios_0.7a.bb
parentaecdc17e0d9202954e8a8bf9cd80c0cb3505db41 (diff)
downloadmeta-virtualization-140c6836ed5ba04383d18236840b4f86d6008278.tar.gz
meta-virtualization-140c6836ed5ba04383d18236840b4f86d6008278.tar.bz2
meta-virtualization-140c6836ed5ba04383d18236840b4f86d6008278.zip
vgabios : extract biossums tool and build it separately, native
The biossums tool is used to generate the vgabios build product. This patch: * adds a separate recipe "biossums" for the tool * makes the vgabios recipe depend upon biossums-native * makes the vgabios recipe use the native binary rather than a locally built one The upstream source tarball contains binaries so these are removed before compiling proceeds. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/vgabios/vgabios_0.7a.bb')
-rw-r--r--recipes-extended/vgabios/vgabios_0.7a.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-extended/vgabios/vgabios_0.7a.bb b/recipes-extended/vgabios/vgabios_0.7a.bb
index 0ed8bb4..8c89041 100644
--- a/recipes-extended/vgabios/vgabios_0.7a.bb
+++ b/recipes-extended/vgabios/vgabios_0.7a.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.nongnu.org/vgabios/"
LICENSE = "LGPLv2.1"
SECTION = "firmware"
-DEPENDS = "dev86-native"
+DEPENDS = "dev86-native biossums-native"
LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589"
@@ -20,7 +20,9 @@ FILES_${PN}-dbg = "/usr/share/firmware/${PN}-${PV}*.debug.bin"
S = "${WORKDIR}/${PN}-${PV}"
do_configure() {
- echo "Skip do_configure"
+ # Override to use the native-built biossums tool:
+ sed 's,./biossums,biossums,' -i Makefile
+ sed 's,$(CC) -o biossums biossums.c,touch biossums,' -i Makefile
}
do_install() {