linux: add KERNEL_ARCH_PATH to fix x86-specific issue
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Dec 2010 20:53:26 +0000 (21:53 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 17 Dec 2010 16:00:18 +0000 (17:00 +0100)
commit84c4a10a75fda9e00b551789d77fdb2791924aad
tree694aefe7cea7c80dbcef4cc96197f3d8d77c9ef7
parente8d0f4121605dcd3c621addb6ef7e77cc6865647
linux: add KERNEL_ARCH_PATH to fix x86-specific issue

Both i386 and x86_64 architectures are supported by the arch/x86
directory in the kernel. So, when we copy the kernel configuration
file to arch/$(KERNEL_ARCH)/configs/, it does not work because
arch/i386 and arch/x86_64 do not exist.

So, we introduce KERNEL_ARCH_PATH, which is the path to the
architecture specific directory in the kernel source tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
linux/linux.mk