diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-03-27 14:30:45 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-02 16:28:03 -0300 |
commit | c29ede615fd35a640e771fbbb1778e915fac43a7 (patch) | |
tree | 269de5b6479899a3905d3a3ab2472ef9054f017b /tools/perf/util | |
parent | 8b2c551f9635bf1c5c2d38de300137998915478f (diff) | |
download | linux-c29ede615fd35a640e771fbbb1778e915fac43a7.tar.gz linux-c29ede615fd35a640e771fbbb1778e915fac43a7.tar.bz2 linux-c29ede615fd35a640e771fbbb1778e915fac43a7.zip |
perf tools: Allow specifying O= to build files in a separate directory
Avoiding polluting the source tree with build files.
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rwxr-xr-x | tools/perf/util/PERF-VERSION-GEN | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/util/PERF-VERSION-GEN b/tools/perf/util/PERF-VERSION-GEN index 54552a00a117..49ece7921914 100755 --- a/tools/perf/util/PERF-VERSION-GEN +++ b/tools/perf/util/PERF-VERSION-GEN @@ -1,6 +1,10 @@ #!/bin/sh -GVF=PERF-VERSION-FILE +if [ $# -eq 1 ] ; then + OUTPUT=$1 +fi + +GVF=${OUTPUT}PERF-VERSION-FILE DEF_VER=v0.0.2.PERF LF=' |