mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-16 21:00:16 +00:00
Added possibility to give env var for toolchain
This commit is contained in:
parent
738401390a
commit
f00be7504f
1 changed files with 11 additions and 0 deletions
|
|
@ -5,6 +5,17 @@ endif
|
|||
|
||||
platform ?= rtl
|
||||
|
||||
|
||||
ifdef PULP_RUNTIME_GCC_TOOLCHAIN
|
||||
PULP_CC := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||
else
|
||||
ifdef PULP_RISCV_GCC_TOOLCHAIN
|
||||
PULP_CC := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||
else
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
ifdef gui
|
||||
override runner_args += --config-opt=**/vsim/gui=true
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue