lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 33ccb2c was b9e97fb, checked in by Ondrej Palkovsky <ondrap@…>, 20 years ago |
Better types for ia32 drivers, so that they can be reused in amd64.
Build script cleanup amd64.
New code / not working yet / in amd64.
|
-
Property mode
set to
100644
|
File size:
814 bytes
|
Rev | Line | |
---|
[1141c1a] | 1 | AMD64_TARGET=amd64-linux-gnu
|
---|
| 2 | AMD64_CC_DIR=/usr/local/amd64/bin
|
---|
| 3 | AMD64_BINUTILS_DIR=/usr/local/amd64/bin
|
---|
| 4 |
|
---|
| 5 | CC=$(AMD64_CC_DIR)/$(AMD64_TARGET)-gcc
|
---|
| 6 | AS=$(AMD64_BINUTILS_DIR)/$(AMD64_TARGET)-as
|
---|
| 7 | LD=$(AMD64_BINUTILS_DIR)/$(AMD64_TARGET)-ld
|
---|
| 8 |
|
---|
| 9 | #ASFLAGS=--64
|
---|
| 10 |
|
---|
| 11 | DEFS=-DARCH=$(ARCH)
|
---|
| 12 | CPPFLAGS=$(DEFS) -nostdinc -I../include
|
---|
[9c0a9b3] | 13 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fno-unwind-tables -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -march=opteron -m64 -mcmodel=kernel -mno-red-zone
|
---|
[1141c1a] | 14 | LFLAGS=-M -T ../arch/amd64/_link.ld
|
---|
| 15 |
|
---|
| 16 | arch_sources = arch/dummy.s \
|
---|
| 17 | arch/fpu_context.c \
|
---|
[c245372b] | 18 | arch/boot/boot.S \
|
---|
| 19 | arch/boot/memmap.S \
|
---|
[fa0dfaf] | 20 | arch/pm.c \
|
---|
[379d73f3] | 21 | arch/context.S \
|
---|
| 22 | arch/drivers/ega.c \
|
---|
[b9e97fb] | 23 | arch/drivers/i8042.c \
|
---|
| 24 | arch/drivers/i8254.c \
|
---|
| 25 | arch/drivers/i8259.c \
|
---|
| 26 | arch/supplib.c \
|
---|
| 27 | arch/delay.S \
|
---|
| 28 | arch/amd64.c \
|
---|
| 29 | arch/bios/bios.c
|
---|
| 30 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.