|
|
@ -428,6 +428,9 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) |
|
|
|
$(1)/lib/
|
|
|
|
$(1)/lib/
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LD_MUSL_NAME = $(notdir $(firstword $(wildcard $(TOOLCHAIN_DIR)/lib/ld-musl-*.so*)))
|
|
|
|
|
|
|
|
$(warning LD_MUSL_NAME='$(LD_MUSL_NAME)')
|
|
|
|
|
|
|
|
|
|
|
|
define Package/musl/install
|
|
|
|
define Package/musl/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib
|
|
|
|
$(INSTALL_DIR) $(1)/lib
|
|
|
|
$(CP) \
|
|
|
|
$(CP) \
|
|
|
@ -436,6 +439,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) |
|
|
|
$(CP) \
|
|
|
|
$(CP) \
|
|
|
|
$(TOOLCHAIN_DIR)/lib/libc.so* \
|
|
|
|
$(TOOLCHAIN_DIR)/lib/libc.so* \
|
|
|
|
$(1)/lib/
|
|
|
|
$(1)/lib/
|
|
|
|
|
|
|
|
$(if $(findstring -sf.so,$(LD_MUSL_NAME)),ln -s $(LD_MUSL_NAME) $(1)/lib/$(subst -sf.so,.so,$(LD_MUSL_NAME)))
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/libc/install
|
|
|
|
define Package/libc/install
|
|
|
|