diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-02-27 19:53:05 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-02-27 19:53:05 +0100 |
commit | d26ab5f2338aaf07289dd57c7770f85a79cf7b2b (patch) | |
tree | 763147d5f178d7db09910b5ab2fe8fe6d75afa9b /plugins/build.sh | |
parent | dacd393fefeabafd1306533dd6c5a56e0ab347cc (diff) |
Removed ./configure stuff, created simple makefile
Diffstat (limited to 'plugins/build.sh')
-rwxr-xr-x | plugins/build.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/plugins/build.sh b/plugins/build.sh deleted file mode 100755 index a9d0158..0000000 --- a/plugins/build.sh +++ /dev/null @@ -1,31 +0,0 @@ -CPP="g++" -if [ "$TARGET" == "fritzbox" -o "$TARGET" == "fb" ]; then - TARGET="mipsel-linux-uclibc" -fi - -if [ -n "$TARGET" ]; then - CPP="$TARGET-$CPP"; -fi - -fails="" -for i in $@; do - echo "building $i"; - if [ -e "$i.additional" ]; then - add=$(cat "$i.additional") - else - add="" - fi - $CPP $i ../myfuncs.cpp $add -shared -o "${i%.*}".so || fails="$fails$i " -done - -echo - -if [ -n "$fails" ]; then - for i in $fails; do - echo "building $i failed!" - done -else - echo "all done!" -fi - -echo |