summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>2016-09-07 17:43:00 +0200
committerMark Brown <broonie@kernel.org>2016-09-12 21:02:25 +0200
commit2a4635ea1d39affd8bc9d33b062b03f33c910889 (patch)
treef63244e7231d291c9be5e170047466a6190c76a5
parentLinux 4.8-rc1 (diff)
downloadlinux-2a4635ea1d39affd8bc9d33b062b03f33c910889.tar.xz
linux-2a4635ea1d39affd8bc9d33b062b03f33c910889.zip
spi: tools: enable CROSS_COMPILE in Makefile
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--tools/spi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/spi/Makefile b/tools/spi/Makefile
index cd0db62e4d9d..3815b18ba070 100644
--- a/tools/spi/Makefile
+++ b/tools/spi/Makefile
@@ -1,3 +1,5 @@
+CC = $(CROSS_COMPILE)gcc
+
all: spidev_test spidev_fdx
clean: