mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 10:38:40 +08:00
53fdfa68b9
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>
16 lines
769 B
ReStructuredText
16 lines
769 B
ReStructuredText
=================================================
|
|
``mkversion.c``, ``cfgdefine.c``, ``cfgdefine.h``
|
|
=================================================
|
|
|
|
This is C file that is used to build mkversion program. The mkversion
|
|
program is used during the initial NuttX build.
|
|
|
|
When you build NuttX there should be a version file called .version in
|
|
the top level NuttX directory (See Documentation/NuttXPortingGuide.html).
|
|
The first time you make NuttX, the top-level makefile will build the
|
|
mkversion executable from mkversion.c (using Makefile.host). The top-level
|
|
Makefile will then execute the mkversion program to convert the
|
|
.version file in the top level directory into include/nuttx/version.h.
|
|
version.h provides version information that can be included by C files.
|
|
|