summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-30 11:21:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-30 11:21:57 +0100
commit2b00eeeb1c3ec2bdb1c2591582c6282d31284c01 (patch)
tree815703f26b37f47cea5db445596482551d9d3532
parentb3785da634e0e05f9991afebbdf998b111856839 (diff)
fix bootup on rb532/mips
the ld.so.1 symlink was missing. Install linker script and symlinks in dev-package only.
-rw-r--r--package/eglibc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index de7c80e45..5389c388f 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -46,15 +46,18 @@ EGLIBC_ENV:= PATH='${TARGET_PATH}' \
# 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_DIR} $(IDIR_EGLIBC)/lib $(IDIR_EGLIBC)/etc \
+ $(IDIR_EGLIBC)/usr/lib
# install /etc/localtime from host system (FIXME)
${CP} /etc/localtime $(IDIR_EGLIBC)/etc
- $(CP) $(STAGING_DIR)/lib/ld-* $(IDIR_EGLIBC)/lib/
+ $(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 \
$(CP) $(STAGING_DIR)/lib/$$file.so* $(IDIR_EGLIBC)/lib/; \
$(CP) $(STAGING_DIR)/lib/$$file-$(PKG_VERSION).so $(IDIR_EGLIBC)/lib/; \
done
+
+eglibc-dev-install:
# install linker script
-cp ./files/libc.so.$(CPU_ARCH) $(IDIR_EGLIBC)/usr/lib/libc.so
cd $(IDIR_EGLIBC)/lib && ln -sf libm.so.6 libm.so
@@ -62,8 +65,6 @@ do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
cd $(IDIR_EGLIBC)/lib && ln -sf librt.so.1 librt.so
cd $(IDIR_EGLIBC)/lib && ln -sf libcrypt.so.1 libcrypt.so
cd $(IDIR_EGLIBC)/lib && ln -sf libdl.so.2 libdl.so
-
-eglibc-dev-install:
# header package
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION) \
HOSTCC=$(HOSTCC) ARCH=$(ARCH) V=1 \