source: mainline/src/build.amd64@ d9f7a6a

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since d9f7a6a was 4bb86b4, checked in by Ondrej Palkovsky <ondrap@…>, 20 years ago

Use ia32 memmap.h/memmapash.h

  • Property mode set to 100755
File size: 676 bytes
Line 
1#! /bin/sh
2
3set -e
4# Generate context_offset.h
5(cd ../arch/amd64/src;make gencontext;./gencontext)
6# Create links to ia32 architecture
7
8(
9set -e
10cd ../arch
11for a in drivers bios mm/frame.c mm/tlb.c mm/memory_init.c boot/memmap.S; do
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
16done
17
18for a in ega.h i8042.h i8259.h i8254.h interrupt.h bios mm/memory_init.h boot/memmap.h boot/memmapasm.h; do
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
23done
24)
25make dist-clean ARCH=ia32
26make all ARCH=amd64
Note: See TracBrowser for help on using the repository browser.