mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-17 08:41:03 +00:00
Convenience fixes
This commit is contained in:
parent
3b10f5f51e
commit
a4c7916fff
1 changed files with 4 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ endif
|
||||||
|
|
||||||
platform ?= rtl
|
platform ?= rtl
|
||||||
VSIM ?= vsim
|
VSIM ?= vsim
|
||||||
|
gui ?= 0
|
||||||
|
|
||||||
ifdef PULP_RUNTIME_GCC_TOOLCHAIN
|
ifdef PULP_RUNTIME_GCC_TOOLCHAIN
|
||||||
PULP_CC := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
PULP_CC := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||||
|
|
@ -28,7 +28,7 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifdef gui
|
ifneq '$(gui)' '0'
|
||||||
override runner_args += --config-opt=**/vsim/gui=true
|
override runner_args += --config-opt=**/vsim/gui=true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -260,6 +260,7 @@ $(foreach app, $(PULP_APPS), $(eval $(call declare_app,$(app))))
|
||||||
conf:
|
conf:
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
$(V)rm -rf $(TARGETS).dis $(TARGETS).itb
|
||||||
|
|
||||||
.PHONY:clean
|
.PHONY:clean
|
||||||
clean:
|
clean:
|
||||||
|
|
@ -329,7 +330,7 @@ ifndef VSIM_PATH
|
||||||
'source $$YOUR_HW_DIR/setup/vsim.sh' or set it manually.")
|
'source $$YOUR_HW_DIR/setup/vsim.sh' or set it manually.")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef gui
|
ifneq '$(gui)' '0'
|
||||||
cd $(TARGET_BUILD_DIR) && export VSIM_RUNNER_FLAGS='$(vsim_flags)' && export VOPT_ACC_ENA="YES" && $(VSIM) -64 -do 'source $(VSIM_PATH)/tcl_files/config/run_and_exit.tcl' -do 'source $(VSIM_PATH)/tcl_files/run.tcl; '
|
cd $(TARGET_BUILD_DIR) && export VSIM_RUNNER_FLAGS='$(vsim_flags)' && export VOPT_ACC_ENA="YES" && $(VSIM) -64 -do 'source $(VSIM_PATH)/tcl_files/config/run_and_exit.tcl' -do 'source $(VSIM_PATH)/tcl_files/run.tcl; '
|
||||||
else
|
else
|
||||||
cd $(TARGET_BUILD_DIR) && export VSIM_RUNNER_FLAGS='$(vsim_flags)' && $(VSIM) -64 -c -do 'source $(VSIM_PATH)/tcl_files/config/run_and_exit.tcl' -do 'source $(VSIM_PATH)/tcl_files/run.tcl; run_and_exit;'
|
cd $(TARGET_BUILD_DIR) && export VSIM_RUNNER_FLAGS='$(vsim_flags)' && $(VSIM) -64 -c -do 'source $(VSIM_PATH)/tcl_files/config/run_and_exit.tcl' -do 'source $(VSIM_PATH)/tcl_files/run.tcl; run_and_exit;'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue