Messages in this thread | | | Date | Tue, 13 Oct 2015 12:50:29 +0200 | From | Rabin Vincent <> | Subject | Re: [PATCH 5/5] perf: add Makefile.deps for easier cross compiling |
| |
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.
| |