From 473d0272a2e55f2019de0af6460663fd99e10e5b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 13 Jan 2019 19:30:16 +0100 Subject: [PATCH] sigrok-cross-linux: Add $BUILD_SIGROK_FIRMWARE_FX2LAFW. --- cross-compile/linux/sigrok-cross-linux | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2