diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-04-11 23:06:30 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-04-11 23:06:30 +0000 |
commit | 16b8b599a9ff14591f898f544ca4b77b612f57fd (patch) | |
tree | d4535a88c1a8836428551104634a90bfaa1dc8f0 /nuttx/tools/README.txt | |
parent | f1c5ee72b9ceb7066a12b3e92f46f02d83a522cc (diff) | |
download | px4-firmware-16b8b599a9ff14591f898f544ca4b77b612f57fd.tar.gz px4-firmware-16b8b599a9ff14591f898f544ca4b77b612f57fd.tar.bz2 px4-firmware-16b8b599a9ff14591f898f544ca4b77b612f57fd.zip |
Add tools/cmpconfig.c to compare to configuration files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4592 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/tools/README.txt')
-rwxr-xr-x | nuttx/tools/README.txt | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/nuttx/tools/README.txt b/nuttx/tools/README.txt index e859e8735..b4368aff9 100755 --- a/nuttx/tools/README.txt +++ b/nuttx/tools/README.txt @@ -19,7 +19,7 @@ configure.sh mkconfig.c, cfgparser.c, and cfgparser.h - This is C file that is used to build mkconfig program. The mkconfig + These are Cs file 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 @@ -31,6 +31,11 @@ mkconfig.c, cfgparser.c, and cfgparser.h into include/nuttx/config.h. config.h is a another version of the NuttX configuration that can be included by C files. +cmdconfig.c + + This C file can be used to build a utility for comparing two NuttX + configuration files. + mkexport.sh and Makefile.export These implement part of the top-level Makefile's 'export' target. That @@ -136,10 +141,10 @@ bdf-convert.c genfontsources: ifeq ($(CONFIG_NXFONT_SANS23X27),y) - @$(MAKE) -C nxfonts -f Makefile.sources TOPDIR=$(TOPDIR) NXFONTS_FONTID=1 EXTRADEFINES=$(EXTRADEFINES) + @$(MAKE) -C nxfonts -f Makefile.sources TOPDIR=$(TOPDIR) NXFONTS_FONTID=1 EXTRADEFINES=$(EXTRADEFINES) endif ifeq ($(CONFIG_NXFONT_MYFONT),y) - @$(MAKE) -C nxfonts -f Makefile.sources TOPDIR=$(TOPDIR) NXFONTS_FONTID=2 EXTRADEFINES=$(EXTRADEFINES) + @$(MAKE) -C nxfonts -f Makefile.sources TOPDIR=$(TOPDIR) NXFONTS_FONTID=2 EXTRADEFINES=$(EXTRADEFINES) endif 6. nuttx/graphics/nxfonts/Make.defs. Set the make variable NXFSET_CSRCS. @@ -147,10 +152,10 @@ bdf-convert.c NXFONTS_FONTID=2: ifeq ($(CONFIG_NXFONT_SANS23X27),y) - NXFSET_CSRCS += nxfonts_bitmaps_sans23x27.c + NXFSET_CSRCS += nxfonts_bitmaps_sans23x27.c endif ifeq ($(CONFIG_NXFONT_MYFONT),y) - NXFSET_CSRCS += nxfonts_bitmaps_myfont.c + NXFSET_CSRCS += nxfonts_bitmaps_myfont.c endif 7. nuttx/graphics/nxfonts/Makefile.sources. This is the Makefile used @@ -161,12 +166,12 @@ bdf-convert.c was used in nuttx/graphics/nxfonts/Make.defs): ifeq ($(NXFONTS_FONTID),1) - NXFONTS_PREFIX := g_sans23x27_ - GEN_CSRC = nxfonts_bitmaps_sans23x27.c + NXFONTS_PREFIX := g_sans23x27_ + GEN_CSRC = nxfonts_bitmaps_sans23x27.c endif ifeq ($(NXFONTS_FONTID),2) - NXFONTS_PREFIX := g_myfont_ - GEN_CSRC = nxfonts_bitmaps_myfont.c + NXFONTS_PREFIX := g_myfont_ + GEN_CSRC = nxfonts_bitmaps_myfont.c endif 8. graphics/nxfonts/nxfonts_bitmaps.c. This is the file that contains @@ -212,8 +217,12 @@ bdf-convert.c Makefile.host This is the makefile that is used to make the mkconfig program from - the mkconfig.c C file, the mkversion program from the mkconfig.c C file, - or the mksyscall program from the mksyscall.c file. + the mkconfig.c C file, the cmpconfig program from cmpconfig.c C file + the mkversion program from the mkconfig.c C file, or the mksyscall + program from the mksyscall.c file. Usage: + + cd tools/ + make -f Makefile.host <program> mkromfsimg.sh |