14 lines
313 B
Makefile
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
|