Browse Source

[GENLINK] Moved linker template source to ld directory

pull/179/merge
BuFran 12 years ago
committed by Piotr Esden-Tempski
parent
commit
6a41e5fccb
  1. 2
      ld/Makefile.linker
  2. 2
      ld/README
  3. 0
      ld/linker.ld.S

2
ld/Makefile.linker

@ -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

2
ld/README

@ -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

0
lib/linker.ld.S → ld/linker.ld.S

Loading…
Cancel
Save