Rev 283 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 283 | Rev 288 | ||
---|---|---|---|
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 ../arch/amd64/src;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 |
16 | done |
16 | done |
17 | 17 | ||
18 | for a in atomic.h ega.h fpu_context.h i8042.h i8259.h i8254.h interrupt.h bios mm/memory_init.h boot/memmap.h boot/memmapasm.h smp acpi; do |
18 | for a in atomic.h ega.h fpu_context.h i8042.h i8259.h i8254.h interrupt.h bios mm/memory_init.h boot/memmap.h boot/memmapasm.h smp acpi; do |
19 | if [ \! -e amd64/include/$a ]; then |
19 | if [ \! -e amd64/include/$a ]; then |
20 | echo ln -sf `pwd`/ia32/include/$a amd64/include/$a |
20 | echo ln -sf `pwd`/ia32/include/$a amd64/include/$a |
21 | ln -sf `pwd`/ia32/include/$a amd64/include/$a |
21 | ln -sf `pwd`/ia32/include/$a amd64/include/$a |
22 | fi |
22 | fi |
23 | done |
23 | done |
24 | ) |
24 | ) |
25 | make dist-clean ARCH=ia32 |
25 | make dist-clean ARCH=ia32 |
26 | make all ARCH=amd64 |
26 | make all ARCH=amd64 |
27 | 27 |