From ea589b9a4ed6f7876c1fa0f9c7c653168fc9b277 Mon Sep 17 00:00:00 2001 From: BuFran Date: Mon, 8 Jul 2013 23:02:48 +0200 Subject: [PATCH] [BUILD] Updated to make from examples directory correctly --- ld/Makefile.linker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.linker b/ld/Makefile.linker index 6962d818..feff6c06 100644 --- a/ld/Makefile.linker +++ b/ld/Makefile.linker @@ -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