[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

View File

@ -14,7 +14,7 @@ File contents
* {ROOT}/ld/tests/* - Prepared tests for the testing of the script
* {ROOT}/ld/devices.data - Device database file
* {ROOT}/ld/Makefile.linker - Common makefile part
* {ROOT}/src/linker.ld.S - Linker script template
* {ROOT}/ld/linker.ld.S - Linker script template
* {ROOT}/scripts/genlink.awk - Device database file search script
* {ROOT}/scripts/genlinktest.sh - Device database file search test script