From: Eric Andersen Date: Thu, 22 Mar 2007 16:23:43 +0000 (-0000) Subject: install hostutils (i.e. 'ldd' and 'ldconfig') into $STAGING_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7bb0e9ce93a23779e7bd5c9e6ce5f4ed6cc06f7;p=buildroot.git install hostutils (i.e. 'ldd' and 'ldconfig') into $STAGING_DIR --- diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk index 048f07f47a..0e0716114e 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),)