summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-04 21:24:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-04 21:24:03 +0200
commit07048a5a9bc36bd29d191abaa60d6eed45b84e64 (patch)
tree1fe9299562d67abf074aacd9ed6024de2f131a64
parent7fdfda3dbf7410368f2776c48aeac555a0902fb8 (diff)
disable gdbserver only for musl
-rw-r--r--package/gdb/Makefile7
-rw-r--r--package/gdbserver/Makefile3
2 files changed, 7 insertions, 3 deletions
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 \
diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile
index c70965e1b..353148913 100644
--- a/package/gdbserver/Makefile
+++ b/package/gdbserver/Makefile
@@ -9,8 +9,7 @@ PKG_DESCR:= remote programm debugger utility
PKG_SECTION:= app/debug
PKG_DEPENDS:= libthread-db
-PKG_ARCH_DEPENDS:= !m68k
-PKG_LIBC_DEPENDS:= uclibc glibc uclibc-ng
+PKG_LIBC_DEPENDS:= !musl
PKG_SUBPKGS:= GDBSERVER
WRKSRC= ${WRKDIST}/gdb/gdbserver