[GENLINK] Moved linker template source to ld directory

This commit is contained in:
BuFran
2013-07-07 12:35:11 +02:00
committed by Piotr Esden-Tempski
parent 08e08f5f84
commit 6a41e5fccb
3 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ 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)
$(LDSCRIPT):$(TOOLCHAIN_DIR)/lib/linker.ld.S
$(LDSCRIPT):$(TOOLCHAIN_DIR)/ld/linker.ld.S
ifeq ($(LD_PARAMS),)
$(error unknown device $(DEVICE) for the linker. Cannot generate ldscript)
endif