Re: [PATCH 5/5] perf: add Makefile.deps for easier cross compiling

From: Rabin Vincent
Date: Tue Oct 13 2015 - 06:50:35 EST


On Mon, Oct 12, 2015 at 01:42:29PM +0200, Jiri Olsa wrote:
> On Sun, Sep 27, 2015 at 08:37:59PM +0200, Rabin Vincent wrote:
> > In order to make it easier for people to qucikly get up and running with
> > a fairly full featured cross-compiled mainline perf, provide a
> > Makefile.deps which will download and build the required libraries,
> > which can then be used in a static build of perf:
> >
> > $ make ARCH=arm CROSS_COMPILE=arm-linux- -f Makefile.deps
>
> Makefile.cross_compile or Makefile.cross might suit better

OK, I will change it to Makefile.cross.

> Could you provide more details help/doc on how to use it
> and what it's actualy doing?

I will add comments to the file with this information.

> running the command from changelog failed on my setup,
> please check attached log

Looks like you don't have a compiler with the name arm-linux-gcc in your
PATH? The CROSS_COMPILE flag has the same meaning as in the perf and
kernel builds: it's the prefix for a cross-toolchain which is available
on the host.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/