From: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Date: Wed, 7 Sep 2016 15:43:00 +0000 (+0200)
Subject: spi: tools: enable CROSS_COMPILE in Makefile
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a4635ea1d39affd8bc9d33b062b03f33c910889;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

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>
---

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: