diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-17 18:27:48 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-19 12:38:05 -0400 |
commit | 76aea7731e7050c066943a1d7456ec6510702601 (patch) | |
tree | b62f3db64e3f6edb0e563350f45e63b61a749b64 | |
parent | 4b20d684b4e1d11795af8783b45f2149b0ba0faf (diff) |
perf tools: Fix perf-read-vdsox32 not building and lib64 install dir
Commit:
c6e5e9fbc3ea ("perf tools: Fix building error in x86_64 when dwarf unwind is on")
removed the definition of IS_X86_64 but not all places using it, with
the consequence that perf-read-vdsox32 would not be built anymore, and
the default lib install directory was 'lib' instead of 'lib64'.
Also needs to go to v3.19.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: stable@vger.kernel.org # 3.19
Link: http://lkml.kernel.org/r/CAMe9rOqpGVq3D88w+D15ef7sv6G6k57ZeTvxBm46=WFgzo9p1w@mail.gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/config/Makefile | 4 | ||||
-rw-r--r-- | tools/perf/tests/make | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 489d33305b16..e7f83b15fcbf 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
@@ -666,7 +666,7 @@ ifeq (${IS_64_BIT}, 1) | |||
666 | NO_PERF_READ_VDSO32 := 1 | 666 | NO_PERF_READ_VDSO32 := 1 |
667 | endif | 667 | endif |
668 | endif | 668 | endif |
669 | ifneq (${IS_X86_64}, 1) | 669 | ifneq ($(ARCH), x86) |
670 | NO_PERF_READ_VDSOX32 := 1 | 670 | NO_PERF_READ_VDSOX32 := 1 |
671 | endif | 671 | endif |
672 | ifndef NO_PERF_READ_VDSOX32 | 672 | ifndef NO_PERF_READ_VDSOX32 |
@@ -727,7 +727,7 @@ sysconfdir = $(prefix)/etc | |||
727 | ETC_PERFCONFIG = etc/perfconfig | 727 | ETC_PERFCONFIG = etc/perfconfig |
728 | endif | 728 | endif |
729 | ifndef lib | 729 | ifndef lib |
730 | ifeq ($(IS_X86_64),1) | 730 | ifeq ($(ARCH)$(IS_64_BIT), x861) |
731 | lib = lib64 | 731 | lib = lib64 |
732 | else | 732 | else |
733 | lib = lib | 733 | lib = lib |
diff --git a/tools/perf/tests/make b/tools/perf/tests/make index 75709d2b17b4..bff85324f799 100644 --- a/tools/perf/tests/make +++ b/tools/perf/tests/make | |||
@@ -5,7 +5,7 @@ include config/Makefile.arch | |||
5 | 5 | ||
6 | # FIXME looks like x86 is the only arch running tests ;-) | 6 | # FIXME looks like x86 is the only arch running tests ;-) |
7 | # we need some IS_(32/64) flag to make this generic | 7 | # we need some IS_(32/64) flag to make this generic |
8 | ifeq ($(IS_X86_64),1) | 8 | ifeq ($(ARCH)$(IS_64_BIT), x861) |
9 | lib = lib64 | 9 | lib = lib64 |
10 | else | 10 | else |
11 | lib = lib | 11 | lib = lib |