summaryrefslogtreecommitdiff
path: root/ecp/src/platform.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/src/platform.sh')
-rwxr-xr-xecp/src/platform.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/ecp/src/platform.sh b/ecp/src/platform.sh
new file mode 100755
index 0000000..854fbba
--- /dev/null
+++ b/ecp/src/platform.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+
+BASEDIR=$(dirname $0)
+
+if [ -z $1 ]; then
+ echo usage $0 "<platform>"
+ exit 1
+fi
+
+PLATFORM=$1
+
+rm -f $BASEDIR/platform
+ln -sf ./$PLATFORM $BASEDIR/platform
+ln -sf ./Makefile.$PLATFORM $BASEDIR/Makefile.platform