Skip to content
Snippets Groups Projects
Commit f880c499 authored by Florian Fainelli's avatar Florian Fainelli
Browse files

toolchain: mark unavailable packages for musl libc


And make librt be an empty stub for musl libc.

Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>

SVN-Revision: 35810
parent a2abc431
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,7 @@ endef
define Package/libthread-db
$(call Package/libc/Default)
DEPENDS:=@!USE_MUSL
TITLE:=POSIX thread library debugging support
endef
......@@ -230,6 +231,7 @@ endef
define Package/ldd
$(call Package/libc/Default)
DEPENDS:=@!USE_MUSL
SECTION:=utils
CATEGORY:=Utilities
TITLE:=LDD trace utility
......@@ -258,6 +260,7 @@ endef
define Package/ldconfig
$(call Package/libc/Default)
DEPENDS:=@!USE_MUSL
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Shared library path configuration
......@@ -479,10 +482,12 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
define Package/librt/install
$(INSTALL_DIR) $(1)/lib
ifneq ($(CONFIG_USE_MUSL),y)
$(CP) \
$(TOOLCHAIN_DIR)/lib/librt.so.* \
$(TOOLCHAIN_DIR)/lib/librt-$(LIBC_SO_VERSION).so \
$(1)/lib/
endif
endef
define Package/ldd/install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment