Update buildroot & docker (#25)
* Update docker & buildroot * Fix * fix versions
This commit is contained in:
@@ -109,7 +109,7 @@ GDB_CONF_OPTS = \
|
||||
--without-x \
|
||||
--disable-sim \
|
||||
$(GDB_DISABLE_BINUTILS_CONF_OPTS) \
|
||||
$(if $(BR2_PACKAGE_GDB_SERVER),--enable-gdbserver) \
|
||||
$(if $(BR2_PACKAGE_GDB_SERVER),--enable-gdbserver,--disable-gdbserver) \
|
||||
--with-curses \
|
||||
--without-included-gettext \
|
||||
--disable-werror \
|
||||
@@ -164,6 +164,7 @@ else
|
||||
GDB_CONF_OPTS += --without-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GDB_PYTHON),)
|
||||
# This removes some unneeded Python scripts and XML target description
|
||||
# files that are not useful for a normal usage of the debugger.
|
||||
define GDB_REMOVE_UNNEEDED_FILES
|
||||
@@ -171,6 +172,7 @@ define GDB_REMOVE_UNNEEDED_FILES
|
||||
endef
|
||||
|
||||
GDB_POST_INSTALL_TARGET_HOOKS += GDB_REMOVE_UNNEEDED_FILES
|
||||
endif
|
||||
|
||||
# This installs the gdbserver somewhere into the $(HOST_DIR) so that
|
||||
# it becomes an integral part of the SDK, if the toolchain generated
|
||||
@@ -215,16 +217,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