Rev 1962 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1962 | Rev 1968 | ||
---|---|---|---|
1 | #! /bin/sh |
1 | #! /bin/sh |
2 | 2 | ||
3 | COMPILER="" |
3 | COMPILER="" |
4 | 4 | ||
5 | while [ "$#" -gt 0 ]; do |
5 | while [ "$#" -gt 0 ]; do |
6 | case "$1" in |
6 | case "$1" in |
7 | native) |
7 | native) |
8 | COMPILER="$COMPILER NATIVE_COMPILER=yes" |
8 | COMPILER="$COMPILER NATIVE_COMPILER=yes" |
9 | ;; |
9 | ;; |
10 | strong) |
10 | strong) |
11 | COMPILER="$COMPILER STRONG_ORDERING=yes" |
11 | COMPILER="$COMPILER STRONG_ORDERING=yes" |
12 | ;; |
12 | ;; |
13 | *) |
13 | *) |
14 | echo "Supported arguments: native strong" |
14 | echo "Supported arguments: native strong" |
15 | exit 1 |
15 | exit 1 |
16 | ;; |
16 | ;; |
17 | esac |
17 | esac |
18 | shift |
18 | shift |
19 | done |
19 | done |
20 | 20 | ||
21 | make all ARCH=ia32 $COMPILER |
21 | make all ARCH=ia32 $COMPILER |
22 | ( cd uspace/libc && make all ARCH=ia32 $COMPILER ) |
22 | ( cd uspace/libc && make all ARCH=ia32 $COMPILER ) |
23 | ( cd uspace && make all ARCH=ia32 $COMPILER ) |
23 | ( cd uspace && make all ARCH=ia32 $COMPILER ) |
24 | 24 |