mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-06-09 00:31:03 +00:00
Fix unset PULP_OBJDUMP when specifying toolchain path
This commit is contained in:
parent
3ba9a34966
commit
da4e51e71d
1 changed files with 2 additions and 0 deletions
|
|
@ -15,10 +15,12 @@ VSIM ?= vsim
|
|||
ifdef PULP_RUNTIME_GCC_TOOLCHAIN
|
||||
PULP_CC := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||
PULP_LD := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_LD)
|
||||
PULP_OBJDUMP := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_OBJDUMP)
|
||||
else
|
||||
ifdef PULP_RISCV_GCC_TOOLCHAIN
|
||||
PULP_CC := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||
PULP_LD := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_LD)
|
||||
PULP_OBJDUMP := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_OBJDUMP)
|
||||
else
|
||||
$(warning "Warning: Neither PULP_RUNTIME_GCC_TOOLCHAIN nor PULP_RISCV_GCC_TOOLCHAIN is set.\
|
||||
Using defaults.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue