Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754569AbbFSOUA (ORCPT ); Fri, 19 Jun 2015 10:20:00 -0400 Received: from mail.kernel.org ([198.145.29.136]:53540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754557AbbFSOTu (ORCPT ); Fri, 19 Jun 2015 10:19:50 -0400 Date: Fri, 19 Jun 2015 11:19:45 -0300 From: Arnaldo Carvalho de Melo To: Lukas Wunner Cc: Jiri Olsa , David Ahern , linux-kernel@vger.kernel.org Subject: Re: [PATCH regression 4.0 -> 4.1] tools perf: Fix build breakage if prefix= is specified Message-ID: <20150619141945.GK3079@kernel.org> References: <201506181332.t5IDWuUq027242@int-mx13.intmail.prod.int.phx2.redhat.com> <20150618192931.GA11223@krava.redhat.com> <20150618195955.GA4755@wunner.de> <55832971.4070603@gmail.com> <20150618203935.GA4806@wunner.de> <20150618221304.GA27529@krava.redhat.com> <20150619115417.GA4897@wunner.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150619115417.GA4897@wunner.de> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 29 Em Fri, Jun 19, 2015 at 01:54:17PM +0200, Lukas Wunner escreveu: > Hi Jiri, Hi David, > > On Fri, Jun 19, 2015 at 12:17:06AM +0200, Jiri Olsa wrote: > > it had effect.. prefix is passed to build framework throught .config-detected > > file as prefix_SQ variable, which is then referenced in perf Build makefiles > > You're right, thanks for the clarification. Yes, this is all very involved, lots of details, that would be great to have in the changeset log, so that we could read it when scratching our heads trying to understand all this :-\ Could someone, please, send a v2 with these explanations? - Arnaldo > The underlying issue is basically that the same variable name is used for > two different things, to calculate the paths of the build targets in > Makefile.build and to pass the install directory around between Makefiles. > And which one "wins" depends on invocation. If we just rename the variable > in Makefile.build, the issue is gone. That's what the patch does. > > Thanks again, > > Lukas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/