X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=debian%2Feibd.prebuild;h=20b2ff2acd76b55f5b7e231e1dd3cdcfc64da2bd;hb=refs%2Ftags%2Fduview_0.1-0;hp=fc91bd49768df525896cb3cd65146d55bca95a59;hpb=07e0448359f4d1dff63e6f74d7631f17ba97b46f;p=projects.git diff --git a/debian/eibd.prebuild b/debian/eibd.prebuild index fc91bd4..20b2ff2 100755 --- a/debian/eibd.prebuild +++ b/debian/eibd.prebuild @@ -3,19 +3,23 @@ set -e # Quelle: https://www.meintechblog.de/2014/06/knx-eib-gateway-in-fhem-einbinden/ +# $CONFIGURE_OPTS may be set by cross compile environment -wget --no-check-certificate http://www.auto.tuwien.ac.at/~mkoegler/pth/pthsem_2.0.8.tar.gz -tar xf pthsem_2.0.8.tar.gz +if [ "$DEB_HOST_GNU_TYPE" == "arm-linux-gnueabihf" ] +then + PTH_OPTS="--with-mctx-mth=sjlj --with-mctx-dsp=ssjlj --with-mctx-stk=sas" +fi + +tar xf Downloads/pthsem_2.0.8.tar.gz pushd pthsem-2.0.8 >/dev/null - ./configure --prefix=$HOME/projects/debian/tmp/usr + ./configure --prefix=$HOME/build/debian/tmp/usr $PTH_OPTS $CONFIGURE_OPTS make popd >/dev/null -wget --no-check-certificate http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_0.0.5.tar.gz -tar xf bcusdk_0.0.5.tar.gz -cp ~/projects/eibd/configure bcusdk-0.0.5/ +tar xf Downloads/bcusdk_0.0.5.tar.gz +cp eibd/configure bcusdk-0.0.5/ pushd bcusdk-0.0.5 - ./configure --with-pth=subdir:$HOME/build/pthsem-2.0.8 --without-pth-test --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel --enable-eibnetipserver --enable-tpuarts --prefix=$HOME/projects/debian/tmp/usr + ./configure --with-pth=subdir:$HOME/build/pthsem-2.0.8 --without-pth-test --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel --enable-eibnetipserver --enable-tpuarts --prefix=$HOME/build/debian/tmp/usr $CONFIGURE_OPTS popd >/dev/null