提交 c21568ff 编写于 作者: M Markus Mayer 提交者: Zhang Rui

tools/thermal: tmon: allow $(CC) to be defined externally

It can be helpful, especially when using a build system, to set the C
compiler externally.
Signed-off-by: NMarkus Mayer <mmayer@broadcom.com>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 ec04aa3a
......@@ -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+=
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册