[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120813180249.GB6840@infradead.org>
Date: Mon, 13 Aug 2012 15:02:49 -0300
From: Arnaldo Carvalho de Melo <acme@...radead.org>
To: Borislav Petkov <bp@...64.org>
Cc: Steven Rostedt <rostedt@...dmis.org>,
LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung.kim@....com>
Subject: Re: [PATCH] perf: Let O= makes handle relative paths
Em Mon, Aug 13, 2012 at 04:29:09PM +0200, Borislav Petkov escreveu:
> 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! ;-)
Before:
[acme@...dy linux]$ rm -rf ../build/perf
[acme@...dy linux]$ make -j8 -C tools/perf/ LIBUNWIND_DIR=/opt/libunwind O=/home/acme/git/build/perf install
/bin/sh: line 0: cd: /home/acme/git/build/perf/: No such file or directory
make: Entering directory `/home/git/linux/tools/perf'
../scripts/Makefile.include:9: *** output directory "/home/acme/git/build/perf/" does not exist. Stop.
make: Leaving directory `/home/git/linux/tools/perf'
[acme@...dy linux]$
Now:
[acme@...dy linux]$ rm -rf ../build/perf
[acme@...dy linux]$ make -j8 -C tools/perf/ LIBUNWIND_DIR=/opt/libunwind O=/home/acme/git/build/perf install
/bin/sh: line 0: cd: /home/acme/git/build/perf: No such file or directory
make: Entering directory `/home/git/linux/tools/perf'
GEN perf-archive
GEN /home/git/linux/tools/perf/python/perf.so
make[1]: Entering directory `/home/git/linux/tools/lib/traceevent'
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
* new build flags or cross compiler
CC /home/git/linux/tools/perf/perf.o
CC /home/git/linux/tools/perf/builtin-annotate.o
CC /home/git/linux/tools/perf/builtin-bench.o
CC /home/git/linux/tools/perf/bench/sched-messaging.o
CC /home/git/linux/tools/perf/bench/sched-pipe.o
I.e. it should stop if the O= provided directory is not there.
Can you fix this? Avoid vodka while doing it :-P
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists