2015-06-26 00:45:16 +08:00
|
|
|
.. _kbuild:
|
2015-06-03 03:41:20 +08:00
|
|
|
|
2015-10-20 23:04:32 +08:00
|
|
|
Build System User Guide
|
|
|
|
#######################
|
2015-06-03 03:41:20 +08:00
|
|
|
|
2015-10-21 01:28:33 +08:00
|
|
|
The Zephyr Kernel's build system is based on the Kbuild system used in the
|
2015-10-20 23:04:32 +08:00
|
|
|
Linux kernel. This way the kernel embraces the recursive model used in Linux
|
|
|
|
and the configuration model implemented using Kconfig.
|
2015-06-03 03:41:20 +08:00
|
|
|
|
2015-10-21 01:28:33 +08:00
|
|
|
The build process is driven by applications, unlike the Linux Kbuild
|
2015-10-20 23:04:32 +08:00
|
|
|
system. Therefore, the build system requires an application to initiate building
|
|
|
|
the kernel source code. The build system compiles the kernel and the application
|
|
|
|
into a single image.
|
2015-06-03 03:41:20 +08:00
|
|
|
|
2015-06-26 00:45:16 +08:00
|
|
|
.. toctree::
|
2015-09-21 23:25:11 +08:00
|
|
|
:maxdepth: 1
|
2015-06-03 03:41:20 +08:00
|
|
|
|
2015-06-26 00:45:16 +08:00
|
|
|
kbuild_kconfig
|
|
|
|
kbuild_makefiles
|
2015-08-18 05:04:22 +08:00
|
|
|
kbuild_project
|