]> code.ossystems Code Review - openembedded-core.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>
Thu, 11 Jan 2018 23:22:43 +0000 (23:22 +0000)
commit5f4b54a234ad7a859db8a1e23c6892a8b3bc1b52
treeeab0cb0ccf95d1fe2efa71e52de6c96730220856
parentbead76b50dc60e1b6b39fa5b659a7af44ff91adc
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.

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