OpenCores
URL https://opencores.org/ocsvn/potato/potato/trunk

Subversion Repositories potato

[/] [potato/] [trunk/] [benchmarks/] [hello/] [Makefile] - Diff between revs 45 and 63

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 45 Rev 63
Line 4... Line 4...
 
 
.PHONY: all clean
.PHONY: all clean
 
 
TARGET_PREFIX ?= riscv64-unknown-elf
TARGET_PREFIX ?= riscv64-unknown-elf
TARGET_CC := $(TARGET_PREFIX)-gcc
TARGET_CC := $(TARGET_PREFIX)-gcc
TARGET_LD := $(TARGET_PREFIX)-ld
TARGET_LD := $(TARGET_PREFIX)-gcc
TARGET_SIZE := $(TARGET_PREFIX)-size
TARGET_SIZE := $(TARGET_PREFIX)-size
TARGET_OBJCOPY := $(TARGET_PREFIX)-objcopy
TARGET_OBJCOPY := $(TARGET_PREFIX)-objcopy
HEXDUMP ?= hexdump
HEXDUMP ?= hexdump
 
 
TARGET_CFLAGS += -m32 -march=RV32I -Wall -O2 -fomit-frame-pointer \
TARGET_CFLAGS += -m32 -march=RV32I -Wall -Os -fomit-frame-pointer \
        -ffreestanding -fno-builtin -I.. -std=gnu99
        -ffreestanding -fno-builtin -I.. -std=gnu99 \
TARGET_LDFLAGS += -m elf32lriscv -T../benchmark.ld
        -Wall -Werror=implicit-function-declaration
 
TARGET_LDFLAGS += -m32 -march=RV32I -nostartfiles -Wl,-m,elf32lriscv \
 
        -Wl,-T../benchmark.ld
 
 
OBJECTS := main.o start.o
OBJECTS := main.o start.o
 
 
all: hello.coe
all: hello.coe
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.