Mercurial > hg > aboriginal
view sources/sections/busybox.sh @ 910:f1671488c740
Split busybox and toybox builds, update toybox and linux package versions.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 01 Dec 2009 19:49:23 -0600 |
parents | 15522b490e53 |
children | 18f052489f5d |
line wrap: on
line source
# Build busybox statically by default, but don't statically link against # glibc because glibc is buggy and can't combine --static with --gc-sections. [ "$BUILD_STATIC" != "none" ] && [ ! -z "$ARCH" ] && BUSYBOX_STATIC="--static" [ ! -z "$ARCH" ] && DO_CROSS=CROSS_COMPILE=${ARCH}- # Build busybox setupfor busybox make allyesconfig KCONFIG_ALLCONFIG="${SOURCES}/trimconfig-busybox" && cp .config "$WORK"/config-busybox && LDFLAGS="$LDFLAGS $BUSYBOX_STATIC" make -j $CPUS $VERBOSITY $DO_CROSS && make busybox.links && cp busybox "${STAGE_DIR}" || dienow for i in $(sed 's@.*/@@' busybox.links) do [ ! -f "${STAGE_DIR}/$i" ] && (ln -sf busybox "${STAGE_DIR}/$i" || dienow) done cleanup