efi_selftest: block device test requires CONFIG_DOS_PARTITION
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>
This commit is contained in:
parent
a1077bf582
commit
5c2227e495
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user