comparison mini-native.sh @ 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 57f77c25b39d
children 38e7e0cc3b9f
comparison
equal deleted inserted replaced
67:8c075bf475df 68:fd2cf40fcd02
32 # toolchain, but this is cleaner.) 32 # toolchain, but this is cleaner.)
33 33
34 setupfor uClibc 34 setupfor uClibc
35 cp "${WORK}"/config-uClibc .config && 35 cp "${WORK}"/config-uClibc .config &&
36 (yes "" | make CROSS="${ARCH}-" oldconfig) > /dev/null && 36 (yes "" | make CROSS="${ARCH}-" oldconfig) > /dev/null &&
37 make CROSS="${ARCH}-" KERNEL_HEADERS="${TOOLS}/include" PREFIX="${NATIVE}/" \ 37 make CROSS="${ARCH}-" KERNEL_HEADERS="${TOOLS}/include" PREFIX="${TOOLS}/" \
38 RUNTIME_PREFIX=/tools/ DEVEL_PREFIX=/tools/ \ 38 RUNTIME_PREFIX=/ DEVEL_PREFIX=/ \
39 all install_runtime install_dev install_utils && 39 all install_runtime install_dev utils &&
40 # utils_install wants to put stuff in usr/bin instead of bin.
41 install -m 755 utils/{readelf,ldd,ldconfig} "${TOOLS}/bin" &&
40 cd .. && 42 cd .. &&
41 $CLEANUP uClibc* 43 $CLEANUP uClibc*
42 44
43 [ $? -ne 0 ] && dienow 45 [ $? -ne 0 ] && dienow
44 46