diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2021-12-01 17:41:30 +0100 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-12-01 23:02:57 -0500 |
commit | af89eb6d339571ff0cdcd2a77073d3ef8ca45cab (patch) | |
tree | 3fc4ef83efdc301529c9903384269ea81a6279d3 | |
parent | 8870b5ae0af9f69eb3543c0aea868f93c46cd7a2 (diff) | |
download | meta-virtualization-af89eb6d339571ff0cdcd2a77073d3ef8ca45cab.tar.gz |
dev86: add dependency on gperf-native
* fails to build on hosts without gperf:
/bin/sh: gperf: command not found
Makefile:27: recipe for target 'token2.h' failed
* normally this isn't triggered, because token[12].h
are included in git repo, but regenerating them fails:
tmp-glibc/work/x86_64-linux/dev86-native/0.16.21-r0/git/cpp$ touch token1.tok
tmp-glibc/work/x86_64-linux/dev86-native/0.16.21-r0/git/cpp$ make bcc-cpp
gperf -aptTc -N is_ctok -H hash1 token1.tok > tmp.h
/bin/sh: gperf: command not found
Makefile:23: recipe for target 'token1.h' failed
make: *** [token1.h] Error 127
* unfortunately this isn't enough, because new gperf 3.1 from oe-core
isn't compatible, we need to upgrade to different dev86 fork which
contains:
https://github.com/jbruchon/dev86/pull/19
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/dev86/dev86_0.16.21.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/dev86/dev86_0.16.21.bb b/recipes-extended/dev86/dev86_0.16.21.bb index cf64a9d1..def7c5cd 100644 --- a/recipes-extended/dev86/dev86_0.16.21.bb +++ b/recipes-extended/dev86/dev86_0.16.21.bb | |||
@@ -9,6 +9,8 @@ SRC_URI = "git://github.com/lkundrak/${BPN}.git;protocol=https" | |||
9 | 9 | ||
10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
11 | 11 | ||
12 | DEPENDS = "gperf-native" | ||
13 | |||
12 | BBCLASSEXTEND = "native" | 14 | BBCLASSEXTEND = "native" |
13 | EXTRA_OEMAKE = "VERSION=${PV} PREFIX=${prefix} DIST=${D} LDFLAGS='${LDFLAGS}'" | 15 | EXTRA_OEMAKE = "VERSION=${PV} PREFIX=${prefix} DIST=${D} LDFLAGS='${LDFLAGS}'" |
14 | 16 | ||