aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/gdb/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-29 19:25:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-29 19:25:34 +0000
commite6474b72fd6476725f4503ff8caa42dfde94ef63 (patch)
treea81675063e38c9bd370c02fe39705dd2e81fccf8 /package/devel/gdb/Makefile
parentbb83657bc0dd39eeeea40f54c818570cab7ce574 (diff)
downloadupstream-e6474b72fd6476725f4503ff8caa42dfde94ef63.tar.gz
upstream-e6474b72fd6476725f4503ff8caa42dfde94ef63.tar.bz2
upstream-e6474b72fd6476725f4503ff8caa42dfde94ef63.zip
gdb: use the libthread-db package instead of throwing the lib into the gdbserver package
SVN-Revision: 34000
Diffstat (limited to 'package/devel/gdb/Makefile')
-rw-r--r--package/devel/gdb/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile
index d9d69d955a..50d12fcbf7 100644
--- a/package/devel/gdb/Makefile
+++ b/package/devel/gdb/Makefile
@@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/gdb/Default
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=@!(avr32||cris)
+ DEPENDS:=@!(avr32||cris) +libthread-db
URL:=http://www.gnu.org/software/gdb/
endef
@@ -80,10 +80,6 @@ endef
define Package/gdbserver/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(1)/usr/bin/
-ifneq ($(CONFIG_USE_EGLIBC),)
- $(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(TOOLCHAIN_DIR)/lib/libthread_db* $(1)/usr/lib
-endif
endef
$(eval $(call BuildPackage,gdb))