Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/uClibc

Buildroot andersen at uclibc.org 1 participant 1 message Mar 22, 2007

lore
Share & tools
lore
#0 lore raw

Author: andersen
Date: 2007-03-22 09:23:43 -0700 (Thu, 22 Mar 2007) New Revision: 18203

Log:
install hostutils (i.e. 'ldd' and 'ldconfig') into $STAGING_DIR

Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk

Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================

buildroot/toolchain/uClibc/uclibc.mk +6 -0
@@ -285,6 +285,12 @@
 		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),)