From: Uwe Hermann Date: Sun, 19 Oct 2014 17:54:43 +0000 (+0200) Subject: sigrok-cross-android: Do out-of-tree build for most projects. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=67b2de8a399c2feba3e7c7aa3f2be71dd5839dca sigrok-cross-android: Do out-of-tree build for most projects. --- diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index eee6246..1031ba5 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -251,10 +251,12 @@ cd .. $GIT_CLONE git://sigrok.org/libserialport cd libserialport ./autogen.sh -./configure $C +mkdir build +cd build +../configure $C make $PARALLEL V=1 make install -cd .. +cd ../.. # Build dependencies for libsigrok bindings if needed @@ -286,28 +288,34 @@ fi $GIT_CLONE git://sigrok.org/libsigrok cd libsigrok ./autogen.sh -CPPFLAGS="$CPPFLAGS_STL" LDFLAGS="$LDFLAGS_STL" ./configure $C $BINDINGS_CONFIG --datadir=/sdcard +mkdir build +cd build +CPPFLAGS="$CPPFLAGS_STL" LDFLAGS="$LDFLAGS_STL" ../configure $C $BINDINGS_CONFIG --datadir=/sdcard make $PARALLEL V=1 make datadir='$(datarootdir)' install -cd .. +cd ../.. # libsigrokdecode $GIT_CLONE git://sigrok.org/libsigrokdecode cd libsigrokdecode ./autogen.sh -./configure $C +mkdir build +cd build +../configure $C make $PARALLEL V=1 make install -cd .. +cd ../.. # sigrok-cli $GIT_CLONE git://sigrok.org/sigrok-cli cd sigrok-cli ./autogen.sh -./configure $C +mkdir build +cd build +../configure $C make $PARALLEL V=1 make install -cd .. +cd ../.. # Check if we have all requirements to build PulseView: