mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] tools: spi: enable CROSS_COMPILE in Makefile
@ 2016-09-07 15:43 Jorge Ramirez-Ortiz
  2016-09-12 19:02 ` Mark Brown
  2016-09-12 19:07 ` Applied "spi: tools: enable CROSS_COMPILE in Makefile" to the spi tree Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Jorge Ramirez-Ortiz @ 2016-09-07 15:43 UTC (permalink / raw)
  To: jorge.ramirez-ortiz, daniel.thompson, broonie; +Cc: linux-spi, linux-kernel

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
---
 tools/spi/Makefile | 2 ++
 1 file changed, 2 insertions(+)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-12 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-07 15:43 [PATCH v2] tools: spi: enable CROSS_COMPILE in Makefile Jorge Ramirez-Ortiz
2016-09-12 19:02 ` Mark Brown
2016-09-12 19:07 ` Applied "spi: tools: enable CROSS_COMPILE in Makefile" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®