Skip to content

Commit b5f7912

Browse files
DerDakondlezcano
authored andcommitted
tools/thermal/tmon: Add cross compiling support
Default to prefixed pkg-config when crosscompiling, this matches what other parts of the tools/ directory already do. [dlezcano] : Reworked description Signed-off-by: Rolf Eike Beer <[email protected]> Cc: [email protected] Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/31302992.qZodDJZGDc@devpool47
1 parent 99d88c3 commit b5f7912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/thermal/tmon/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ override CFLAGS+= $(call cc-option,-O3,-O1) ${WARNFLAGS}
1010
# Add "-fstack-protector" only if toolchain supports it.
1111
override CFLAGS+= $(call cc-option,-fstack-protector-strong)
1212
CC?= $(CROSS_COMPILE)gcc
13-
PKG_CONFIG?= pkg-config
13+
PKG_CONFIG?= $(CROSS_COMPILE)pkg-config
1414

1515
override CFLAGS+=-D VERSION=\"$(VERSION)\"
1616
TARGET=tmon

0 commit comments

Comments
 (0)