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