Creating the Kernel Buildexe Directory
The Kernel\Buildexe directory contains source code files for building and linking the kernel.
To create the Kernel\Buildexe directory
Copy an existing platform's %_WINCEROOT%\Platform\<Platform>\Kernel\Buildexe 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\<Platform>\Kernel\Buildexe\Dirs file and comment out the Kern and Kernkitlprof entries using
!if0
and!endif
tags.This will simplify your task because you are only focusing on the KITL-enabled kernel image.
Edit the %_WINCEROOT%\Platform\<Platform>\Kernel\Buildexe\Dirs file and add the Buildexe directory.
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.
See Also
How to Develop an OEM Adaptation Layer
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.