Subversion Repositories HelenOS

Rev

Rev 206 | Rev 219 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
164 palkovsky 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
195 vana 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
164 palkovsky 14
LFLAGS=-M -T ../arch/amd64/_link.ld
15
 
16
arch_sources = arch/dummy.s \
17
	arch/fpu_context.c \
178 palkovsky 18
	arch/boot/boot.S \
19
	arch/boot/memmap.S \
197 palkovsky 20
	arch/pm.c \
200 palkovsky 21
	arch/context.S \
22
	arch/drivers/ega.c \
206 palkovsky 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 \
216 palkovsky 29
	arch/bios/bios.c \
30
	arch/interrupt.c