blob: aa8d11bf382a694a5a046b1b2a54997e3897f553 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
|