Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752180AbbFSLyX (ORCPT ); Fri, 19 Jun 2015 07:54:23 -0400 Received: from mailout1.hostsharing.net ([83.223.95.204]:60650 "EHLO mailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751107AbbFSLyP (ORCPT ); Fri, 19 Jun 2015 07:54:15 -0400 Date: Fri, 19 Jun 2015 13:54:17 +0200 From: Lukas Wunner To: Jiri Olsa Cc: David Ahern , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org Subject: Re: [PATCH regression 4.0 -> 4.1] tools perf: Fix build breakage if prefix= is specified Message-ID: <20150619115417.GA4897@wunner.de> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150618221304.GA27529@krava.redhat.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: 792 Lines: 20 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. 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/