mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
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.
|
||
|
|
|