Creating the Kernel Directory (Windows CE 5.0)
The Kernel directory contains source code files for building and linking the kernel.
To create the Kernel directory
- Copy an existing hardware platform's %_WINCEROOT%\Platform\<Hardware Platform Name>\Src\Kernel directory to your own.
Make sure dirs files are added through the directories to support build recursion into the tree. For more information about dirs files, see Dirs File.
- Edit the %_WINCEROOT%\Platform\<Hardware Platform Name>\Src\Kernel\Dirs file and comment out the Kern and Kernkitlprof entries using
This will simplify your task because you are only focusing on the KITL-enabled kernel image.
- Edit the Kernkitl sources file and comment out all library references except for Nk.lib, Hal.lib, and FullLibc.lib.
You can add the other libraries later when you need them. For more information, see Kernel Image Libraries.
Send Feedback on this topic to the authors