]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
perf: depend on native versions of bison and flex
authorDenys Dmytriyenko <denys@ti.com>
Wed, 10 Jan 2018 05:09:00 +0000 (00:09 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Jan 2018 10:15:20 +0000 (10:15 +0000)
commit9ab7895b0353940220b1116167919dcf49754652
treec69028fcb91974ba1e842b4b0d501b1da4dd679c
parentbaac402fd218f5ff66bc05ee9a2f72d61308feac
perf: depend on native versions of bison and flex

Explicitly depend on bison-native and flex-native for deterministic builds,
as those are required for the build:

| Makefile.config:129: *** Error: flex is missing on this system, please install it.  Stop.
| Makefile.perf:205: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:68: recipe for target 'all' failed
| make: *** [all] Error 2

| Makefile.config:133: *** Error: bison is missing on this system, please install it.  Stop.
| Makefile.perf:205: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:68: recipe for target 'all' failed
| make: *** [all] Error 2

In most cases, those dependencies come indirectly via toolchain dependencies,
specifically binutils-cross, which pulls both bison-native and flex-native.
Different setups, such as with external toolchain, would expose this problem,
since correct dependency is not marked explicitly.

The change is build-tested on all qemu architectures.

(From OE-Core rev: 5f4b54a234ad7a859db8a1e23c6892a8b3bc1b52)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb