Mercurial > hg > aboriginal
view sources/sections/busybox.build @ 1130:c222ae88733a
Add NO_CPLUSPLUS config option, to skip c++ support entirely.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 20 Jun 2010 16:25:35 -0500 |
parents | cb4dbdb7f2cd |
children | 7ca3dfbc9e06 |
line wrap: on
line source
# Build busybox statically by default, but don't statically link against # glibc (during host_tools) build because glibc is buggy and can't combine # --static with --gc-sections. # Build busybox make allyesconfig KCONFIG_ALLCONFIG="${SOURCES}/trimconfig-busybox" && cp .config "$WORK"/config-busybox && LDFLAGS="$LDFLAGS $STATIC_FLAGS" make -j $CPUS $VERBOSITY $DO_CROSS && make busybox.links || dienow [ -d "$STAGE_DIR/bin" ] && INSTDIR="$STAGE_DIR/bin" || INSTDIR="$STAGE_DIR" cp busybox${SKIP_STRIP:+_unstripped} "$INSTDIR/busybox" || dienow for i in $(sed 's@.*/@@' busybox.links) do [ ! -f "INSTDIR/$i" ] && (ln -sf busybox "$INSTDIR/$i" || dienow) done