]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: explicitly depend on bison-native for deterministic builds
authorDenys Dmytriyenko <denys@ti.com>
Mon, 19 Feb 2018 23:54:15 +0000 (18:54 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Feb 2018 10:31:35 +0000 (10:31 +0000)
commitd26b700553fe8fa21c2e42b04e11bb380d94ef36
treef2c821ebe537931cc5faf7553676271009d3c661
parentfd87ebd7e8906e047620c2d4afa62337b5521e6f
kernel.bbclass: explicitly depend on bison-native for deterministic builds

Explicitly depend on bison-native for deterministic builds, as it is required
for the build:

|   HOSTCC  scripts/basic/fixdep
|   GEN     ./Makefile
|   HOSTCC  scripts/kconfig/conf.o
|   YACC    scripts/kconfig/zconf.tab.c
| /bin/sh: bison: command not found
| scripts/Makefile.lib:217: recipe for target 'scripts/kconfig/zconf.tab.c' failed

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

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel.bbclass