Project

General

Profile

KernelBuild » History » Revision 3

Revision 2 (Denis 'GNUtoo' Carikli, 02/03/2016 04:50 PM) → Revision 3/41 (Denis 'GNUtoo' Carikli, 02/03/2016 04:55 PM)

h1. KernelBuild 

 h2. Use case 

 Building a kernel aside Replicant, is faster to setup and faster to build since you need to fetch and use the huge Android build system. 

 Users wanting to add a driver to their kernel, or developers that want to work on kernel related areas can do that to speed up the development process, however if the changes are integrated back into Replicant, they will automatically be built by the Android build system, when building images. 

 

 h2. Example 

 This has been tested with Trisquel. 
 If you use distributions such as Parabola, this will probably not work because the arm-none-eabi-gcc is too recent for many devices kernels. 
 To workaround that you can install debootstrap with: 
 <pre> 
 pacman -S debootstrap 
 </pre> 
 And debootstrap Trisquel in a container. This will have very few CPU and memory overhead compared to a virtual machine. 

 <pre> 
 git clone https://git.replicant.us/replicant/kernel_samsung_crespo.git 
 </pre>