]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
at: explicitly depend on bison-native for deterministic builds
authorDenys Dmytriyenko <denys@ti.com>
Tue, 9 Jan 2018 22:24:21 +0000 (17:24 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jan 2018 23:22:43 +0000 (23:22 +0000)
Usually bison-native gets into sysroot through indirect dependencies,
even with RSS. But when bison-native is not in sysroot, due to different
system config, it falls back to using "yacc" instead and fails like this:

| yacc -d parsetime.y
| make: yacc: Command not found
| Makefile:82: recipe for target 'y.tab.c' failed
| make: *** [y.tab.c] Error 127

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

index 9b537eed5ee528dbc7efc24bc634f0cb5847725e..8fe3b437e60a1d3fb74854c045f23844c44eefce 100644 (file)
@@ -5,7 +5,7 @@ the system load levels drop to a particular level."
 SECTION = "base"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
-DEPENDS = "flex flex-native \
+DEPENDS = "flex flex-native bison-native \
            ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
 RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \