From: Heinrich Schuchardt Date: Sun, 17 Jan 2021 04:41:41 +0000 (+0100) Subject: efi_selftest: don't compile dtbdump if GENERATE_ACPI_TABLE X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=8644af7dc447427f842754d93b1e78217aad98f2;p=u-boot.git efi_selftest: don't compile dtbdump if GENERATE_ACPI_TABLE If we are using ACPI tables instead of a device tree, we don't need the dtbdump.efi test tool. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile index 426552bfa0..fa3dc66baa 100644 --- a/lib/efi_selftest/Makefile +++ b/lib/efi_selftest/Makefile @@ -78,8 +78,9 @@ efi_selftest_miniapp_exception.efi \ efi_selftest_miniapp_exit.efi \ efi_selftest_miniapp_return.efi -always += \ -dtbdump.efi +ifeq ($(CONFIG_GENERATE_ACPI_TABLE),) +always += dtbdump.efi +endif $(obj)/efi_miniapp_file_image_exception.h: $(obj)/efi_selftest_miniapp_exception.efi $(obj)/../../tools/file2include $(obj)/efi_selftest_miniapp_exception.efi > \