From: Rolf Eike Beer <eb@emlix.com>
To: linux-acpi@vger.kernel.org
Cc: Zhang Rui <rui.zhang@intel.com>,
Markus Mayer <mmayer@broadcom.com>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Jiri Olsa <jolsa@kernel.org>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Jiri Kosina <jkosina@suse.cz>
Subject: [PATCH 2/2] tools/thermal: tmon: default to prefixed pkg-config when crosscompiling
Date: Fri, 30 Jul 2021 13:51:54 +0200 [thread overview]
Message-ID: <31302992.qZodDJZGDc@devpool47> (raw)
In-Reply-To: <2149399.oOxd0sxVbX@devpool47>
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 --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
next prev parent reply other threads:[~2021-07-30 11:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-30 11:47 [PATCH][RESEND] tools/thermal/tmon: simplify Makefile and fix cross build Rolf Eike Beer
2021-07-30 11:49 ` [PATCH 1/2] tools/thermal: tmon: simplify Makefile Rolf Eike Beer
2021-07-30 11:51 ` Rolf Eike Beer [this message]
2021-08-14 11:18 ` [PATCH] MAINTAINERS: Add missing userspace thermal tools to the thermal section Daniel Lezcano
2021-08-19 9:40 ` [PATCH][RESEND] tools/thermal/tmon: simplify Makefile and fix cross build Jiri Kosina
2021-08-19 10:02 ` Daniel Lezcano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=31302992.qZodDJZGDc@devpool47 \
--to=eb@emlix.com \
--cc=acme@redhat.com \
--cc=jkosina@suse.cz \
--cc=jolsa@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmayer@broadcom.com \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox