define Package/libpthread
$(call Package/libc/Default)
TITLE:=POSIX thread library
- DEPENDS:= +librt
endef
define Package/libpthread/config
define Package/librt
$(call Package/libc/Default)
TITLE:=POSIX.1b RealTime extension library
+ DEPENDS:=+libpthread
endef
define Package/librt/config
use_nsswitch=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_NSSWITCH),libnss_dns libnss_files)
define Package/glibc/install
+ $(CP) ./glibc-files/* $(1)/
$(INSTALL_DIR) $(1)/lib
$(CP) \
$(TOOLCHAIN_DIR)/lib/ld*.so.* \
$(TOOLCHAIN_DIR)/lib/libc.so.* \
$(TOOLCHAIN_DIR)/lib/libuClibc-$(LIBC_SO_VERSION).so \
$(1)/lib/
- for file in libcrypt libdl libm libnsl libresolv libutil; do \
+ for file in libcrypt libdl libm libutil; do \
$(CP) \
$(TOOLCHAIN_DIR)/lib/$$$$file.so.* \
$(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so \