view sources/sections/toybox.build @ 976:de53ddd05abd

The kconfig "make defconfig" will occasionally prompt the user for stuff. (*boggle*) Workaround.
author Rob Landley <rob@landley.net>
date Sat, 06 Feb 2010 01:38:09 -0600
parents fc134a13357e
children 75054b02f21d
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

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