# -----------------------------------------------------------------------------
# We need to find tools in the toolchain.
# -----------------------------------------------------------------------------
# We need to find tools in the toolchain.
cd sigrok-firmware-fx2lafw
./autogen.sh
# We're building the fx2lafw firmware on the host, no need to cross-compile.
cd sigrok-firmware-fx2lafw
./autogen.sh
# We're building the fx2lafw firmware on the host, no need to cross-compile.
if [ $DEBUG = 1 ]; then
# Allow a "DOS box" to open on Windows, it'll contain logging output.
patch -p1 < ../../pv_mwindows.patch
if [ $DEBUG = 1 ]; then
# Allow a "DOS box" to open on Windows, it'll contain logging output.
patch -p1 < ../../pv_mwindows.patch