X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=cross-compile%2Flinux%2Fsigrok-cross-linux;fp=cross-compile%2Flinux%2Fsigrok-cross-linux;h=a5ba2c6baed04dfaf7754d8a7e59ee1732bb154b;hb=91036110f94f460492b7e29dae53781580f8a5b8;hp=175f30166beb92cdf76817e8129a9dd56e5dc2ea;hpb=d4069d6e43094826fa2e35e4bf073d82abe7988a;p=sigrok-util.git 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