]> Git Repo - linux.git/blobdiff - tools/thermal/tmon/Makefile
tools/thermal: tmon: support cross-compiling
[linux.git] / tools / thermal / tmon / Makefile
index e775adcbd29fdd3c0fccb66a09efc86e1fd95216..13d1876c7889916e9d11ef791cd571706c107880 100644 (file)
@@ -2,8 +2,8 @@ VERSION = 1.0
 
 BINDIR=usr/bin
 WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
-CFLAGS= -O1 ${WARNFLAGS} -fstack-protector
-CC=gcc
+CFLAGS+= -O1 ${WARNFLAGS} -fstack-protector
+CC=$(CROSS_COMPILE)gcc
 
 CFLAGS+=-D VERSION=\"$(VERSION)\"
 LDFLAGS+=
This page took 0.030524 seconds and 4 git commands to generate.