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)
commit514377d8a7da608ce618cdbeb5a2110a5a5178fc
tree69e002289d8ec8c426659a0a224e941c9b9b9dd9
parentc82ceb440b886cc0f3945b6db979c49c48a4af29
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]