On Mon, Apr 01, 2013 at 09:54:46PM +0200, Sam Ravnborg wrote:

SNIP

> > diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
> > new file mode 100644
> > index 0000000..fe317c2
> > --- /dev/null
> > +++ b/tools/perf/config/Makefile
> > @@ -0,0 +1,34 @@
> > +uname_M := $(shell uname -m 2>/dev/null || echo not)
> > +
> > +ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
> > +                             -e s/arm.*/arm/ -e s/sa110/arm/ \
> > +                             -e s/s390x/s390/ -e s/parisc64/parisc/ \
> > +                             -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
> > +                             -e s/sh[234].*/sh/ -e s/aarch64.*/arm64/ )
> 
> this is shared with the top-level kernel Makefile.
> Could we find a way to share this?

right, maybe we could place it under some
scripts/ lib file, I'll check

thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to