CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors

Documentation

Development - Building Kernels


1. Introduction

This document is a tiny guide about how to build a kernel for your device using cross compilation.

2. Requeriments

To build cross compiled kernel images you'll need to read and complete this step:

3. Checkout git sources for port repositories

For example for versatile devices:

 $ mkdir /devel/crux-arm/kernel
 $ cd /devel/crux-arm/kernel
 $ git clone git://crux-arm.nu/crux-arm/kernel/vexpress.git
 $ cd vexpress
 $ git branch 3.3 origin/3.3
 $ git checkout 3.3

4. Build kernel images

For example, to build a image (zImage) for vexpress devices:

 $ cd /devel/crux-arm/kernel/vexpress
 $ make