Bump buildroot to 2019.02
This commit is contained in:
@@ -87,6 +87,16 @@ GDB_CONF_ENV = \
|
||||
GDB_CONF_ENV += gl_cv_func_gettimeofday_clobber=no
|
||||
GDB_MAKE_ENV += gl_cv_func_gettimeofday_clobber=no
|
||||
|
||||
# Similarly, starting with gdb 8.1, the bundled gnulib tries to use
|
||||
# rpl_strerror. Let's tell gnulib the C library implementation works
|
||||
# well enough.
|
||||
GDB_CONF_ENV += \
|
||||
gl_cv_func_working_strerror=yes \
|
||||
gl_cv_func_strerror_0_works=yes
|
||||
GDB_MAKE_ENV += \
|
||||
gl_cv_func_working_strerror=yes \
|
||||
gl_cv_func_strerror_0_works=yes
|
||||
|
||||
# Starting with glibc 2.25, the proc_service.h header has been copied
|
||||
# from gdb to glibc so other tools can use it. However, that makes it
|
||||
# necessary to make sure that declaration of prfpregset_t declaration
|
||||
@@ -113,7 +123,8 @@ GDB_CONF_OPTS = \
|
||||
--with-curses \
|
||||
--without-included-gettext \
|
||||
--disable-werror \
|
||||
--enable-static
|
||||
--enable-static \
|
||||
--without-mpfr
|
||||
|
||||
# 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
|
||||
@@ -128,6 +139,11 @@ ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
GDB_CONF_OPTS += --disable-build-with-cxx
|
||||
endif
|
||||
|
||||
# inprocess-agent can't be built statically
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
GDB_CONF_OPTS += --disable-inprocess-agent
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GDB_TUI),y)
|
||||
GDB_CONF_OPTS += --enable-tui
|
||||
else
|
||||
@@ -202,6 +218,7 @@ HOST_GDB_CONF_OPTS = \
|
||||
--disable-werror \
|
||||
--without-included-gettext \
|
||||
--with-curses \
|
||||
--without-mpfr \
|
||||
$(GDB_DISABLE_BINUTILS_CONF_OPTS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_GDB_TUI),y)
|
||||
@@ -217,16 +234,8 @@ else
|
||||
HOST_GDB_CONF_OPTS += --without-python
|
||||
endif
|
||||
|
||||
# workaround a bug if in-tree build is used for bfin sim
|
||||
define HOST_GDB_BFIN_SIM_WORKAROUND
|
||||
$(RM) $(@D)/sim/common/tconfig.h
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_GDB_SIM),y)
|
||||
HOST_GDB_CONF_OPTS += --enable-sim
|
||||
ifeq ($(BR2_bfin),y)
|
||||
HOST_GDB_PRE_CONFIGURE_HOOKS += HOST_GDB_BFIN_SIM_WORKAROUND
|
||||
endif
|
||||
else
|
||||
HOST_GDB_CONF_OPTS += --disable-sim
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user