diff mbox series

[2/2,RESEND] tools/thermal: tmon: default to prefixed pkg-config when crosscompiling

Message ID 5626379.Ia07YmbPEo@devpool47 (mailing list archive)
State New
Headers show
Series None | expand

Commit Message

Rolf Eike Beer Feb. 18, 2021, 12:30 p.m. UTC
This matches what other parts of the tools/ directory already do.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Cc: stable@vger.kernel.org
---
 tools/thermal/tmon/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile
index 36dc70497066..0a2fd593c65f 100644
--- a/tools/thermal/tmon/Makefile
+++ b/tools/thermal/tmon/Makefile
@@ -10,7 +10,7 @@  override CFLAGS+= $(call cc-option,-O3,-O1) ${WARNFLAGS}
 # Add "-fstack-protector" only if toolchain supports it.
 override CFLAGS+= $(call cc-option,-fstack-protector-strong)
 CC?= $(CROSS_COMPILE)gcc
-PKG_CONFIG?= pkg-config
+PKG_CONFIG?= $(CROSS_COMPILE)pkg-config
 
 override CFLAGS+=-D VERSION=\"$(VERSION)\"
 TARGET=tmon