summaryrefslogtreecommitdiff
path: root/package/gdb
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-05 11:46:58 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-05 15:04:27 +0200
commitc30bd14901e35303bfaeba65441d8bfadd206abf (patch)
tree6bd73caeeaa876e832b05e62112c8e1fee28c204 /package/gdb
parent0a19b777f106543bb3c02806572b52c8fdd8b4a3 (diff)
gdb: add dependency on host-flex and host-bison for Git versions
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@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/gdb.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index c9c6bd195..6d70955de 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