[Buildroot] [git commit] gdb: fix target gdb building from git

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Mar 16 21:10:23 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=155a474f993b207594b0c66f80910d280b609866
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Currently we only add "host-texinfo" dependency for host GDB built
from git sources. But in case of target gdb texinfo won't be built
and so gdb building will fail on attempt to build documentation.

Fix is trivial - add "host-texinfo" as a dependency for target gdb
in the sme way as we disable documentation building via both
GDB_CONF_ENV (for target) and HOST_GDB_CONF_ENV (host) GDB flavors.

Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
Cc: Anton Kolesov <akolesov at synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Peter Korsgaard <peter at korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/gdb/gdb.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 6a192fb..58f0631 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -151,6 +151,7 @@ else
 endif
 
 ifeq ($(GDB_FROM_GIT),y)
+GDB_DEPENDENCIES += host-texinfo
 HOST_GDB_DEPENDENCIES += host-texinfo
 else
 # don't generate documentation


More information about the buildroot mailing list