From 808955153208e5e514699348bc962dcc954aad79 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 27 Feb 2017 21:01:30 +0100 Subject: [PATCH] sigrok-cross-linux: Factor out $REPO_BASE. --- cross-compile/linux/sigrok-cross-linux | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/cross-compile/linux/sigrok-cross-linux b/cross-compile/linux/sigrok-cross-linux index 9e55155..2e5cdc0 100755 --- a/cross-compile/linux/sigrok-cross-linux +++ b/cross-compile/linux/sigrok-cross-linux @@ -65,10 +65,12 @@ cd $BUILDDIR GIT_CLONE="git clone --depth=1" +REPO_BASE="git://sigrok.org" + # ----------------------------------------------------------------------------- # libserialport -$GIT_CLONE git://sigrok.org/libserialport +$GIT_CLONE $REPO_BASE/libserialport cd libserialport ./autogen.sh mkdir build @@ -80,7 +82,7 @@ cd ../.. # libsigrok mkdir -p $PYPATH -$GIT_CLONE git://sigrok.org/libsigrok +$GIT_CLONE $REPO_BASE/libsigrok cd libsigrok ./autogen.sh mkdir build @@ -92,7 +94,7 @@ $SB make check $V cd ../.. # libsigrokdecode -$GIT_CLONE git://sigrok.org/libsigrokdecode +$GIT_CLONE $REPO_BASE/libsigrokdecode cd libsigrokdecode ./autogen.sh mkdir build @@ -104,7 +106,7 @@ $SB make check $V cd ../.. # sigrok-firmware -$GIT_CLONE git://sigrok.org/sigrok-firmware +$GIT_CLONE $REPO_BASE/sigrok-firmware cd sigrok-firmware ./autogen.sh mkdir build @@ -115,7 +117,7 @@ make install $V cd ../.. # sigrok-firmware-fx2lafw -$GIT_CLONE git://sigrok.org/sigrok-firmware-fx2lafw +$GIT_CLONE $REPO_BASE/sigrok-firmware-fx2lafw cd sigrok-firmware-fx2lafw ./autogen.sh mkdir build @@ -127,7 +129,7 @@ make install $V cd ../.. # sigrok-cli -$GIT_CLONE git://sigrok.org/sigrok-cli +$GIT_CLONE $REPO_BASE/sigrok-cli cd sigrok-cli ./autogen.sh mkdir build @@ -143,7 +145,7 @@ make install $V cd ../.. # PulseView -$GIT_CLONE git://sigrok.org/pulseview +$GIT_CLONE $REPO_BASE/pulseview cd pulseview mkdir build cd build -- 2.30.2