From 07048a5a9bc36bd29d191abaa60d6eed45b84e64 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 4 Sep 2014 21:24:03 +0200 Subject: disable gdbserver only for musl --- package/gdb/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'package/gdb') diff --git a/package/gdb/Makefile b/package/gdb/Makefile index 236ad8470..070961589 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -18,6 +18,12 @@ include ${ADK_TOPDIR}/mk/package.mk $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +ifeq ($(ADK_TARGET_LIB_MUSL),y) +CONFIGURE_ARGS+= --disable-gdbserver +else +CONFIGURE_ARGS+= --enable-gdbserver +endif + TARGET_CFLAGS+= ${TARGET_CPPFLAGS} -fPIC CONFIGURE_ARGS+= --without-uiout \ --disable-tui \ @@ -25,7 +31,6 @@ CONFIGURE_ARGS+= --without-uiout \ --without-x \ --disable-sim \ --disable-werror \ - --disable-gdbserver \ --without-python \ --without-included-gettext \ --without-auto-load-safe-path \ -- cgit v1.2.3