diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-07-27 22:30:34 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-28 23:01:12 +0000 |
commit | 719d85bf569697a489a6ba7416870f4ec6d5b086 (patch) | |
tree | 6decd5a434631aad21465fc7a24efc3d49387e7a /src/soc | |
parent | 340cb9ae2cc08f75fce14ba169103f719051635b (diff) |
util/xcompile: Allow overriding default compiler path
When looking for C compilers, xcompile uses the "" prefix to "gcc" and
"clang" as a last-resort option. This fails in environments where such
default names are blocked to prevent "unclean" builds - such as Chrome
OS.
Allow overriding this prefix using the GENERIC_COMPILER_PREFIX variable
that is hopefully both descriptive enough to suggest what it is for and
unusual enough to not trigger by chance.
Change-Id: I16239f66730f1dbcb7482f223cea4ee5957af10c
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56643
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc')
0 files changed, 0 insertions, 0 deletions