[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is there any how-to on cross compiling kernel for ppc on x86

On Wed, Oct 27, 2004 at 08:38:22PM -0700, Shi Jin wrote:
> Couldn't even find my CPU family in the "make xconfig" menus.

1. Install the toolchain-source package and build a PPC
   cross-compiler. See the HOWTO in /usr/share/doc/toolchain-source.

2. make ARCH=ppc CROSS_COMPILE=powerpc-linux- xconfig

3. Install kernel-package and run
fakeroot -- make-kpkg --arch powerpc --subarch pmac --cross-compile powerpc-linux --revision foo.0 kernel_image

4. Install the resulting kernel-image .deb on your PPC machine,
   run ybin/quik/etc., and reboot.

Eric C. Cooper          e c c @ c m u . e d u

Reply to: