From: Uwe Hermann Date: Wed, 3 Sep 2014 06:52:19 +0000 (+0200) Subject: sigrok-cross-linux: Allow Python bindings installation. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=91036110f94f460492b7e29dae53781580f8a5b8;hp=d4069d6e43094826fa2e35e4bf073d82abe7988a sigrok-cross-linux: Allow Python bindings installation. --- diff --git a/cross-compile/linux/sigrok-cross-linux b/cross-compile/linux/sigrok-cross-linux index 175f301..a5ba2c6 100755 --- a/cross-compile/linux/sigrok-cross-linux +++ b/cross-compile/linux/sigrok-cross-linux @@ -33,6 +33,9 @@ PREFIX=$HOME/sr # The path where to download files to and where to build packages. BUILDDIR=./build +# The path where the libsigrok Python bindings will be installed. +PYPATH=$PREFIX/lib/python2.7/site-packages + # Edit this to enable/disable/modify parallel compiles. PARALLEL="-j 2" @@ -62,12 +65,13 @@ make install cd .. # libsigrok +mkdir -p $PYPATH $GIT_CLONE git://sigrok.org/libsigrok cd libsigrok ./autogen.sh PKG_CONFIG_PATH=$P ./configure $C make $PARALLEL -make install +PYTHONPATH=$PYPATH make install cd .. # libsigrokdecode