1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:23:09 +02:00

gdb: use the libthread-db package instead of throwing the lib into the gdbserver package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34000 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-10-29 19:25:34 +00:00
parent 7f8284a728
commit aa58b4fa3f

View File

@ -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))