summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uclibc.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-03-22 16:23:43 +0000
committerEric Andersen <andersen@codepoet.org>2007-03-22 16:23:43 +0000
commitb7bb0e9ce93a23779e7bd5c9e6ce5f4ed6cc06f7 (patch)
treeb4ee7ee0420e3a3518a7ed0afa57e6545311fde0 /toolchain/uClibc/uclibc.mk
parent8b855510d559d6889c8c58887eb6a0093dcd3861 (diff)
downloadbuildroot-novena-b7bb0e9ce93a23779e7bd5c9e6ce5f4ed6cc06f7.tar.gz
buildroot-novena-b7bb0e9ce93a23779e7bd5c9e6ce5f4ed6cc06f7.zip
install hostutils (i.e. 'ldd' and 'ldconfig') into $STAGING_DIR
Diffstat (limited to 'toolchain/uClibc/uclibc.mk')
-rw-r--r--toolchain/uClibc/uclibc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 048f07f47..0e0716114 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -285,6 +285,12 @@ $(STAGING_DIR)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
PREFIX=$(STAGING_DIR) \
HOSTCC="$(HOSTCC)" \
hostutils
+ install -c $(UCLIBC_DIR)/utils/ldd.host $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ldd
+ (cd $(STAGING_DIR)/bin; ln -s ../$(REAL_GNU_TARGET_NAME)/bin/ldd $(GNU_TARGET_NAME)-ldd)
+ (cd $(STAGING_DIR)/bin; ln -s ../$(REAL_GNU_TARGET_NAME)/bin/ldd $(REAL_GNU_TARGET_NAME)-ldd)
+ install -c $(UCLIBC_DIR)/utils/ldconfig.host $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/ldconfig
+ (cd $(STAGING_DIR)/bin; ln -s ../$(REAL_GNU_TARGET_NAME)/bin/ldconfig $(GNU_TARGET_NAME)-ldconfig)
+ (cd $(STAGING_DIR)/bin; ln -s ../$(REAL_GNU_TARGET_NAME)/bin/ldconfig $(REAL_GNU_TARGET_NAME)-ldconfig)
touch -c $(STAGING_DIR)/lib/libc.a
ifneq ($(TARGET_DIR),)