[BUILD] Updated to make from examples directory correctly
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
8d94bdc11c
commit
ea589b9a4e
@@ -55,9 +55,9 @@
|
|||||||
ifneq ($(DEVICE),)
|
ifneq ($(DEVICE),)
|
||||||
|
|
||||||
LDSCRIPT=$(DEVICE).ld
|
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),)
|
ifeq ($(LD_PARAMS),)
|
||||||
$(error unknown device $(DEVICE) for the linker. Cannot generate ldscript)
|
$(error unknown device $(DEVICE) for the linker. Cannot generate ldscript)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user