riscv-sandbox/conf/toolchain.mk
2018-12-08 20:19:54 +00:00

14 lines
313 B
Makefile

# Define toolchain to use
ARCH := riscv64
VENDOR := unknown
ABI := elf
BIN_DIR := #/usr/local/bin/
TOOLCHAIN := $(BIN_DIR)$(ARCH)-$(VENDOR)-$(ABI)
# Defines compiler and tools to use
AR := $(TOOLCHAIN)-ar
AS := $(TOOLCHAIN)-as
CC := $(TOOLCHAIN)-gcc
STRIP := $(TOOLCHAIN)-strip
GDB := $(TOOLCHAIN)-gdb