diff sources/sections/busybox.build @ 1721:d33dcb246984 draft

Pipe through BUILD_VERBOSE to the busybox build.
author Rob Landley <rob@landley.net>
date Sun, 11 Jan 2015 10:20:37 -0600
parents e2f722cc97a6
children d461b345c3c9
line wrap: on
line diff
--- a/sources/sections/busybox.build	Sun Jan 11 10:19:53 2015 -0600
+++ b/sources/sections/busybox.build	Sun Jan 11 10:20:37 2015 -0600
@@ -6,7 +6,7 @@
 
 if [ ! -z "$BUSYBOX" ]
 then
-  make defconfig &&
+  make defconfig V=${BUILD_VERBOSE:+1} &&
   # breaks on ubuntu 11.10
   sed -i -e 's/^\(CONFIG_UBI.*\)=y/# \1 is not set/' .config &&
   cp .config "$WORK"/config-busybox || dienow
@@ -15,7 +15,7 @@
   make allnoconfig KCONFIG_ALLCONFIG="$WORK/config-busybox" || dienow
 fi
 
-LDFLAGS="$LDFLAGS $STATIC_FLAGS" make -j $CPUS $VERBOSITY $DO_CROSS &&
+LDFLAGS="$LDFLAGS $STATIC_FLAGS" make -j $CPUS V=${BUILD_VERBOSE:+2} $DO_CROSS &&
 make busybox.links || dienow
 
 [ -d "$STAGE_DIR/bin" ] && INSTDIR="$STAGE_DIR/bin" || INSTDIR="$STAGE_DIR"