Skip to content

Building powerpc kernels

Michael Ellerman edited this page Oct 5, 2016 · 9 revisions

How to build the kernel for powerpc

If you're not lucky enough to have a powerpc laptop, you can build with a cross compiler.

On Fedora you can install the required toolchain with:

sudo dnf install gcc-c++-powerpc64-linux-gnu binutils-powerpc64-linux-gnu gcc-powerpc64-linux-gnu

On Ubuntu use:

sudo apt-get install gcc-powerpc64le-linux-gnu gcc-powerpc-linux-gnu libc-dev-powerpc-cross libc-dev-ppc64el-cross

Clone this wiki locally