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:
- Create the build output directories
- Build the libraries
- Build the modules
- Call the GenFds tool
- 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).