Subversion Repositories HelenOS-historic

Rev

Rev 326 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 326 Rev 341
1
#! /bin/sh
1
#! /bin/sh
2
 
2
 
3
if [ -z "$1" ]; then
3
if [ -z "$1" ]; then
4
  echo "Usage: $0 [msim|simics|lgxemul|bgxemul|indy]"
4
  echo "Usage: $0 [msim|simics|lgxemul|bgxemul|indy]"
5
  exit 1
5
  exit 1
6
else
6
else
7
  MACHINE=$1
7
  MACHINE=$1
8
fi
8
fi
9
 
9
 
10
# Generate context_offset.h
10
# Generate context_offset.h
11
(cd ../tools/mips/;make gencontext;./gencontext)
11
(cd ../tools/mips32/;make gencontext;./gencontext)
12
rm ../arch/mips/_link.ld
12
rm ../arch/mips32/_link.ld
13
 
13
 
14
make all ARCH=mips MACHINE=$MACHINE
14
make all ARCH=mips32 MACHINE=$MACHINE
15
 
15