package/perf: use correct definition of ARCH on x86_64
authorSteven Noonan <steven@uplinklabs.net>
Tue, 14 Jul 2015 17:35:11 +0000 (19:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 14 Jul 2015 21:17:25 +0000 (23:17 +0200)
commit1b787822fbf3cda83eb7ef28c1187af6f6247781
tree25419425b09c9597330a55a32bc5e540efb02a7c
parent71e5ff61eeab0ba7cdeb2eae9fa566110d7ed212
package/perf: use correct definition of ARCH on x86_64

LINUX_MAKE_FLAGS defines ARCH=$(KERNEL_ARCH), and KERNEL_ARCH is x86_64 on
a 64-bit x86 kernel build. The perf Makefiles expect that the ARCH will be
"x86" on both 32-bit x86 and 64-bit x86.

I didn't experience issues with the Linux 3.14.x version of perf, but this
issue cropped up once I started building 3.19.x.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/perf/perf.mk