0,0 → 1,26 |
#! /bin/sh |
|
set -e |
# Generate context_offset.h |
(cd tools/amd64/;make gencontext;./gencontext) |
# Create links to ia32 architecture |
|
( |
set -e |
cd arch |
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 |
if [ \! -e amd64/src/$a ]; then |
echo ln -sf `pwd`/ia32/src/$a amd64/src/$a |
ln -sf `pwd`/ia32/src/$a amd64/src/$a |
fi |
done |
|
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 barrier.h; do |
if [ \! -e amd64/include/$a ]; then |
echo ln -sf `pwd`/ia32/include/$a amd64/include/$a |
ln -sf `pwd`/ia32/include/$a amd64/include/$a |
fi |
done |
) |
make dist-clean ARCH=ia32 |
make all ARCH=amd64 |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |