]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_selftest: block device test requires CONFIG_DOS_PARTITION
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 29 Jul 2020 10:43:41 +0000 (12:43 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 1 Aug 2020 09:58:39 +0000 (11:58 +0200)
Do not execute the block device test if CONFIG_DOS_PARTITION=n.

Imply CONFIG_DOS_PARTITION in Kconfig.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_selftest/Kconfig
lib/efi_selftest/Makefile

index 478140330b5f54c69e7c2a86ca5211cd9230cf8e..ca624361080434495aee264709c690201f201ff6 100644 (file)
@@ -1,6 +1,8 @@
 config CMD_BOOTEFI_SELFTEST
        bool "UEFI unit tests"
        depends on CMD_BOOTEFI
+       imply PARTITIONS
+       imply DOS_PARTITION
        imply FAT
        imply FAT_WRITE
        imply CMD_POWEROFF if PSCI_RESET || SYSRESET_PSCI
index 7f849032edb950809b4ceb86f687031d96ac66e7..45ce6859b868cccf292f4b919ea4c5e4b6f9d073 100644 (file)
@@ -57,7 +57,7 @@ ifeq ($(CONFIG_GENERATE_ACPI_TABLE),)
 obj-y += efi_selftest_fdt.o
 endif
 
-ifeq ($(CONFIG_BLK)$(CONFIG_PARTITIONS),yy)
+ifeq ($(CONFIG_BLK)$(CONFIG_DOS_PARTITION),yy)
 obj-y += efi_selftest_block_device.o
 endif