mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-16 08:38:32 +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
|
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
|
ifdef gui
|
||||||
override runner_args += --config-opt=**/vsim/gui=true
|
override runner_args += --config-opt=**/vsim/gui=true
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue