projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2daa118
)
tools/thermal/tmon: Add cross compiling support
author
Rolf Eike Beer
<eb@emlix.com>
Fri, 30 Jul 2021 11:51:54 +0000
(13:51 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:07 +0000
(13:40 +0200)
commit
b5f7912bb604b47a0fe024560488a7556dce8ee7
upstream.
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 <eb@emlix.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link:
https://lore.kernel.org/r/31302992.qZodDJZGDc@devpool47
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/thermal/tmon/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/tools/thermal/tmon/Makefile
b/tools/thermal/tmon/Makefile
index 59e417ec3e134ce48fd039662d5b7bf6d49bba52..25d7f8f37cfd6d547dd3fe9549e59b5d63f89793 100644
(file)
--- 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)\"
LDFLAGS+=