From: Uwe Hermann Date: Sun, 13 Jan 2019 18:30:16 +0000 (+0100) Subject: sigrok-cross-linux: Add $BUILD_SIGROK_FIRMWARE_FX2LAFW. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=473d0272a2e55f2019de0af6460663fd99e10e5b;p=sigrok-util.git sigrok-cross-linux: Add $BUILD_SIGROK_FIRMWARE_FX2LAFW. --- diff --git a/cross-compile/linux/sigrok-cross-linux b/cross-compile/linux/sigrok-cross-linux index 2c8e559..7c7767c 100755 --- a/cross-compile/linux/sigrok-cross-linux +++ b/cross-compile/linux/sigrok-cross-linux @@ -46,6 +46,9 @@ fi # Edit this to enable/disable/modify parallel compiles. PARALLEL="-j 2" +# Edit this to enable/disable building certain components. +BUILD_SIGROK_FIRMWARE_FX2LAFW=0 + # Uncomment the following lines to build with clang and run scan-build. # export CC=clang # export CXX=clang++ @@ -116,6 +119,7 @@ $SB ../configure $C make install $V cd ../.. +if [ $BUILD_SIGROK_FIRMWARE_FX2LAFW = 1 ]; then # sigrok-firmware-fx2lafw $GIT_CLONE $REPO_BASE/sigrok-firmware-fx2lafw cd sigrok-firmware-fx2lafw @@ -127,6 +131,7 @@ $SB ../configure $C make $PARALLEL $V make install $V cd ../.. +fi # sigrok-cli $GIT_CLONE $REPO_BASE/sigrok-cli