Subversion Repositories HelenOS-historic

Rev

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

Rev 306 Rev 376
Line 1... Line 1...
1
#! /bin/sh
1
#! /bin/sh
2
 
2
 
3
set -e
3
set -e
4
# Generate context_offset.h
4
# Generate context_offset.h
5
(cd ../tools/amd64/;make gencontext;./gencontext)
5
(cd tools/amd64/;make gencontext;./gencontext)
6
# Create links to ia32 architecture
6
# Create links to ia32 architecture
7
 
7
 
8
(
8
(
9
set -e
9
set -e
10
cd ../arch
10
cd arch
11
for a in drivers bios fmath.c mm/frame.c mm/tlb.c mm/memory_init.c boot/memmap.S smp/apic.c smp/ipi.c smp/mps.c smp/smp.c acpi; do
11
for a in drivers bios fmath.c mm/frame.c mm/tlb.c mm/memory_init.c boot/memmap.S smp/apic.c smp/ipi.c smp/mps.c smp/smp.c acpi; do
12
  if [ \! -e amd64/src/$a ]; then
12
  if [ \! -e amd64/src/$a ]; then
13
    echo ln -sf `pwd`/ia32/src/$a amd64/src/$a
13
    echo ln -sf `pwd`/ia32/src/$a amd64/src/$a
14
    ln -sf `pwd`/ia32/src/$a amd64/src/$a
14
    ln -sf `pwd`/ia32/src/$a amd64/src/$a
15
  fi
15
  fi