Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -37,12 +37,11 @@ endif
|
||||
# also need ncurses.
|
||||
HOST_GDB_DEPENDENCIES = host-expat host-ncurses
|
||||
|
||||
# Starting with gdb 7.10, gdb wants to re-generate its documentation.
|
||||
# We were trying to avoid that by patching the Makefiles, but it wasn't
|
||||
# working in all situations. So, we simply add a dependency on
|
||||
# host-texinfo in all case.
|
||||
GDB_DEPENDENCIES += host-texinfo
|
||||
HOST_GDB_DEPENDENCIES += host-texinfo
|
||||
# Disable building documentation
|
||||
GDB_MAKE_OPTS += MAKEINFO=true
|
||||
GDB_INSTALL_TARGET_OPTS += MAKEINFO=true DESTDIR=$(TARGET_DIR) install
|
||||
HOST_GDB_MAKE_OPTS += MAKEINFO=true
|
||||
HOST_GDB_INSTALL_OPTS += MAKEINFO=true install
|
||||
|
||||
# Apply the Xtensa specific patches
|
||||
XTENSA_CORE_NAME = $(call qstrip, $(BR2_XTENSA_CORE_NAME))
|
||||
@@ -101,6 +100,19 @@ GDB_CONF_OPTS = \
|
||||
--disable-werror \
|
||||
--enable-static
|
||||
|
||||
# When gdb is built as C++ application for ARC it segfaults at runtime
|
||||
# So we pass --disable-build-with-cxx config option to force gdb not to
|
||||
# be built as C++ app.
|
||||
ifeq ($(BR2_arc),y)
|
||||
GDB_CONF_OPTS += --disable-build-with-cxx
|
||||
endif
|
||||
|
||||
# gdb 7.12+ by default builds with a C++ compiler, which doesn't work
|
||||
# when we don't have C++ support in the toolchain
|
||||
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
GDB_CONF_OPTS += --disable-build-with-cxx
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GDB_TUI),y)
|
||||
GDB_CONF_OPTS += --enable-tui
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user