mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00
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
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
config CMD_BOOTEFI_SELFTEST
|
config CMD_BOOTEFI_SELFTEST
|
||||||
bool "UEFI unit tests"
|
bool "UEFI unit tests"
|
||||||
depends on CMD_BOOTEFI
|
depends on CMD_BOOTEFI
|
||||||
|
imply PARTITIONS
|
||||||
|
imply DOS_PARTITION
|
||||||
imply FAT
|
imply FAT
|
||||||
imply FAT_WRITE
|
imply FAT_WRITE
|
||||||
imply CMD_POWEROFF if PSCI_RESET || SYSRESET_PSCI
|
imply CMD_POWEROFF if PSCI_RESET || SYSRESET_PSCI
|
||||||
|
|
|
@ -57,7 +57,7 @@ ifeq ($(CONFIG_GENERATE_ACPI_TABLE),)
|
||||||
obj-y += efi_selftest_fdt.o
|
obj-y += efi_selftest_fdt.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_BLK)$(CONFIG_PARTITIONS),yy)
|
ifeq ($(CONFIG_BLK)$(CONFIG_DOS_PARTITION),yy)
|
||||||
obj-y += efi_selftest_block_device.o
|
obj-y += efi_selftest_block_device.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue