view sources/sections/toybox.build @ 1021:ae5861222322

Link to mirror sites from each other.
author Rob Landley <rob@landley.net>
date Mon, 29 Mar 2010 08:17:24 -0500
parents 75054b02f21d
children e021bba5e22e
line wrap: on
line source

# Build toybox

yes "" | make defconfig &&
CFLAGS="$CFLAGS $STATIC_DEFAULT_FLAGS" make $DO_CROSS || dienow

if [ -z "$USE_TOYBOX" ]
then
  ln -sf toybox "$STAGE_DIR"/patch &&
  ln -sf toybox "$STAGE_DIR"/oneit &&
  ln -sf toybox "$STAGE_DIR"/netcat || dienow
else
  make install_flat PREFIX="$STAGE_DIR" || dienow
fi

mv toybox${SKIP_STRIP:+_unstripped} "$STAGE_DIR/toybox"