X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2Fsigrok-cross-android;h=e50c93b4c42d937873f961ce69247e4692317bd5;hp=b5b4e4234a771fff97daed543f58e84331096421;hb=cb1c76ab084f0cf610d7a8fceaf926716668a93b;hpb=a2491957ff4cb1eff3ba24608125cc79b90d326c diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index b5b4e42..e50c93b 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -78,6 +78,7 @@ VER_LIBUSB=1.0.19 VER_PYTHON=3.3.3 VER_BOOST=1.58.0 VER_QT=5.4.1 +VER_SIGROK_FIRMWARE_FX2LAFW=0.1.2 VER_NDK=10e VER_SDK=24.3.3 VER_AND_BT=22.0.1 # Android build tools version @@ -384,6 +385,24 @@ make $PARALLEL $V make install $V cd ../.. +# sigrok-firmware +$GIT_CLONE git://sigrok.org/sigrok-firmware +cd sigrok-firmware +./autogen.sh +mkdir build +cd build +../configure $C +make $PARALLEL $V +make install $V +cd ../.. + +# sigrok-firmware-fx2lafw +$WGET http://sigrok.org/download/binary/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-bin-$VER_SIGROK_FIRMWARE_FX2LAFW.tar.gz +tar xfz sigrok-firmware-fx2lafw-bin-$VER_SIGROK_FIRMWARE_FX2LAFW.tar.gz +cd sigrok-firmware-fx2lafw-bin-$VER_SIGROK_FIRMWARE_FX2LAFW +cp *.fw $PREFIX/share/sigrok-firmware/ +cd .. + # sigrok-cli $GIT_CLONE git://sigrok.org/sigrok-cli cd sigrok-cli