summaryrefslogtreecommitdiff
path: root/setup/VxWorks/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup/VxWorks/build.sh')
-rw-r--r--setup/VxWorks/build.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/setup/VxWorks/build.sh b/setup/VxWorks/build.sh
new file mode 100644
index 0000000..aa8d11b
--- /dev/null
+++ b/setup/VxWorks/build.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+rm -rf prototype
+mkdir prototype
+mkdir prototype/oss-install
+
+if test "$LD " = " "
+then
+ LD=ar
+fi
+
+$LD -r -o prototype/oss-install/osscore.o target/objects/*.o
+
+cp target/modules/*.o prototype/oss-install/
+
+if test "$AR " = " "
+then
+ AR=ar
+fi
+
+$AR rc prototype/oss-install/liboss.a prototype/oss-install/*.o
+
+exit 0