diff options
author | Tom Hughes <tomhughes@chromium.org> | 2022-09-13 13:41:47 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-16 15:51:20 +0000 |
commit | f9e3ebc75dfcae47bdc7a6e28affb34d00166783 (patch) | |
tree | 710e7cbe10926dae4ff35f1135ad6e5194aced7e /Makefile | |
parent | 92adcc327f606e3e2eb55b4b5869121f1f34f038 (diff) | |
download | chrome-ec-f9e3ebc75dfcae47bdc7a6e28affb34d00166783.tar.gz |
Makefile: Set prefixed toolchain for host
When building with portage, the build fails if we use the "unprefixed"
compiler (e.g., "g++"). Explicitly use the prefixed compiler when
building for the host.
BRANCH=none
BUG=b:246424843
TEST=emerge-hatch chromeos-ec
Force-Relevant-Builds: all
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I50d2b437374bf6857b19151edb5eaea24a7330c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3894407
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -119,9 +119,7 @@ include chip/$(CHIP)/build.mk # (CC, CPP, CXX, etc.) so that the correct toolchain is used. The CORE variable # is set in the CHIP build file, so this include must come after including the # CHIP build file. -ifneq ($(BOARD), host) include core/$(CORE)/toolchain.mk -endif # Create uppercase config variants, to avoid mixed case constants. # Also translate '-' to '_', so 'cortex-m' turns into 'CORTEX_M'. This must |