[docker-base]: Install gdbserver if INSTALL_DEBUG_TOOLS=y (#2448)

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
This commit is contained in:
stepanblyschak 2019-01-16 01:29:52 +02:00 committed by lguohan
parent 3c67c70c34
commit 878c5237ba

View File

@ -8,11 +8,12 @@ $(DOCKER_BASE)_DEPENDS += $(SOCAT)
ifeq ($(INSTALL_DEBUG_TOOLS),y) ifeq ($(INSTALL_DEBUG_TOOLS),y)
GDB = gdb GDB = gdb
GDBSERVER = gdbserver
VIM = vim VIM = vim
OPENSSH = openssh-client OPENSSH = openssh-client
SSHPASS = sshpass SSHPASS = sshpass
STRACE = strace STRACE = strace
$(DOCKER_BASE)_DBG_PACKAGES += $(GDB) $(VIM) $(OPENSSH) $(SSHPASS) $(STRACE) $(DOCKER_BASE)_DBG_PACKAGES += $(GDB) $(GDBSERVER) $(VIM) $(OPENSSH) $(SSHPASS) $(STRACE)
endif endif
SONIC_DOCKER_IMAGES += $(DOCKER_BASE) SONIC_DOCKER_IMAGES += $(DOCKER_BASE)