From 1f16f7a6f75786ccc89c268d389d624a826a2e48 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 8 Jul 2007 17:44:59 +0000 Subject: Add a utility to populate a root directory with libraries from the toolchain. --- scripts/crosstool.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/crosstool.sh') diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index 0775dcb9..17f30642 100755 --- a/scripts/crosstool.sh +++ b/scripts/crosstool.sh @@ -423,6 +423,12 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then prev_step="${step}" done + # Install the /populator/ + sed -r -e 's,@@CT_READELF@@,'"${CT_PREFIX_DIR}/bin/${CT_TARGET}-readelf"',g;' \ + -e 's,@@CT_SYSROOT_DIR@@,'"${CT_SYSROOT_DIR}"',g;' \ + "${CT_LIB_DIR}/tools/populate.in" >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate" + chmod 755 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate" + # Create the aliases to the target tools if [ -n "${CT_TARGET_ALIAS}" ]; then CT_DoLog EXTRA "Creating symlinks from \"${CT_TARGET}-*\" to \"${CT_TARGET_ALIAS}-*\"" -- cgit v1.2.3