Use TARGET instead of PREFIX in /tests Makefile(s) (#1647)
This commit is contained in:
@@ -2,14 +2,14 @@
|
|||||||
# RISCV Toolchain
|
# RISCV Toolchain
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
PREFIX = riscv64-unknown-elf-
|
TARGET = riscv64-unknown-elf
|
||||||
|
|
||||||
GCC = $(PREFIX)gcc
|
GCC = $(TARGET)-gcc
|
||||||
CXX = $(PREFIX)g++
|
CXX = $(TARGET)-g++
|
||||||
CP = $(PREFIX)objcopy
|
CP = $(TARGET)-objcopy
|
||||||
OBJDUMP = $(PREFIX)objdump
|
OBJDUMP = $(TARGET)-objdump
|
||||||
DG = $(PREFIX)gdb
|
DG = $(TARGET)-gdb
|
||||||
SIZE = $(PREFIX)size
|
SIZE = $(TARGET)-size
|
||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|||||||
@@ -5,6 +5,10 @@ ifndef GCC
|
|||||||
$(error GCC is not defined)
|
$(error GCC is not defined)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef TARGET
|
||||||
|
$(error TARGET is not defined)
|
||||||
|
endif
|
||||||
|
|
||||||
libgloss_specs := htif_nano.specs
|
libgloss_specs := htif_nano.specs
|
||||||
|
|
||||||
# Test whether libgloss-htif is globally installed and usable
|
# Test whether libgloss-htif is globally installed and usable
|
||||||
|
|||||||
Reference in New Issue
Block a user