mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jorge Ramirez <jorge.ramirez-ortiz@linaro.org>
To: Daniel Thompson <daniel.thompson@linaro.org>,
	broonie@kernel.org, linux-spi@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tools: spi: enable CROSS_COMPILE in Makefile
Date: Wed, 7 Sep 2016 17:24:36 +0200	[thread overview]
Message-ID: <9eec4153-d4be-21ab-4f97-2c545c3cbbf8@linaro.org> (raw)
In-Reply-To: <ab8b24cf-0d9a-60e5-9291-d5e6e44756be@linaro.org>

On 09/07/2016 05:06 PM, Daniel Thompson wrote:
> On 07/09/16 15:28, Jorge Ramirez-Ortiz wrote:
>> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
>> ---
>>  tools/spi/Makefile | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/tools/spi/Makefile b/tools/spi/Makefile
>> index cd0db62..d1845b0 100644
>> --- a/tools/spi/Makefile
>> +++ b/tools/spi/Makefile
>> @@ -1,4 +1,8 @@
>> +CC = $(CROSS_COMPILE)gcc
>> +
>>  all: spidev_test spidev_fdx
>>
>> +%: %.c
>> +    $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
>
> What is this extra rule for?

yes you are right. this one is not required. only setting CC. sending v2

>
> The built in rules should already honour both these variables (and 
> more besides).
>
>
> Daniel.

      reply	other threads:[~2016-09-07 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-07 14:28 Jorge Ramirez-Ortiz
2016-09-07 15:06 ` Daniel Thompson
2016-09-07 15:24   ` Jorge Ramirez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9eec4153-d4be-21ab-4f97-2c545c3cbbf8@linaro.org \
    --to=jorge.ramirez-ortiz@linaro.org \
    --cc=broonie@kernel.org \
    --cc=daniel.thompson@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®