gdb: get rid of host-texinfo dependency

The host-texinfo dependency in gdb/host-gdb was added because gdb insisted
in building info documentation in recent versions, and we want to avoid
'makeinfo' to be present on the build system.

However, there is another solution that does not require actually building
host-texinfo: instruct the makefiles to use a dummy makeinfo command
('true').

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas De Schampheleire 2016-10-08 21:03:31 +02:00 committed by Thomas Petazzoni
parent 8a45d08c4a
commit 12306a81f8

View File

@ -37,12 +37,11 @@ endif
# also need ncurses. # also need ncurses.
HOST_GDB_DEPENDENCIES = host-expat host-ncurses HOST_GDB_DEPENDENCIES = host-expat host-ncurses
# Starting with gdb 7.10, gdb wants to re-generate its documentation. # Disable building documentation
# We were trying to avoid that by patching the Makefiles, but it wasn't GDB_MAKE_OPTS += MAKEINFO=true
# working in all situations. So, we simply add a dependency on GDB_INSTALL_TARGET_OPTS += MAKEINFO=true
# host-texinfo in all case. HOST_GDB_MAKE_OPTS += MAKEINFO=true
GDB_DEPENDENCIES += host-texinfo HOST_GDB_INSTALL_OPTS += MAKEINFO=true
HOST_GDB_DEPENDENCIES += host-texinfo
# Apply the Xtensa specific patches # Apply the Xtensa specific patches
XTENSA_CORE_NAME = $(call qstrip, $(BR2_XTENSA_CORE_NAME)) XTENSA_CORE_NAME = $(call qstrip, $(BR2_XTENSA_CORE_NAME))