[BUILD] Updated to make from examples directory correctly
This commit is contained in:
parent
8d94bdc11c
commit
ea589b9a4e
@ -55,9 +55,9 @@
|
||||
ifneq ($(DEVICE),)
|
||||
|
||||
LDSCRIPT=$(DEVICE).ld
|
||||
LD_PARAMS=$(shell awk -v PAT="$(DEVICE)" -f $(TOOLCHAIN_DIR)/scripts/genlink.awk $(TOOLCHAIN_DIR)/ld/devices.data 2>/dev/null)
|
||||
LD_PARAMS=$(shell awk -v PAT="$(DEVICE)" -f $(SRCLIBDIR)/scripts/genlink.awk $(SRCLIBDIR)/ld/devices.data 2>/dev/null)
|
||||
|
||||
$(LDSCRIPT):$(TOOLCHAIN_DIR)/ld/linker.ld.S
|
||||
$(LDSCRIPT):$(SRCLIBDIR)/ld/linker.ld.S
|
||||
ifeq ($(LD_PARAMS),)
|
||||
$(error unknown device $(DEVICE) for the linker. Cannot generate ldscript)
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user