
27 Feb
2024
27 Feb
'24
11:04 a.m.
We have to compile efi_block abstraction only if option EFI_PARTITION is enabled. For example, if the user only enabled MTD_PARTITIONS, we would still compile efi_block. This is incorrect.
Signed-off-by: Alexey Romanov avromanov@salutedevices.com --- lib/efi_driver/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/efi_driver/Makefile b/lib/efi_driver/Makefile index f2b6c05cc2..1fc85ce6f9 100644 --- a/lib/efi_driver/Makefile +++ b/lib/efi_driver/Makefile @@ -6,6 +6,6 @@ # object inclusion implicitly depends on it
obj-y += efi_uclass.o -ifeq ($(CONFIG_PARTITIONS),y) +ifeq ($(CONFIG_EFI_PARTITION),y) obj-y += efi_block_device.o endif
--
2.34.1