Re: [PATCH v2] Makefile: Add CROSS_COMPILE for Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> > ---
> >  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@xxxxxxxxxx>
> 
> Thanks!
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux