Makeimg.exe performs all processing in the %_FLATRELEASEDIR% directory. After processing, the Ce.bib file defines which binaries and files are to be included in the run-time image. By default, the run-time image is named Nk.bin.
If you have modified and built files in your OS design, you can copy these files to %_FLATRELEASEDIR% and then run the Make Binary Image tool to include these files in the run-time image. This can decrease time spent running builds on your entire OS design. For more information about adding files to the run-time image, see Adding a File to a Run-time Image.
Makeimg.exe calls the following programs:
If the settings files for the dependent projects are defined in the _DEPTREES environment variable, and if they also exist in the %_FLATRELEASEDIR% directory, Fmerge.exe merges them into the appropriate initialization file.
The following table shows the original files and merged initialization file for each file type.
Original files | Merged initialization file |
---|---|
Common.bib, Config.bib, Project.bib, Platform.bib | Ce.bib, which identifies all the Windows CE files to be combined into the run-time image. |
Common.reg, Project.reg, Platform.reg | Reginit.ini, which provides a collection of registry entries for the run-time image. |
Common.dat, Project.dat, Platform.dat | Initobj.dat, which provides a description of the directory and file locations for the run-time image. |
Common.db, Project.db, Platform.db | Initdb.ini, which defines the creation of any databases in the Windows CE object store. |
The Ce.bib file also lists the following processed files: Wince.nls, Reginit.ini, Initobj.dat, Initdb.ini, and Default.fdf.
Then, Romimage.exe combines the binaries and files into the run-time image, which is usually called Nk.bin unless specified otherwise in theMEMORY section of the Ce.bib file.
Makeimg
These two messages appear if the LOCALE environment variable was not set or an incorrect setting was used.
The following code example shows how to use Makeimg.exe.
makeimg
The environment variables in the binary image builder file (.bib), file system file (.dat), database file (.db), and registry file (.reg) help determine how Makeimg.exe builds the run-time image.