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>
Showing
- arch/powerpc/Makefile 21 additions, 3 deletionsarch/powerpc/Makefile
- arch/powerpc/boot/Makefile 2 additions, 1 deletionarch/powerpc/boot/Makefile
- arch/powerpc/kernel/vdso32/vdso32.lds.S 4 additions, 0 deletionsarch/powerpc/kernel/vdso32/vdso32.lds.S
- arch/powerpc/kernel/vdso64/vdso64.lds.S 4 additions, 0 deletionsarch/powerpc/kernel/vdso64/vdso64.lds.S
Loading
Please register or sign in to comment