D.2 Makefile actions

The module's Makefile is responsible for compilation of the source code and executing the GenFw command on the intermediate object files in order to create the .efi files.

The actions taken by the Makefile are:

  1. Create the build output directories
  2. Build the libraries
  3. Build the modules
  4. Call the GenFds tool
  5. The last step of the Makefile processing is to call the GenFds tool that will:
    • Process the command-line options
    • Parse the meta-data files
    • Create FFS, Capsules, FV images and the final FD image(s).