Subversion Repositories HelenOS

Rev

Rev 424 | Rev 430 | 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= \
    src/arch/asm.S \
    src/arch/console.c \
    src/arch/context.S \
    src/arch/dummy.s \
    src/arch/sparc64.c \
    src/arch/start.S \
    src/arch/mm/frame.c \
    src/arch/mm/page.c