diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-07 19:42:00 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-07 19:42:00 +0200 |
commit | 440dcafbd07915cadeb26806fe6d8835d62f293b (patch) | |
tree | 4f4bd3575253b05f0598720c13c9c4c8df2a73e9 /package/eglibc/Makefile | |
parent | 0c4255f9860dec3c7f0ecf32454bd93268879278 (diff) |
support for 32/64 x86_64 multilib with eglibc
Diffstat (limited to 'package/eglibc/Makefile')
-rw-r--r-- | package/eglibc/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile index 0ea35d935..40d1a4848 100644 --- a/package/eglibc/Makefile +++ b/package/eglibc/Makefile @@ -67,6 +67,14 @@ endif ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/nscd.conf ${IDIR_EGLIBC}/etc ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/nsswitch.conf ${IDIR_EGLIBC}/etc $(CP) $(STAGING_TARGET_DIR)/usr/bin/getconf $(IDIR_EGLIBC)/usr/bin +ifeq ($(ADK_TARGET_MULTILIB_X86_32),y) + ${INSTALL_DIR} $(IDIR_EGLIBC)/lib32 $(IDIR_EGLIBC)/usr/lib32 + $(CP) $(STAGING_TARGET_DIR_32)/lib/ld* $(IDIR_EGLIBC)/lib32 + -for file in libc libcrypt libdl libm libresolv libutil libnsl libnss_dns libnss_files; do \ + $(CP) $(STAGING_TARGET_DIR_32)/lib/$$file.so* $(IDIR_EGLIBC)/lib32; \ + $(CP) $(STAGING_TARGET_DIR_32)/lib/$$file-$(PKG_VERSION).so $(IDIR_EGLIBC)/lib32; \ + done +endif eglibc-static-install: ${INSTALL_DIR} $(IDIR_EGLIBC_STATIC)/usr/lib |