diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2018-04-28 21:07:58 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2018-04-28 21:08:24 +0200 |
commit | acd89bc2cb3e01782c4af6e06f90f4545cd07533 (patch) | |
tree | beb66f3bb4549785460d2367ab482c0a783bc09a /package | |
parent | 6962847629e7c88202d6b7d3e74a39fac2881837 (diff) |
riscv: add special case for ld.so
Diffstat (limited to 'package')
-rw-r--r-- | package/glibc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile index 9752a3277..b15b6012d 100644 --- a/package/glibc/Makefile +++ b/package/glibc/Makefile @@ -46,6 +46,10 @@ do-install: ifneq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y) ${INSTALL_DIR} ${IDIR_GLIBC}/$(ADK_TARGET_LIBC_PATH) $(CP) $(STAGING_TARGET_DIR)/lib/ld*.so* $(IDIR_GLIBC)/$(ADK_TARGET_LIBC_PATH) +ifeq ($(ADK_TARGET_ARCH_RISCV64),y) + ${INSTALL_DIR} ${IDIR_GLIBC}/$(ADK_TARGET_LIBC_PATH)/$(ADK_TARGET_ABI_RISCV) + $(CP) $(STAGING_TARGET_DIR)/lib/$(ADK_TARGET_ABI_RISCV)/ld*.so* ${IDIR_GLIBC}/$(ADK_TARGET_LIBC_PATH)/$(ADK_TARGET_ABI_RISCV) +endif for file in libc libpthread librt libcrypt libdl libm libanl libnsl libresolv libutil libnss_dns libnss_files; do \ $(CP) $(STAGING_TARGET_DIR)/$(ADK_TARGET_LIBC_ABI_PATH)/$$file.so* $(IDIR_GLIBC)/$(ADK_TARGET_LIBC_PATH); \ $(CP) $(STAGING_TARGET_DIR)/$(ADK_TARGET_LIBC_ABI_PATH)/$$file-$(PKG_GLIBCVER).so $(IDIR_GLIBC)/$(ADK_TARGET_LIBC_PATH); \ |