summaryrefslogtreecommitdiff
path: root/package/eglibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-11 21:37:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-11 21:37:36 +0200
commita26b2d9502bc57f975c4da59685d8fe412541762 (patch)
tree55e6a2326b8032c77a446ffe799a1d3564405d9e /package/eglibc
parent2b1f67debe40049cbaa2f008d6de788ba6d17ca0 (diff)
parent0e9ca8afb6da39fea0555d5882e8eb293c3efb62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/eglibc')
-rw-r--r--package/eglibc/Makefile14
-rw-r--r--package/eglibc/files/nsswitch.conf20
2 files changed, 22 insertions, 12 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index 9f37255cf..3261ba314 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -24,16 +24,6 @@ INSTALL_STYLE:= manual
# compile nothing, eglibc is already build in toolchain directory
do-install:
-ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
- for abi in $(TABI); do \
- ${INSTALL_DIR} $(IDIR_EGLIBC)/lib$${abi/*:/} $(IDIR_EGLIBC)/usr/lib$${abi/*:/} ; \
- $(CP) $(STAGING_TARGET_DIR)/lib/ld* $(IDIR_EGLIBC)/lib$${abi/*:/} ; \
- -for file in libc libcrypt libdl libm libresolv libutil libnsl libnss_dns libnss_files; do \
- $(CP) $(STAGING_TARGET_DIR)-$${abi/*:/}/lib/$$file.so* $(IDIR_EGLIBC)/lib$${abi/*:/}; \
- $(CP) $(STAGING_TARGET_DIR)-$${abi/*:/}/lib/$$file-$(PKG_VERSION).so $(IDIR_EGLIBC)/lib$${abi/*:/}; \
- done ; \
- done
-else
${INSTALL_DIR} $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH) \
$(IDIR_EGLIBC)/usr/lib $(IDIR_EGLIBC)/usr/bin
$(CP) $(STAGING_TARGET_DIR)/lib/ld* $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH)
@@ -45,9 +35,9 @@ else
ifeq ($(ADK_LOCALES),y)
$(CP) $(STAGING_TARGET_DIR)/usr/bin/locale $(IDIR_EGLIBC)/usr/bin
endif
-endif
${INSTALL_DIR} $(IDIR_EGLIBC)/etc
- ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/{gai,nscd,nsswitch}.conf ${IDIR_EGLIBC}/etc
+ ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/gai.conf ${IDIR_EGLIBC}/etc
+ ${INSTALL_DATA} ./files/nsswitch.conf ${IDIR_EGLIBC}/etc
eglibc-static-install:
${INSTALL_DIR} $(IDIR_EGLIBC_STATIC)/usr/lib
diff --git a/package/eglibc/files/nsswitch.conf b/package/eglibc/files/nsswitch.conf
new file mode 100644
index 000000000..53bb9d3dd
--- /dev/null
+++ b/package/eglibc/files/nsswitch.conf
@@ -0,0 +1,20 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+#
+
+passwd: files
+group: files
+initgroups: files
+shadow: files
+gshadow: files
+
+hosts: files dns
+networks: files dns
+
+protocols: files
+services: files
+ethers: files
+rpc: files
+
+netgroup: files