[U-Boot] [PATCH v2 0/4] Clean up make process for EFI payload

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Sep 5 14:07:15 UTC 2017


Currently we have a single EFI application that we can deliver
integrated into U-Boot. It is a hello world application that
can be called with 'bootefi hello'.

The Makefiles do not easily accomodate further EFI payloads
like a unit test for the EFI API or an EFI shell.

This patch series changes Makefile.lib to allow additional
EFI payloads. Required fixes to the helloworld app are
provided.

This second version of the patch series accomodated EFI payloads
build out of multiple source files.

Heinrich Schuchardt (4):
  efi_loader: rename __efi_hello_world_*
  scripts/Makefile.lib: generalize building built in EFI app
  efi_loader: usage of always in Makefile
  efi_loader: allow multiple source files for EFI apps

 cmd/bootefi.c                   |  4 ++--
 include/asm-generic/sections.h  |  4 ++--
 lib/efi_loader/Makefile         |  8 ++++++--
 lib/efi_loader/helloworld_efi.d |  1 +
 scripts/Makefile.lib            | 38 ++++++++++++++++++++++++--------------
 5 files changed, 35 insertions(+), 20 deletions(-)
 create mode 100644 lib/efi_loader/helloworld_efi.d

-- 
2.11.0



More information about the U-Boot mailing list