mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
Fix unset PULP_LD when specifying toolchain path
This commit is contained in:
parent
b8557b6a0d
commit
c82ed91ce6
1 changed files with 2 additions and 0 deletions
|
|
@ -8,9 +8,11 @@ platform ?= rtl
|
|||
|
||||
ifdef PULP_RUNTIME_GCC_TOOLCHAIN
|
||||
PULP_CC := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||
PULP_LD := $(PULP_RUNTIME_GCC_TOOLCHAIN)/bin/$(PULP_LD)
|
||||
else
|
||||
ifdef PULP_RISCV_GCC_TOOLCHAIN
|
||||
PULP_CC := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_CC)
|
||||
PULP_LD := $(PULP_RISCV_GCC_TOOLCHAIN)/bin/$(PULP_LD)
|
||||
else
|
||||
$(warning "Warning: Neither PULP_RUNTIME_GCC_TOOLCHAIN nor PULP_RISCV_GCC_TOOLCHAIN is set.\
|
||||
Using defaults.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue