summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>2016-09-07 18:43:00 +0300
committerMark Brown <broonie@kernel.org>2016-09-12 22:02:25 +0300
commit2a4635ea1d39affd8bc9d33b062b03f33c910889 (patch)
treef63244e7231d291c9be5e170047466a6190c76a5
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
downloadlinux-2a4635ea1d39affd8bc9d33b062b03f33c910889.tar.xz
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: