summaryrefslogtreecommitdiff
path: root/setup/VxWorks
diff options
context:
space:
mode:
Diffstat (limited to 'setup/VxWorks')
-rw-r--r--setup/VxWorks/build.sh23
-rw-r--r--setup/VxWorks/make.local5
2 files changed, 28 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
diff --git a/setup/VxWorks/make.local b/setup/VxWorks/make.local
new file mode 100644
index 0000000..3eac1d3
--- /dev/null
+++ b/setup/VxWorks/make.local
@@ -0,0 +1,5 @@
+build: kernel/framework/include/buildid.h all
+ LD=$(LD) AR=$(AR) sh build.sh
+
+package: build
+ sh setup/VxWorks/mkpkg.sh