]> git.baikalelectronics.ru Git - kernel.git/commit
efi/libstub: move efi_system_table global var into separate object
authorArd Biesheuvel <ardb@kernel.org>
Fri, 6 May 2022 09:37:50 +0000 (11:37 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 19 Sep 2022 09:19:35 +0000 (11:19 +0200)
commitc458e6742143cb337c22541e1ce18afb3f9bf7f2
tree69e002289d8ec8c426659a0a224e941c9b9b9dd9
parent3ae98130c6ba346803ffeb696ab116830bf48a2a
efi/libstub: move efi_system_table global var into separate object

To avoid pulling in the wrong object when using the libstub static
library to build the decompressor, define efi_system_table in a separate
compilation unit.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/efi-stub.c
drivers/firmware/efi/libstub/systable.c [new file with mode: 0644]