mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 12:18:06 +00:00
All of the tools listed on the original documentation are now given their own individual doc pages. This makes it much easier to cross-reference them from other documentation locations (as many are used in CI/for specific architectures) and it also makes it easier for users to digest the information. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
15 lines
819 B
ReStructuredText
15 lines
819 B
ReStructuredText
================================================
|
|
``mkconfig.c``, ``cfgdefine.c``, ``cfgdefine.h``
|
|
================================================
|
|
|
|
These are C files that are used to build mkconfig program. The mkconfig
|
|
program is used during the initial NuttX build.
|
|
|
|
When you configure NuttX, you will copy a configuration file called .config
|
|
in the top level NuttX directory (See :doc:`/components/boards` or
|
|
Documentation/NuttXPortingGuide.html). The first time you make NuttX,
|
|
the top-level makefile will build the mkconfig executable from mkconfig.c
|
|
(using Makefile.host). The top-level Makefile will then execute the mkconfig
|
|
program to convert the .config file in the top level directory into
|
|
include/nuttx/config.h. config.h is a another version of the NuttX
|
|
configuration that can be included by C files.
|