Subversion Repositories HelenOS

Rev

Rev 426 | Rev 455 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

TARGET=sparc64-linux-gnu

CC_DIR=/usr/local/sparc64/bin
BINUTILS_DIR=/usr/local/sparc64/bin

CC=$(CC_DIR)/$(TARGET)-gcc
AS=$(BINUTILS_DIR)/$(TARGET)-as
LD=$(BINUTILS_DIR)/$(TARGET)-ld
OBJDUMP=$(BINUTILS_DIR)/$(TARGET)-objdump
OBJCOPY=$(BINUTILS_DIR)/$(TARGET)-objcopy
BFD_NAME=elf64-sparc
BFD_ARCH=sparc

ASFLAGS=

DEFS=-DARCH=$(ARCH)
CFLAGS=$(DEFS) -nostdlib -fno-builtin -mcpu=ultrasparc -m64 -O2
LFLAGS=-M -no-check-sections -N

arch_sources= \
    generic/src/arch/asm.S \
    generic/src/arch/console.c \
    generic/src/arch/context.S \
    generic/src/arch/dummy.s \
    generic/src/arch/sparc64.c \
    generic/src/arch/start.S \
    generic/src/arch/mm/frame.c \
    generic/src/arch/mm/page.c