]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-cross-linux: Add $BUILD_SIGROK_FIRMWARE_FX2LAFW.
authorUwe Hermann <redacted>
Sun, 13 Jan 2019 18:30:16 +0000 (19:30 +0100)
committerUwe Hermann <redacted>
Sun, 13 Jan 2019 18:30:16 +0000 (19:30 +0100)
cross-compile/linux/sigrok-cross-linux

index 2c8e559efde8cf6ae9a365bf1a4324a33600fae7..7c7767cf348696fb73676519537ee8c6788c4da4 100755 (executable)
@@ -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