]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: drop target flex/bison from build dependencies
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 25 Aug 2021 11:37:49 +0000 (13:37 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Aug 2021 07:05:52 +0000 (08:05 +0100)
This lengthens dependency chains unnecessarily;
also -native versions are already included in DEPENDS via binutils.inc:

DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"

I have also checked that nothing in binutils needs anything from target
sysroots of flex/bison:
https://lists.openembedded.org/g/openembedded-core/message/155131

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/binutils/binutils_2.37.bb

index ff9377049b3c7f1fc19bdb9ea8b9e457367081c5..7430bf13425a893c19012452a788bd8e9fde78ee 100644 (file)
@@ -1,7 +1,7 @@
 require binutils.inc
 require binutils-${PV}.inc
 
-DEPENDS += "flex bison zlib"
+DEPENDS += "zlib"
 
 EXTRA_OECONF += "--with-sysroot=/ \
                 --enable-install-libbfd \