diff --git a/ld/Makefile.linker b/ld/Makefile.linker index 6e32cfb3..6962d818 100644 --- a/ld/Makefile.linker +++ b/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 diff --git a/ld/README b/ld/README index c43c6b18..0e30b598 100644 --- a/ld/README +++ b/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 diff --git a/lib/linker.ld.S b/ld/linker.ld.S similarity index 100% rename from lib/linker.ld.S rename to ld/linker.ld.S