]> 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)
commitf42e14880850a14cd1a9d236b5b68f2007761005
treef3836fb1ac4c6371413404b4dbd4093cc6c096aa
parent34b3ab62e9879e00ba8d711c69c9b86a9aee09e4
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 54898bddfd1d "Make sparc64 arch point to sparc" ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/Makefile.arch