aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_selftest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efi_selftest/Makefile')
-rw-r--r--lib/efi_selftest/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile
index 70ad0b7..90246f7 100644
--- a/lib/efi_selftest/Makefile
+++ b/lib/efi_selftest/Makefile
@@ -25,6 +25,9 @@ efi_selftest_tpl.o \
efi_selftest_util.o \
efi_selftest_watchdog.o
+ifeq ($(CONFIG_BLK)$(CONFIG_PARTITIONS),yy)
+obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += efi_selftest_block_device.o
+endif
# TODO: As of v2018.01 the relocation code for the EFI application cannot
# be built on x86_64.