source: mainline/build.amd64@ cad5ce8

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since cad5ce8 was c9ed176, checked in by Jakub Jermar <jakub@…>, 20 years ago

Move kernel build files one level up the directory tree.
Fix paths in your testing environment!

  • Property mode set to 100755
File size: 764 bytes
RevLine 
[1141c1a]1#! /bin/sh
2
[fa0dfaf]3set -e
[379d73f3]4# Generate context_offset.h
[c9ed176]5(cd tools/amd64/;make gencontext;./gencontext)
[379d73f3]6# Create links to ia32 architecture
7
[7df54df]8(
9set -e
[c9ed176]10cd arch
[8ff2f3f]11for 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
[32f6e1bd]12 if [ \! -e amd64/src/$a ]; then
13 echo ln -sf `pwd`/ia32/src/$a amd64/src/$a
14 ln -sf `pwd`/ia32/src/$a amd64/src/$a
15 fi
[b9e97fb]16done
17
[e84439a]18for 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
[32f6e1bd]19 if [ \! -e amd64/include/$a ]; then
20 echo ln -sf `pwd`/ia32/include/$a amd64/include/$a
21 ln -sf `pwd`/ia32/include/$a amd64/include/$a
22 fi
[7df54df]23done
24)
[b9e97fb]25make dist-clean ARCH=ia32
[1141c1a]26make all ARCH=amd64
Note: See TracBrowser for help on using the repository browser.