diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-01-13 14:19:19 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-01-18 06:17:13 +0100 |
commit | e69f684dedb4a693e38fc8b948cdff8c7601674c (patch) | |
tree | f65f0118178c9e288f945d4bc813ae8a49dbce0d /package/uclibc-ng/Makefile | |
parent | 1e8ce0775190cbff163cf2d8e42bea16ba1669e7 (diff) |
support nommu with ELF binaries
Diffstat (limited to 'package/uclibc-ng/Makefile')
-rw-r--r-- | package/uclibc-ng/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/uclibc-ng/Makefile b/package/uclibc-ng/Makefile index ccc5846a1..bc99abc5f 100644 --- a/package/uclibc-ng/Makefile +++ b/package/uclibc-ng/Makefile @@ -31,6 +31,10 @@ uclibc-ng-install: -$(CP) $(STAGING_TARGET_DIR)/lib/ld*-uClibc*.so* $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH) -$(CP) $(STAGING_TARGET_DIR)/lib/libc.so.* $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH) -$(CP) $(STAGING_TARGET_DIR)/lib/libuClibc-*.so $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH) +ifeq ($(ADK_TARGET_BINFMT_ELF)$(ADK_TARGET_WITH_MMU),y) + $(CP) $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/${PKG_NAME}-${PKG_VERSION}/lib/ld*-uClibc*.so* \ + $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH) +endif ifeq ($(ADK_TARGET_ARCH_CSKY),y) cd $(IDIR_UCLIBC_NG)/$(ADK_TARGET_LIBC_PATH) && \ ln -sf ld-uClibc.so.0 ld.so.1 |