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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [ocd-firmware/] [makefile] - Diff between revs 59 and 62

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

Rev 59 Rev 62
Line 50... Line 50...
 
 
# Optimization
# Optimization
EFFORT ?= -Os
EFFORT ?= -Os
 
 
# Compiler toolchain
# Compiler toolchain
RISCV_TOOLCHAIN ?= riscv32-unknown-elf
RISCV_PREFIX ?= riscv32-unknown-elf-
 
 
# CPU architecture and ABI
# CPU architecture and ABI
MARCH = -march=rv32i
MARCH = -march=rv32i
MABI  = -mabi=ilp32
MABI  = -mabi=ilp32
 
 
Line 103... Line 103...
 
 
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Tools and flags
# Tools and flags
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Compiler tools
# Compiler tools
CC      = $(RISCV_TOOLCHAIN)-gcc
CC      = $(RISCV_PREFIX)gcc
OBJDUMP = $(RISCV_TOOLCHAIN)-objdump
OBJDUMP = $(RISCV_PREFIX)objdump
OBJCOPY = $(RISCV_TOOLCHAIN)-objcopy
OBJCOPY = $(RISCV_PREFIX)objcopy
SIZE    = $(RISCV_TOOLCHAIN)-size
SIZE    = $(RISCV_PREFIX)size
 
 
# Host native compiler
# Host native compiler
CC_X86 = g++ -Wall -O -g
CC_X86 = g++ -Wall -O -g
 
 
# NEORV32 executable image generator
# NEORV32 executable image generator

powered by: WebSVN 2.1.0

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