diff mbox

[v2] tools: spi: enable CROSS_COMPILE in Makefile

Message ID 1473262980-20103-1-git-send-email-jorge.ramirez-ortiz@linaro.org (mailing list archive)
State Accepted
Commit 2a4635ea1d39affd8bc9d33b062b03f33c910889
Headers show

Commit Message

Jorge Ramirez-Ortiz Sept. 7, 2016, 3:43 p.m. UTC
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
---
 tools/spi/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Mark Brown Sept. 12, 2016, 7:02 p.m. UTC | #1
On Wed, Sep 07, 2016 at 05:43:00PM +0200, Jorge Ramirez-Ortiz wrote:
> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>

Please use subject lines matching the style for the subsystem.
diff mbox

Patch

diff --git a/tools/spi/Makefile b/tools/spi/Makefile
index cd0db62..3815b18 100644
--- a/tools/spi/Makefile
+++ b/tools/spi/Makefile
@@ -1,3 +1,5 @@ 
+CC = $(CROSS_COMPILE)gcc
+
 all: spidev_test spidev_fdx
 
 clean: