Home
last modified time | relevance | path

Searched hist:"3 cc5e789c996da1a648e3b26f2b67354d505e3e2" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/make_helpers/
H A Dtoolchain.mk3cc5e789c996da1a648e3b26f2b67354d505e3e2 Mon Sep 29 14:29:54 UTC 2025 Chris Kay <chris.kay@arm.com> refactor(build): unify toolchain derivation

At the moment, the process we go through to derive the value for the
toolchain tool variables is fairly complicated and not particularly
consistent. This change brings the three mechanisms we support into
alignment in terms of their inputs and outputs via three helpers:

- `toolchain-from-parameter`: load the command from its parameter
- `toolchain-from-cc`: load the command from its C compiler
- `toolchain-from-default`: load the command from its built-in defaults

These functions take a toolchain identifier and a tool class identifer,
and return either a program name/path or a shell command. Sanitisation
is then done inside `toolchain-determine-tool`, which now makes a
stronger guarantee that the toolchain tools are correctly escaped for
the shell.

Change-Id: I3ce73134824e805e8ee47a119c982e7fe4923fae
Signed-off-by: Chris Kay <chris.kay@arm.com>