Changeset 35810


Ignore:
Timestamp:
2013-02-26T17:40:02+01:00 (5 years ago)
Author:
florian
Message:

toolchain: mark unavailable packages for musl libc

And make librt be an empty stub for musl libc.

Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/toolchain/Makefile

    r35069 r35810  
    173173define Package/libthread-db 
    174174$(call Package/libc/Default) 
     175  DEPENDS:=@!USE_MUSL 
    175176  TITLE:=POSIX thread library debugging support 
    176177endef 
     
    231232define Package/ldd 
    232233$(call Package/libc/Default) 
     234  DEPENDS:=@!USE_MUSL 
    233235  SECTION:=utils 
    234236  CATEGORY:=Utilities 
     
    259261define Package/ldconfig 
    260262$(call Package/libc/Default) 
     263  DEPENDS:=@!USE_MUSL 
    261264  SECTION:=utils 
    262265  CATEGORY:=Utilities 
     
    480483  define Package/librt/install 
    481484        $(INSTALL_DIR) $(1)/lib 
     485  ifneq ($(CONFIG_USE_MUSL),y) 
    482486        $(CP) \ 
    483487                $(TOOLCHAIN_DIR)/lib/librt.so.* \ 
    484488                $(TOOLCHAIN_DIR)/lib/librt-$(LIBC_SO_VERSION).so \ 
    485489                $(1)/lib/ 
     490  endif 
    486491  endef 
    487492 
Note: See TracChangeset for help on using the changeset viewer.