Freigeben über


Creating the OAL Sources and Makefile Files (Windows CE 5.0)

Send Feedback

The Windows CE build process is driven by makefiles with build configuration information such as CDEFINES and include and library file paths, provided by the sources file. You can use a single sources file to build the OAL into a library called Hal.lib, which is then linked into the kernel image.

For more information, see Sources File and Makefile File.

To create the sources and makefile files

  1. Create a sources file.

    The sources file must contain the following code. The code shows the macro variables for the sources file.

    TARGETNAME=Oal
    TARGETTYPE=LIBRARY
    RELEASETYPE=PLATFORM
    ARM_SOURCES=arm\startup.s
    
  2. Create a makefile file.

    The makefile file must contain the following code:

    !INCLUDE $(_MAKEENVROOT)\makefile.def
    

See Also

Binary Image Builder File | How to Develop an OEM Adaptation Layer

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.