boot/shim: fix build issue due to gnu-efi
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 5 Apr 2021 20:21:52 +0000 (22:21 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 6 Apr 2021 09:44:06 +0000 (11:44 +0200)
commit888f47cbce17807e3c5f07644e27f2fe37f908dc
tree8bc14879f456a24da82da06649578b0db74bb890
parent1fa1ed2672e5fdeaab31a3fd158de994d44944ee
boot/shim: fix build issue due to gnu-efi

shim fails to build with:

console.c:448:5: error: ‘EFI_WARN_UNKOWN_GLYPH’ undeclared here (not in a function); did you mean ‘EFI_WARN_UNKNOWN_GLYPH’?
  448 |  {  EFI_WARN_UNKOWN_GLYPH,      L"Warning Unknown Glyph"},
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     EFI_WARN_UNKNOWN_GLYPH
make[2]: *** [<builtin>: console.o] Error 1
make[2]: *** Waiting for unfinished jobs....

Backport upstream commit d230d02f990f02293736dca78b108f86c86d1bd0 to
resolve this issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
boot/shim/0001-console-Fix-a-typo-in-the-EFI-warning-list-in-gnu-ef.patch [new file with mode: 0644]