diff options
Diffstat (limited to 'spec/build/bsps/linkcmds.yml')
-rw-r--r-- | spec/build/bsps/linkcmds.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/build/bsps/linkcmds.yml b/spec/build/bsps/linkcmds.yml new file mode 100644 index 0000000000..420108473d --- /dev/null +++ b/spec/build/bsps/linkcmds.yml @@ -0,0 +1,20 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: script +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +do-build: | + bld.install_as( + "${BSP_LIBDIR}/linkcmds", + "bsps/" + bld.env.ARCH + "/" + bld.env.BSP_FAMILY + + "/start/linkcmds." + bld.env.BSP_BASE + ) +do-configure: | + conf.env.append_value( + "LINKFLAGS", + ["-qnolinkcmds", "-T", "linkcmds." + conf.env.BSP_BASE] + ) +enabled-by: true +links: [] +prepare-build: null +prepare-configure: null +type: build |