tools/thermal: tmon: support cross-compiling
authorBrian Norris <computersforpeace@gmail.com>
Wed, 18 Feb 2015 02:18:34 +0000 (18:18 -0800)
committerZhang Rui <rui.zhang@intel.com>
Sat, 28 Feb 2015 05:52:48 +0000 (13:52 +0800)
commit1b0eaa2cc2dc52dced546c1c8b0551cfc734d32d
tree071d51e77c286d18cd6e83fc80fb7031223df7b6
parent3dc3712a823dcedf0c3218aeb2b1e271439cae1b
tools/thermal: tmon: support cross-compiling

We might want to prepare CFLAGS outside of this Makefile, so don't
overwrite its initial value.

Then, support $(CROSS_COMPILE), so we can use a cross-compile toolchain.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
tools/thermal/tmon/Makefile