Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751678Ab2HMO3R (ORCPT ); Mon, 13 Aug 2012 10:29:17 -0400 Received: from mail.x86-64.org ([217.9.48.20]:60102 "EHLO mail.x86-64.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751227Ab2HMO3Q (ORCPT ); Mon, 13 Aug 2012 10:29:16 -0400 Date: Mon, 13 Aug 2012 16:29:09 +0200 From: Borislav Petkov To: Steven Rostedt Cc: LKML , Arnaldo Carvalho de Melo , Ingo Molnar , Namhyung Kim Subject: Re: [PATCH] perf: Let O= makes handle relative paths Message-ID: <20120813142909.GC18990@aftab.osrc.amd.com> References: <1344864055.6935.117.camel@gandalf.stny.rr.com> <20120813132438.GA18990@aftab.osrc.amd.com> <1344867782.6935.119.camel@gandalf.stny.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1344867782.6935.119.camel@gandalf.stny.rr.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 Content-Length: 1434 Lines: 47 On Mon, Aug 13, 2012 at 10:23:02AM -0400, Steven Rostedt wrote: > On Mon, 2012-08-13 at 15:24 +0200, Borislav Petkov wrote: > > > So wouldn't it make sense to call this ABSOLUTE_O or so then? > > That's just because you're russian, and are promoting Vodka! ;-) > > > Done... > > ---------- > > When I did a compile of perf using a relative path for the output > directory, the build failed when it tried to compile libtraceevent. This > is because it continues to use the same relative path when the new > working directory is in a different path. > > SUBDIR ../lib/traceevent/ > /bin/sh: line 0: cd: ../../../nobackup/perf/: No such file or directory > Makefile:74: *** output directory "../../../nobackup/perf/" does not exist. Stop. > make: *** [../../../nobackup/perf///libtraceevent.a] Error 2 > > > Make the path used an absolute path when building perf with O=. > > Signed-off-by: Steven Rostedt Acked-by: The Russian Vodka Promoter. 8-). Thanks and Na Zdorovia! -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/