projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec04aa3
)
tools/thermal: tmon: allow $(CC) to be defined externally
author
Markus Mayer
<mmayer@broadcom.com>
Wed, 27 Sep 2017 23:02:36 +0000
(16:02 -0700)
committer
Zhang Rui
<rui.zhang@intel.com>
Wed, 18 Oct 2017 01:59:31 +0000
(09:59 +0800)
It can be helpful, especially when using a build system, to set the C
compiler externally.
Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
tools/thermal/tmon/Makefile
patch
|
blob
|
history
diff --git
a/tools/thermal/tmon/Makefile
b/tools/thermal/tmon/Makefile
index
5777bc7
..
581da71
100644
(file)
--- a/
tools/thermal/tmon/Makefile
+++ b/
tools/thermal/tmon/Makefile
@@
-8,7
+8,7
@@
WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-
CFLAGS+= -O1 ${WARNFLAGS}
# Add "-fstack-protector" only if toolchain supports it.
CFLAGS+= $(call cc-option,-fstack-protector)
-CC
=
$(CROSS_COMPILE)gcc
+CC
?=
$(CROSS_COMPILE)gcc
CFLAGS+=-D VERSION=\"$(VERSION)\"
LDFLAGS+=