summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorHesham Almatary <Hesham.Almatary@cl.cam.ac.uk>2019-10-23 12:37:12 +0100
committerHesham Almatary <Hesham.Almatary@cl.cam.ac.uk>2019-10-27 10:44:52 +0000
commitca82ded7852397f5e46a9d3edb9654bd86a56c59 (patch)
treebfb958bc363b629b3757ce37711a5ab8dc905a68 /c
parentd2efc968e2f644512062de1e06fab20abd2e6854 (diff)
downloadrtems-ca82ded7852397f5e46a9d3edb9654bd86a56c59.tar.bz2
riscv: Generate linkcmds.base from the shared linkcmds.base.in
This commit moves the existing linkcmds.base to linkcmds.base.in in order to make it configurable by autotools.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/riscv/riscv/Makefile.am2
-rw-r--r--c/src/lib/libbsp/riscv/riscv/configure.ac1
2 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/riscv/riscv/Makefile.am b/c/src/lib/libbsp/riscv/riscv/Makefile.am
index 15b0865306..61de95d7fb 100644
--- a/c/src/lib/libbsp/riscv/riscv/Makefile.am
+++ b/c/src/lib/libbsp/riscv/riscv/Makefile.am
@@ -23,7 +23,7 @@ start.$(OBJEXT): ../../../../../../bsps/riscv/shared/start/start.S
project_lib_DATA = start.$(OBJEXT)
project_lib_DATA += linkcmds
-project_lib_DATA += ../../../../../../bsps/riscv/shared/start/linkcmds.base
+project_lib_DATA += linkcmds.base
###############################################################################
# LibBSP #
diff --git a/c/src/lib/libbsp/riscv/riscv/configure.ac b/c/src/lib/libbsp/riscv/riscv/configure.ac
index 26a3e07e98..af501badf2 100644
--- a/c/src/lib/libbsp/riscv/riscv/configure.ac
+++ b/c/src/lib/libbsp/riscv/riscv/configure.ac
@@ -78,5 +78,6 @@ RISCV_LINKCMD([RISCV_RAM_REGION_SIZE],[size of the RAM region for linker command
AC_CONFIG_FILES([
Makefile
linkcmds:../../../../../../bsps/riscv/riscv/start/linkcmds.in
+linkcmds.base:../../../../../../bsps/riscv/shared/start/linkcmds.base.in
])
AC_OUTPUT