gdb: use the libthread-db package instead of throwing the lib into the gdbserver package
SVN-Revision: 34000
This commit is contained in:
parent
bb83657bc0
commit
e6474b72fd
1 changed files with 1 additions and 5 deletions
|
@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
define Package/gdb/Default
|
define Package/gdb/Default
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=@!(avr32||cris)
|
DEPENDS:=@!(avr32||cris) +libthread-db
|
||||||
URL:=http://www.gnu.org/software/gdb/
|
URL:=http://www.gnu.org/software/gdb/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -80,10 +80,6 @@ endef
|
||||||
define Package/gdbserver/install
|
define Package/gdbserver/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(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
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gdb))
|
$(eval $(call BuildPackage,gdb))
|
||||||
|
|
Loading…
Reference in a new issue