Difference between revisions of "Kernel Building"

From Openembedded.org
Jump to: navigation, search
(Custom config)
(Custom config)
Line 19: Line 19:
 
After that, you can compile the kernel by:
 
After that, you can compile the kernel by:
 
   bitbake -f -c compile virtual/kernel
 
   bitbake -f -c compile virtual/kernel
 +
 +
 +
[[Category:User]]

Revision as of 14:29, 20 October 2010

Default Build

For a default build, just run:

 bitbake virtual/kernel

After done, you can collect the built image from under the deploy folder, for example: build/tmp/deploy/glibc/images/vmware/bzImage-vmware.bin.

Kernel configuration

The default .config file used is placed in ???.

Custom config

If you need to customize the kernel configuration, run the menuconfig task by:

 bitbake -c menuconfig virtual/kernel

Note: by default this command requires you to run in X Windows.

After that, you can compile the kernel by:

 bitbake -f -c compile virtual/kernel