summaryrefslogtreecommitdiff
path: root/package/eglibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-14 19:58:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-14 19:58:43 +0200
commit4cfceb141c0770aa37123fde6fc26c28283314ad (patch)
tree8973da1d99561d6ede8c4c69253d528a70e197f8 /package/eglibc/Makefile
parent3b76e79f14e279a6526809e630e45e4f760d77de (diff)
parentba4b6056da30ddb19809b72309a009a1c84a7656 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/eglibc/Makefile')
-rw-r--r--package/eglibc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index 5c3c76899..d64cdbac5 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -46,14 +46,15 @@ EGLIBC_ENV:= PATH='${TARGET_PATH}' \
libc_cv_forced_unwind=yes \
libc_cv_c_cleanup=yes \
libc_cv_gnu99_inline=yes \
- libc_cv_slibdir="/lib"
+ libc_cv_slibdir="/lib"
# compile nothing, eglibc is already build in toolchain directory
do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
${INSTALL_DIR} $(IDIR_EGLIBC)/lib $(IDIR_EGLIBC)/etc \
$(IDIR_EGLIBC)/usr/lib
- # install /etc/localtime from host system (FIXME)
- ${CP} /etc/localtime $(IDIR_EGLIBC)/etc
+ test -z $(ADK_RUNTIME_TIMEZONE) || \
+ $(CP) /usr/share/zoneinfo/$(ADK_RUNTIME_TIMEZONE) \
+ $(IDIR_EGLIBC)/etc/localtime
$(CP) $(STAGING_DIR)/lib/ld* $(IDIR_EGLIBC)/lib/
$(CP) $(STAGING_DIR)/lib/libgcc_s.so* $(IDIR_EGLIBC)/lib/
-for file in libc libcrypt libdl libm libnsl libresolv librt libutil libnss_compat libnss_dns libnss_files; do \