From cabab8f7b608d3e0183808ddbbe3fd9f9322e999 Mon Sep 17 00:00:00 2001 From: Uffe Jakobsen Date: Fri, 6 Feb 2015 17:53:30 +0100 Subject: [PATCH] Add make verbose handling to sigrok-cross-linux. --- cross-compile/linux/sigrok-cross-linux | 36 ++++++++++++++------------ 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/cross-compile/linux/sigrok-cross-linux b/cross-compile/linux/sigrok-cross-linux index a01173a..8f94d43 100755 --- a/cross-compile/linux/sigrok-cross-linux +++ b/cross-compile/linux/sigrok-cross-linux @@ -36,6 +36,9 @@ BUILDDIR=./build # The path where the libsigrok Python bindings will be installed. PYPATH=$PREFIX/lib/python2.7/site-packages +# Edit this to control verbose build output. +V="V=1 VERBOSE=1" + # Edit this to enable/disable/modify parallel compiles. PARALLEL="-j 2" @@ -67,8 +70,8 @@ cd libserialport mkdir build cd build ../configure $C -$SB make $PARALLEL -make install +$SB make $PARALLEL $V +make install $V cd ../.. # libsigrok @@ -79,9 +82,9 @@ cd libsigrok mkdir build cd build PKG_CONFIG_PATH=$P ../configure $C -$SB make $PARALLEL -PYTHONPATH=$PYPATH $SB make install -$SB make check +$SB make $PARALLEL $V +PYTHONPATH=$PYPATH $SB make install $V +$SB make check $V cd ../.. # libsigrokdecode @@ -91,9 +94,9 @@ cd libsigrokdecode mkdir build cd build PKG_CONFIG_PATH=$P ../configure $C -$SB make $PARALLEL -make install -$SB make check +$SB make $PARALLEL $V +make install $V +$SB make check $V cd ../.. # sigrok-firmware @@ -104,7 +107,7 @@ mkdir build cd build # Nothing gets cross-compiled here, we just need 'make install' basically. ../configure $C -make install +make install $V cd ../.. # sigrok-firmware-fx2lafw @@ -115,8 +118,8 @@ mkdir build cd build # We're building the fx2lafw firmware on the host, no need to cross-compile. ../configure $C -make $PARALLEL -make install +make $PARALLEL $V +make install $V cd ../.. # sigrok-cli @@ -126,8 +129,8 @@ cd sigrok-cli mkdir build cd build PKG_CONFIG_PATH=$P ../configure $C -$SB make $PARALLEL -make install +$SB make $PARALLEL $V +make install $V cd ../.. # PulseView @@ -136,8 +139,7 @@ cd pulseview mkdir build cd build PKG_CONFIG_PATH=$P $SB cmake -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DDISABLE_WERROR=y -DENABLE_TESTS=y .. -$SB make $PARALLEL -make install -$SB make test +$SB make $PARALLEL $V +make install $V +$SB make test $V cd ../.. - -- 2.30.2