]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Add ability to build little endian kernels
authorIan Munsie <imunsie@au1.ibm.com>
Mon, 23 Sep 2013 02:05:11 +0000 (12:05 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:48:56 +0000 (16:48 +1100)
commit84847fa980c24b8d317e0bd6148388858d00ae7b
treec20ece2f9d78bf9e7d01824aec499713053c7120
parent2c3f17e7289e69fbd128e502e2d93d7a1e6ae9c5
powerpc: Add ability to build little endian kernels

This patch allows the kbuild system to successfully compile a kernel
for the little endian PowerPC64 architecture. A subsequent patch
will add the CONFIG_CPU_LITTLE_ENDIAN kernel config option which
must be set to build such a kernel.

If cross compiling, CROSS_COMPILE must point to a suitable toolchain
(compiled for the powerpc64le-linux and powerpcle-linux targets).

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Makefile
arch/powerpc/boot/Makefile
arch/powerpc/kernel/vdso32/vdso32.lds.S
arch/powerpc/kernel/vdso64/vdso64.lds.S