diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-04 16:00:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-04 16:00:38 +0000 |
commit | c504d9e32ec45736356b68afd878705a46d8791e (patch) | |
tree | cf47cb5443dcde17491a0f70bc372911c447e096 /nuttx/tools/mkversion.c | |
parent | 19752b4453e78c844b9ca348992100b594c3eaa1 (diff) | |
download | px4-firmware-c504d9e32ec45736356b68afd878705a46d8791e.tar.gz px4-firmware-c504d9e32ec45736356b68afd878705a46d8791e.tar.bz2 px4-firmware-c504d9e32ec45736356b68afd878705a46d8791e.zip |
Renaming some files in tools/
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5476 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/mkversion.c')
-rw-r--r-- | nuttx/tools/mkversion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/tools/mkversion.c b/nuttx/tools/mkversion.c index 32068df38..c6b00c5e5 100644 --- a/nuttx/tools/mkversion.c +++ b/nuttx/tools/mkversion.c @@ -41,7 +41,7 @@ #include <stdlib.h> #include <errno.h> -#include "cfgparser.h" +#include "cfgdefine.h" /**************************************************************************** * Definitions @@ -98,7 +98,7 @@ int main(int argc, char **argv, char **envp) printf("/* version.h -- Autogenerated! Do not edit. */\n\n"); printf("#ifndef __INCLUDE_NUTTX_VERSION_H\n"); printf("#define __INCLUDE_NUTTX_VERSION_H\n\n"); - parse_file(stream); + generate_definitions(stream); printf("\n#define CONFIG_VERSION ((CONFIG_VERSION_MAJOR << 8) | (CONFIG_VERSION_MINOR))\n\n"); printf("#endif /* __INCLUDE_NUTTX_VERSION_H */\n"); fclose(stream); |