mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-07-29 20:14:10 +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
|
ifdef PULP_RUNTIME_GCC_TOOLCHAIN
|
||||||
PULP_CC := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
PULP_CC := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||||
PULP_LD := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_LD)
|
PULP_LD := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_LD)
|
||||||
|
PULP_OBJDUMP := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_OBJDUMP)
|
||||||
else
|
else
|
||||||
ifdef PULP_RISCV_GCC_TOOLCHAIN
|
ifdef PULP_RISCV_GCC_TOOLCHAIN
|
||||||
PULP_CC := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
PULP_CC := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||||
PULP_LD := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_LD)
|
PULP_LD := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_LD)
|
||||||
|
PULP_OBJDUMP := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_OBJDUMP)
|
||||||
else
|
else
|
||||||
$(warning "Warning: Neither PULP_RUNTIME_GCC_TOOLCHAIN nor PULP_RISCV_GCC_TOOLCHAIN is set.\
|
$(warning "Warning: Neither PULP_RUNTIME_GCC_TOOLCHAIN nor PULP_RISCV_GCC_TOOLCHAIN is set.\
|
||||||
Using defaults.")
|
Using defaults.")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue