zephyr/cmake
Mark Ruvald Pedersen 0cad53b5ce cmake: Toolchain abstraction: introduce LINKER variable
The LINKER variable is introduced to follow the same logic and flow as
the existing COMPILER variable: That is, each TOOLCHAIN is responsible
for choosing COMPILER and LINKER.

Currently, Zephyr's build system is hardcoded for GNU ld.
Reflect this in LINKER by letting all existing toolchains use GNU ld.

No functional change expected.

This is motivated by the wish to abstract Zephyr's usage of toolchains,
permitting non-intrusive porting to other (commercial) toolchains.

Signed-off-by: Mark Ruvald Pedersen <mped@oticon.com>
2019-04-28 12:52:18 -04:00
..
app cmake: boilerplate: Fix ZEPHYR_BASE variable for windows 2019-04-18 17:51:47 -04:00
backports cmake: Fixed python detection bug 2018-12-21 11:13:03 +01:00
compiler cmake: fix whitespace 2019-04-28 12:52:18 -04:00
emu license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
flash license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
ide license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
linker/ld cmake: fix intent description of toolchain_cc_nostdinc macro 2019-04-28 12:52:18 -04:00
reports license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
toolchain cmake: Toolchain abstraction: introduce LINKER variable 2019-04-28 12:52:18 -04:00
usage cmake: Split out board listing from usage 2019-04-25 09:14:06 -07:00
util license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
boards.cmake cmake: Split out board listing from usage 2019-04-25 09:14:06 -07:00
ccache.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cfb.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dts.cmake cmake: DT: Add support for out-of-tree binding root directories 2019-04-17 16:25:41 -05:00
extensions.cmake extensions.cmake: add two cc/compile_options callgraph comments 2019-04-18 17:47:58 -04:00
extra_flags.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fpu-for-gcc-m-cpu.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
gcc-m-cpu.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
generic_toolchain.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
git.cmake git.cmake: let the environment override BUILD_VERSION 2019-04-17 08:30:41 -04:00
hex.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
host-tools.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
kconfig.cmake cmake: boilerplate: Fix ZEPHYR_BASE variable for windows 2019-04-18 17:51:47 -04:00
kobj.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
pristine.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
python.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_toolchain.cmake cmake: fix whitespace 2019-04-28 12:52:18 -04:00
version.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
zephyr_module.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00