From: Seth Forshee Date: Thu, 1 Dec 2016 18:18:28 +0000 (-0600) Subject: UBUNTU: Set build_arch=x86 for amd64 and x32 X-Git-Tag: Ubuntu-4.10.0-9.11~180 X-Git-Url: https://git.proxmox.com/?p=mirror_ubuntu-zesty-kernel.git;a=commitdiff_plain;h=59cc37af8bcc3d52525c4866fa6f6869efdc44ff UBUNTU: Set build_arch=x86 for amd64 and x32 The kernel build infrastructure expects the value of ARCH to be the same as the architecture subdirectory in arch/*. The values for amd64 and x32 are not, so fix them to be what the kernel expects. This fixes a build problem with the perf tools. Signed-off-by: Seth Forshee --- diff --git a/debian.master/rules.d/amd64.mk b/debian.master/rules.d/amd64.mk index 3de7b6dfd61e..c6b57f7babe4 100644 --- a/debian.master/rules.d/amd64.mk +++ b/debian.master/rules.d/amd64.mk @@ -1,5 +1,5 @@ human_arch = 64 bit x86 -build_arch = x86_64 +build_arch = x86 header_arch = $(build_arch) defconfig = defconfig flavours = generic lowlatency diff --git a/debian.master/rules.d/x32.mk b/debian.master/rules.d/x32.mk index 94d4c8325104..e0ccff961f02 100644 --- a/debian.master/rules.d/x32.mk +++ b/debian.master/rules.d/x32.mk @@ -1,5 +1,5 @@ human_arch = 64 bit x86 (32 bit userspace) -build_arch = x86_64 +build_arch = x86 header_arch = $(build_arch) defconfig = defconfig flavours =