[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31302992.qZodDJZGDc@devpool47>
Date: Fri, 30 Jul 2021 13:51:54 +0200
From: Rolf Eike Beer <eb@...ix.com>
To: linux-acpi@...r.kernel.org
Cc: Zhang Rui <rui.zhang@...el.com>,
Markus Mayer <mmayer@...adcom.com>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiri Olsa <jolsa@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Jiri Kosina <jkosina@...e.cz>
Subject: [PATCH 2/2] tools/thermal: tmon: default to prefixed pkg-config when crosscompiling
This matches what other parts of the tools/ directory already do.
Signed-off-by: Rolf Eike Beer <eb@...ix.com>
Cc: stable@...r.kernel.org
---
tools/thermal/tmon/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile
index 3e650878ea824..f9c52b7fab7bc 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
--
2.32.0
--
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055
emlix - smart embedded open source
Powered by blists - more mailing lists