Creating the Boot Loader Sources and Makefile Files

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

How to Develop a Boot Loader

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.