Author: nextgens
Date: 2006-08-02 12:10:39 +0000 (Wed, 02 Aug 2006)
New Revision: 9847
Modified:
trunk/contrib/NativeBigInteger/build.sh
Log:
freenet-ext: add a parameter to build.sh
Modified: trunk/contrib/NativeBigInteger/build.sh
===================================================================
--- trunk/contrib/NativeBigInteger/build.sh 2006-08-02 10:32:11 UTC (rev
9846)
+++ trunk/contrib/NativeBigInteger/build.sh 2006-08-02 12:10:39 UTC (rev
9847)
@@ -64,7 +64,14 @@
# "none" = a generic build with no specific CPU type indicated to the
# compiler
-for CPU in none pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63
athlon x86_64
+if [ -n "$1" ]
+then
+ TARGT="$1"
+else
+ TARGT="none pentium pentiummmx pentium2 pentium3 pentium4 k6 k62 k63
athlon x86_64"
+fi
+
+for CPU in $TARGT
do
mkdir -p bin/${CPU}
cd bin/${CPU}