changeset 68:fd2cf40fcd02

Install the uClibc utils install into /tools/bin. (Including readelf.)
author Rob Landley <rob@landley.net>
date Thu, 28 Dec 2006 03:48:55 -0500
parents 8c075bf475df
children c2becd45f162
files mini-native.sh
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mini-native.sh	Thu Dec 28 00:09:03 2006 -0500
+++ b/mini-native.sh	Thu Dec 28 03:48:55 2006 -0500
@@ -34,9 +34,11 @@
 setupfor uClibc
 cp "${WORK}"/config-uClibc .config &&
 (yes "" | make CROSS="${ARCH}-" oldconfig) > /dev/null &&
-make CROSS="${ARCH}-" KERNEL_HEADERS="${TOOLS}/include" PREFIX="${NATIVE}/" \
-        RUNTIME_PREFIX=/tools/ DEVEL_PREFIX=/tools/ \
-        all install_runtime install_dev install_utils &&
+make CROSS="${ARCH}-" KERNEL_HEADERS="${TOOLS}/include" PREFIX="${TOOLS}/" \
+        RUNTIME_PREFIX=/ DEVEL_PREFIX=/ \
+        all install_runtime install_dev utils &&
+# utils_install wants to put stuff in usr/bin instead of bin.
+install -m 755 utils/{readelf,ldd,ldconfig} "${TOOLS}/bin" &&
 cd .. &&
 $CLEANUP uClibc*