Share via


Creating the Boot Loader Sources and Makefile Files (Windows Embedded CE 6.0)

1/5/2010

The sources and makefile files control the build operation of the boot loader. Makefile files drive the build process, with configuration information coming from the sources 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=EBOOT
    TARGETTYPE=PROGRAM
    RELEASETYPE=PLATFORM
    EXEENTRY=StartUp
    SOURCES=startup.s
    

    Note

    The sources file and the .bib file must use matching target names.

    For more information about sources files and .bib files, see Sources File and Binary Image Builder File.

  2. Create a makefile file.

    The makefile file must contain the following code.

    !INCLUDE $(_MAKEENVROOT)\makefile.def
    

    For more information about makefile files, see Makefile File.

See Also

Tasks

How to Develop a Boot Loader