From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752368AbbJMKuc (ORCPT ); Tue, 13 Oct 2015 06:50:32 -0400 Received: from bastet.se.axis.com ([195.60.68.11]:37358 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751342AbbJMKub (ORCPT ); Tue, 13 Oct 2015 06:50:31 -0400 Date: Tue, 13 Oct 2015 12:50:29 +0200 From: Rabin Vincent To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 5/5] perf: add Makefile.deps for easier cross compiling Message-ID: <20151013105028.GA3628@axis.com> References: <1443379079-29133-1-git-send-email-rabin.vincent@axis.com> <1443379079-29133-5-git-send-email-rabin.vincent@axis.com> <20151012114229.GD20170@krava.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151012114229.GD20170@krava.brq.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.