summaryrefslogtreecommitdiffstats
path: root/tools/spi
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 20:02:25 +0100
commit2a4635ea1d39affd8bc9d33b062b03f33c910889 (patch)
treef63244e7231d291c9be5e170047466a6190c76a5 /tools/spi
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
downloadlinux-2a4635ea1d39affd8bc9d33b062b03f33c910889.tar.bz2
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>
Diffstat (limited to 'tools/spi')
-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: