]> git.baikalelectronics.ru Git - kernel.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)
commit181260ad6eaff46749362acbbeaa620176787a5b
treef3836fb1ac4c6371413404b4dbd4093cc6c096aa
parenta1eb59abe9b127b4d3e06b0130039b304fc762fe
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 29b844537b89 "Make sparc64 arch point to sparc" ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/Makefile.arch