]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf tools: Fix build error on ARCH=i386/x86_64/sparc64
authorNamhyung Kim <namhyung@kernel.org>
Mon, 2 Mar 2015 04:31:03 +0000 (13:31 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Mar 2015 15:01:42 +0000 (12:01 -0300)
commitb11db6581beaccef8ae9a388ae96074aa5cc144f
treef3836fb1ac4c6371413404b4dbd4093cc6c096aa
parent4aa5f4f7bb8bc41cba15bcd0d80c4fb085027d6b
perf tools: Fix build error on ARCH=i386/x86_64/sparc64

He Kuang reported that current perf tools failed to build when ARCH
variable was given like above.

It was because the name is different that internal directory name.  I
can see that David's sparc64 build has same problem.

So fix it by applying the sed conversion script to the command line ARCH
variable also, and fixing the converted name there (i.e. i386/x86_64 ->
x86, sparc64 -> sparc).

Reported-by: He Kuang <hekuang@huawei.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: He Kuang <hekuang@huawei.com>
Acked: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <david.ahern@oracle.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1425270663-10215-1-git-send-email-namhyung@kernel.org
[ Resolved conflict with 4861f87cd3d1 "Make sparc64 arch point to sparc" ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/Makefile.arch