mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-16 08:38:32 +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
|
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)
|
||||||
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)
|
||||||
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