projects
/
projects.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56b2432
)
cpp-d1064d
author
Michael Wagner
<michael@wagnertech.de>
Wed, 21 Apr 2021 20:39:13 +0000
(22:39 +0200)
committer
Michael Wagner
<michael@wagnertech.de>
Wed, 21 Apr 2021 20:39:13 +0000
(22:39 +0200)
debian/eibd.prebuild
patch
|
blob
|
history
diff --git
a/debian/eibd.prebuild
b/debian/eibd.prebuild
index
fc91bd4
..
6cdc084
100755
(executable)
--- a/
debian/eibd.prebuild
+++ b/
debian/eibd.prebuild
@@
-1,13
+1,22
@@
#!/bin/bash
set -e
#!/bin/bash
set -e
+# TODO: should be replaced by a mbuild environment variable
+project_dir="$HOME/projects"
+
# Quelle: https://www.meintechblog.de/2014/06/knx-eib-gateway-in-fhem-einbinden/
# Quelle: https://www.meintechblog.de/2014/06/knx-eib-gateway-in-fhem-einbinden/
+# $CONFIGURE_OPTS may be set by cross compile environment
+
+if [ "$DEB_HOST_GNU_TYPE" == "arm-linux-gnueabihf" ]
+then
+ PTH_OPTS="--with-mctx-mth=sjlj --with-mctx-dsp=ssjlj --with-mctx-stk=sas"
+fi
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
pushd pthsem-2.0.8 >/dev/null
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
pushd pthsem-2.0.8 >/dev/null
- ./configure --prefix=$
HOME/projects/debian/tmp/usr
+ ./configure --prefix=$
project_dir/debian/tmp/usr $PTH_OPTS $CONFIGURE_OPTS
make
popd >/dev/null
make
popd >/dev/null
@@
-15,7
+24,7
@@
wget --no-check-certificate http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_0.
tar xf bcusdk_0.0.5.tar.gz
cp ~/projects/eibd/configure bcusdk-0.0.5/
pushd bcusdk-0.0.5
tar xf bcusdk_0.0.5.tar.gz
cp ~/projects/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=$
project_dir/debian/tmp/usr $CONFIGURE_OPTS
popd >/dev/null
popd >/dev/null