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>
This commit is contained in:
Martin Jansa 2021-05-14 11:51:55 +02:00 committed by Bruce Ashfield
parent 343665d403
commit 23ea2ea679

View File

@ -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}'"