cd libserialport
./autogen.sh
PKG_CONFIG_PATH_i686_pc_mingw32=$P ./configure $C $L
-make $PARALLEL
+make $PARALLEL V=1
make install
cd ..
patch -p1 < ../../libsigrok_firmwaredir.patch
./autogen.sh
PKG_CONFIG_PATH_i686_pc_mingw32=$P ./configure $C $L
-make $PARALLEL
+make $PARALLEL V=1
make install
cd ..
cd libsigrokdecode
./autogen.sh
PKG_CONFIG_PATH_i686_pc_mingw32=$P ./configure $C $L
-make $PARALLEL
+make $PARALLEL V=1
make install
cd ..
./autogen.sh
# We're building the fx2lafw firmware on the host, no need to cross-compile.
./configure --prefix=$PREFIX
-make $PARALLEL
+make $PARALLEL V=1
make install
cd ..
+# sigrok-dumps
+git clone git://sigrok.org/sigrok-dumps
+cd sigrok-dumps
+make install DESTDIR=$PREFIX/share/sigrok-dumps
+cd ..
+
# sigrok-cli
git clone git://sigrok.org/sigrok-cli
cd sigrok-cli
patch -p1 < ../../sigrok_cli_decodersdir.patch
./autogen.sh
PKG_CONFIG_PATH_i686_pc_mingw32=$P:$P2 ./configure $C
-make $PARALLEL
+make $PARALLEL V=1
make install
makensis -DHOME=$HOME contrib/sigrok-cli_cross.nsi
cd ..
# PulseView
git clone git://sigrok.org/pulseview
cd pulseview
-patch -p1 < ../../pulseview_linkfix.patch
patch -p1 < ../../pulseview_decodersdir.patch
-PKG_CONFIG_PATH_i686_pc_mingw32=$P:$P2 cmake $CM -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DDISABLE_WERROR=y -DENABLE_DECODE=y -DENABLE_COTIRE=y .
+PKG_CONFIG_PATH_i686_pc_mingw32=$P:$P2 cmake $CM -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DDISABLE_WERROR=y -DENABLE_DECODE=y -DENABLE_TESTS=y .
make $PARALLEL VERBOSE=1
make install
makensis -DHOME=$HOME contrib/pulseview_cross.nsi