Subversion Repositories Kolibri OS

Rev

Rev 1159 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1159 hidnplayr 1
#!/bin/bash
2
# This script does for linux the same as build.bat for DOS,
3
# it compiles the KoOS kernel, hopefully ;-)
4
 
5
CLANG=$1;
6
 
7
usage()
8
{
9
	echo "Usage: make.sh [en|ru|ge|et]"
10
	exit 1
11
}
12
 
13
compile()
14
{
15
	fasm -m 65536 kernel.asm bin/kernel.mnt
16
	rm -f lang.inc
17
	exit 0
18
}
19
 
20
 
21
if [ ! $CLANG ] ; then
22
	usage
23
fi
24
 
25
for i in "en" "ru" "ge" "et"; do
26
	if [ $i == $CLANG ] ; then
27
		echo "lang fix $i" > lang.inc
28
		compile
29
	fi
30
done
31
usage
32