[Buildroot] [git commit] gdb: add dependency on host-flex and host-bison for Git versions

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 5 13:04:27 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=c30bd14901e35303bfaeba65441d8bfadd206abf
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

gdb versions fetched from git (such as the ARC version) will not build
with host-flex and host-bison.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Reviewed-by: Romain Naour <romain.naour at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/gdb/gdb.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index c9c6bd1..6d70955 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -49,8 +49,8 @@ HOST_GDB_PRE_PATCH_HOOKS += GDB_XTENSA_PRE_PATCH
 endif
 
 ifeq ($(GDB_FROM_GIT),y)
-GDB_DEPENDENCIES += host-texinfo
-HOST_GDB_DEPENDENCIES += host-texinfo
+GDB_DEPENDENCIES += host-texinfo host-flex host-bison
+HOST_GDB_DEPENDENCIES += host-texinfo host-flex host-bison
 endif
 
 # When gdb sources are fetched from the binutils-gdb repository, they


More information about the buildroot mailing list