]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_selftest: don't compile dtbdump if GENERATE_ACPI_TABLE
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 17 Jan 2021 04:41:41 +0000 (05:41 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 20 Jan 2021 07:17:17 +0000 (08:17 +0100)
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 <xypron.glpk@gmx.de>
lib/efi_selftest/Makefile

index 426552bfa01de80f5b25ac1dd83039b22d0d9189..fa3dc66baa47cb3dc1ba7d5c613ac5cfe70f229c 100644 (file)
@@ -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 > \