Subversion Repositories HelenOS

Rev

Rev 407 | Rev 446 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 407 Rev 423
Line 1... Line 1...
1
#! /bin/sh
1
#! /bin/sh
2
 
2
 
3
COMPILER=""
3
COMPILER=""
4
 
4
 
5
if [ "$1" == "native" ];
5
while [ "$#" -gt 0 ]; do
-
 
6
	case "$1" in
6
then
7
		native)
7
	COMPILER="NATIVE_COMPILER=yes";
8
			COMPILER="$COMPILER NATIVE_COMPILER=yes"
-
 
9
			;;
-
 
10
		strong)
-
 
11
			COMPILER="$COMPILER STRONG_ORDERING=yes"
-
 
12
			;;
-
 
13
		*)
-
 
14
			echo "Supported arguments: native strong"
-
 
15
			exit 1
8
fi;
16
			;;
-
 
17
	esac
-
 
18
	shift
-
 
19
done
9
 
20
 
10
make all ARCH=ia32 $COMPILER
21
make all ARCH=ia32 $COMPILER