aboutsummaryrefslogtreecommitdiff
path: root/isa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'isa/Makefile')
-rw-r--r--isa/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/isa/Makefile b/isa/Makefile
index 07aef50..58ec424 100644
--- a/isa/Makefile
+++ b/isa/Makefile
@@ -18,12 +18,12 @@ default: all
# Build rules
#--------------------------------------------------------------------
-RISCV_PREFIX=riscv64-unknown-elf-
-RISCV_GCC = $(RISCV_PREFIX)gcc
-ENTROPY = -DENTROPY=$(shell echo $$$$)
-RISCV_GCC_OPTS = $(ENTROPY) -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles
-RISCV_OBJDUMP = $(RISCV_PREFIX)objdump --disassemble-all --disassemble-zeroes --section=.text --section=.text.startup --section=.text.init --section=.data
-RISCV_SIM = spike
+RISCV_PREFIX ?= riscv64-unknown-elf-
+RISCV_GCC ?= $(RISCV_PREFIX)gcc
+ENTROPY ?= -DENTROPY=$(shell echo $$$$)
+RISCV_GCC_OPTS ?= $(ENTROPY) -static -mcmodel=medany -fvisibility=hidden -nostdlib -nostartfiles
+RISCV_OBJDUMP ?= $(RISCV_PREFIX)objdump --disassemble-all --disassemble-zeroes --section=.text --section=.text.startup --section=.text.init --section=.data
+RISCV_SIM ?= spike
vpath %.S $(isa_src_dir)