lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 5f24137 was 5f24137, checked in by Martin Decky <martin@…>, 19 years ago |
simple development environment build script
|
-
Property mode
set to
100755
|
File size:
697 bytes
|
Line | |
---|
1 | #! /bin/bash
|
---|
2 |
|
---|
3 | BASE="$HOME/HelenOS.export"
|
---|
4 | TARGETS="amd64 ia32 ia64 mips32gbe mips32gle ppc32 ppc64 sparc64"
|
---|
5 | OUTPUT="$HOME/arch"
|
---|
6 |
|
---|
7 | for TARGET in $TARGETS ; do
|
---|
8 | rm -fr "$OUTPUT/$TARGET"
|
---|
9 | mkdir -p "$OUTPUT/$TARGET/include"
|
---|
10 |
|
---|
11 | cd "$BASE"
|
---|
12 | make distclean
|
---|
13 | make "PLATFORM=$TARGET" "COMPILER=cross" "CONFIG_DEBUG=n"
|
---|
14 |
|
---|
15 | cp -v "$BASE/uspace/libc/arch/$UTARGET/src/entry.o" "$OUTPUT/$UTARGET"
|
---|
16 | cp -v "$BASE/uspace/libc/arch/$UTARGET/_link.ld" "$OUTPUT/$UTARGET"
|
---|
17 | cp -v "$BASE/uspace/libc/libc.a" "$OUTPUT/$UTARGET"
|
---|
18 | cp -v "$BASE/uspace/softint/libsoftint.a" "$OUTPUT/$UTARGET"
|
---|
19 | cp -v "$BASE/uspace/softfloat/libsoftfloat.a" "$OUTPUT/$UTARGET"
|
---|
20 | cp -v -R -L "$BASE/uspace/libc/include" "$OUTPUT/$UTARGET"
|
---|
21 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.