linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Kacur <jkacur@redhat.com>
To: Yuanbin Zhou <hduffddybz@gmail.com>
Cc: williams@redhat.com, linux-rt-users@vger.kernel.org
Subject: Re: [PATCH v2] Makefile: Add CROSS_COMPILE for Makefile
Date: Mon, 5 Oct 2015 20:25:46 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LFD.2.20.1510052023000.14006@riemann> (raw)
In-Reply-To: <alpine.LFD.2.20.1509291415100.8405@riemann>

I'm really sorry to do this, after signing-off on it, but I have taken a 
closer look at this patch, and I have to reverse it.

You've added a lot of cross compiling options for things we don't use like 
AS. CONFIG_CROSS_COMPILE looks like something out of the kernel.

Thanks for your efforts anyway, but in the future if you want to send me 
patches you are going to have to include examples, of what is not working 
for you (with output), and then output demonstrating how your patch 
corrects the problem. Thanks

On Tue, 29 Sep 2015, John Kacur wrote:

> 
> 
> On Mon, 28 Sep 2015, Yuanbin Zhou wrote:
> 
> > Signed-off-by: Yuanbin Zhou <hduffddybz@gmail.com>
> > ---
> >  Makefile | 13 +++++++++++--
> >  1 file changed, 11 insertions(+), 2 deletions(-)
> > 
> > diff --git a/Makefile b/Makefile
> > index 87946fb..35a7d5a 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -1,6 +1,15 @@
> >  VERSION = 0.94
> > -CC=$(CROSS_COMPILE)gcc
> > -AR=$(CROSS_COMPILE)ar
> > +
> > +CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
> > +AS = $(CROSS_COMPILE)as
> > +LD = $(CROSS_COMPILE)ld
> > +CC = $(CROSS_COMPILE)gcc
> > +CPP = $(CC) -E
> > +AR = $(CROSS_COMPILE)ar
> > +NM = $(CROSS_COMPILE)nm
> > +STRIP = $(CROSS_COMPILE)strip
> > +OBJCOPY = $(CROSS_COMPILE)objcopy
> > +OBJDUMP = $(CROSS_COMPILE)objdump
> >  
> >  OBJDIR = bld
> >  
> > -- 
> > 2.1.4
> > 
> > 
> > --
> 
> Signed-off-by: John Kacur <jkacur@redhat.com>
> 
> Thanks!
> 

      reply	other threads:[~2015-10-05 18:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-29  1:58 [PATCH v2] Makefile: Add CROSS_COMPILE for Makefile Yuanbin Zhou
2015-09-29 12:15 ` John Kacur
2015-10-05 18:25   ` John Kacur [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=alpine.LFD.2.20.1510052023000.14006@riemann \
    --to=jkacur@redhat.com \
    --cc=hduffddybz@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=williams@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).