[Buildroot] [PATCH 4/5] gdb: add dependency on host-flex and host-bison for Git versions
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jul 5 09:46:58 UTC 2016
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>
---
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
--
2.7.4
More information about the buildroot
mailing list