diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-02-26 16:40:02 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-02-26 16:40:02 +0000 |
commit | 05d6bc87c3ab17a2024b90d68db051457fb71e87 (patch) | |
tree | b5c39d214e9651acc0dddf4039ed187a7e6ea3e1 /package | |
parent | e7d8a74c4921725e91e3d6dbcebde1353ec65da8 (diff) | |
download | upstream-05d6bc87c3ab17a2024b90d68db051457fb71e87.tar.gz upstream-05d6bc87c3ab17a2024b90d68db051457fb71e87.tar.bz2 upstream-05d6bc87c3ab17a2024b90d68db051457fb71e87.zip |
toolchain: mark unavailable packages for musl libc
And make librt be an empty stub for musl libc.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35810 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/toolchain/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile index ec5508a754..b9d582ee4d 100644 --- a/package/toolchain/Makefile +++ b/package/toolchain/Makefile @@ -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 |