mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
toolchain: add a package for libthread_db
SVN-Revision: 33999
This commit is contained in:
parent
bf9f43e912
commit
bb83657bc0
@ -170,6 +170,11 @@ define Package/libpthread/config
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
define Package/libthread-db
|
||||||
|
$(call Package/libc/Default)
|
||||||
|
TITLE:=POSIX thread library debugging support
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/librt
|
define Package/librt
|
||||||
$(call Package/libc/Default)
|
$(call Package/libc/Default)
|
||||||
TITLE:=POSIX.1b RealTime extension library
|
TITLE:=POSIX.1b RealTime extension library
|
||||||
@ -445,6 +450,14 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
|
|||||||
$(1)/lib/
|
$(1)/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/libthread-db/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib
|
||||||
|
$(CP) \
|
||||||
|
$(TOOLCHAIN_DIR)/lib/libthread_db.so.* \
|
||||||
|
$(TOOLCHAIN_DIR)/lib/libthread_db-$(LIBC_SO_VERSION).so \
|
||||||
|
$(1)/lib/
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libpthread/install_lib
|
define Package/libpthread/install_lib
|
||||||
$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libpthread_so.a),$(CP) $(TOOLCHAIN_DIR)/lib/libpthread_so.a $(1)/lib/libpthread_pic.a)
|
$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libpthread_so.a),$(CP) $(TOOLCHAIN_DIR)/lib/libpthread_so.a $(1)/lib/libpthread_pic.a)
|
||||||
endef
|
endef
|
||||||
@ -556,6 +569,7 @@ $(eval $(call BuildPackage,libgcc))
|
|||||||
$(eval $(call BuildPackage,libssp))
|
$(eval $(call BuildPackage,libssp))
|
||||||
$(eval $(call BuildPackage,libstdcpp))
|
$(eval $(call BuildPackage,libstdcpp))
|
||||||
$(eval $(call BuildPackage,libpthread))
|
$(eval $(call BuildPackage,libpthread))
|
||||||
|
$(eval $(call BuildPackage,libthread-db))
|
||||||
$(eval $(call BuildPackage,librt))
|
$(eval $(call BuildPackage,librt))
|
||||||
$(eval $(call BuildPackage,libgfortran))
|
$(eval $(call BuildPackage,libgfortran))
|
||||||
$(eval $(call BuildPackage,ldd))
|
$(eval $(call BuildPackage,ldd))
|
||||||
|
Loading…
Reference in New Issue
Block a user