lkml.org 
[lkml]   [2015]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] perf: add Makefile.deps for easier cross compiling
On Tue, Oct 13, 2015 at 12:50:29PM +0200, Rabin Vincent wrote:
> 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.

could the doc have this description as well? to have
complete info on how to make it cross compile

thanks,
jirka


\
 
 \ /
  Last update: 2015-10-13 14:01    [W:0.057 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site