summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
authorMattias Nissler <mnissler@chromium.org>2020-11-23 13:11:35 +0000
committerCommit Bot <commit-bot@chromium.org>2020-11-26 01:09:25 +0000
commit7fa6cb47c9441418d7e482b00cac5456e2edb8ed (patch)
treeb2b41e0e1d37720b1788e0e06d0be27f9fe2d293 /Makefile.toolchain
parent559ad51bad0a4204e8735c6a9e0ec7256a8ea0b2 (diff)
downloadchrome-ec-7fa6cb47c9441418d7e482b00cac5456e2edb8ed.tar.gz
Use host's pkg-config for gen_touchpad_hash
This is a helper running on the host, so should use host tooling. Changing this avoids a build failure on cheza where chromeos-ec the would fail to build before the openssl package (which is supposed to work given that chromeos-ec doesn't list openssl in its dependencies, and this pkg-config invocation is not a reason to start doing so). BUG=None BRANCH=None TEST=emerge-cheza -v1 chromeos-ec Signed-off-by: Mattias Nissler <mnissler@chromium.org> Change-Id: I45161285db17a56b29a36549d3b113f42dff9362 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2550660 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r--Makefile.toolchain1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain
index 01252ba14f..f9306b1789 100644
--- a/Makefile.toolchain
+++ b/Makefile.toolchain
@@ -42,6 +42,7 @@ PKG_CONFIG?=pkg-config
BUILDCC?=$(CCACHE) gcc
HOSTCC?=$(CCACHE) $(HOST_CROSS_COMPILE)gcc
HOSTCXX?=$(CCACHE) $(HOST_CROSS_COMPILE)g++
+HOST_PKG_CONFIG?=$(HOST_CROSS_COMPILE)pkg-config
PROTOC?=protoc
C_WARN = -Wstrict-prototypes -Wdeclaration-after-statement -Wno-pointer-sign