Mercurial > hg > aboriginal
view sources/sections/toybox.sh @ 928:0291e9591d18
Update downloads/binaries/README
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 08 Dec 2009 20:22:53 -0600 |
parents | 18f052489f5d |
children |
line wrap: on
line source
# Build toybox [ ! -z "$ARCH" ] && DO_CROSS=CROSS_COMPILE=${ARCH}- setupfor toybox make defconfig && CFLAGS="$CFLAGS $STATIC_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" cleanup