From af89eb6d339571ff0cdcd2a77073d3ef8ca45cab Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 1 Dec 2021 17:41:30 +0100 Subject: 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 Signed-off-by: Bruce Ashfield --- recipes-extended/dev86/dev86_0.16.21.bb | 2 ++ 1 file changed, 2 insertions(+) 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" S = "${WORKDIR}/git" +DEPENDS = "gperf-native" + BBCLASSEXTEND = "native" EXTRA_OEMAKE = "VERSION=${PV} PREFIX=${prefix} DIST=${D} LDFLAGS='${LDFLAGS}'" -- cgit v1.2.3-54-g00ecf