Creating the Kernel Directory (Windows CE 5.0)

Send Feedback

The Kernel directory contains source code files for building and linking the kernel.

To create the Kernel directory

  1. 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.

  2. Edit the %_WINCEROOT%\Platform\<Hardware Platform Name>\Src\Kernel\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.

  3. 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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.