]> sigrok.org Git - sigrok-util.git/blobdiff - cross-compile/linux/sigrok-cross-linux
sigrok-cross-mingw: Optionally emit progress messages.
[sigrok-util.git] / cross-compile / linux / sigrok-cross-linux
index 2c8e559efde8cf6ae9a365bf1a4324a33600fae7..6ba70378a02fe2ecdd06e5d0a9103db301730f4f 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=1
+
 # 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