Home
last modified time | relevance | path

Searched hist:"78 cb57ccbc0e9aa3b27f0aeac2fcaf8890d29c79" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/make_helpers/
H A Dtoolchain.mk78cb57ccbc0e9aa3b27f0aeac2fcaf8890d29c79 Tue Nov 11 13:59:05 UTC 2025 Chris Kay <chris.kay@arm.com> fix(build): shell-escape toolchain wrapper commands

When we split toolchain tool commands into their wrapper and program
shell fragments, we do so by iterating over each shell word and
forwarding it to `toolchain-guess-tool`.

However, we receive each word in its raw form, but we pass it to a
function which expects a fragment. If the raw word contains characters
which are syntactically-meaningful to the shell, then the command can
misbehave, and the build system can unwittingly do some funky things.

This small change just ensures that we re-quote the shell word we
receive before forwarding it on.

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