From: Alexandru Elisei <alexandru.elisei@xxxxxxx> For arm/arm64, ACPI is available only when UEFI is present. Compile acpi.c if CONFIG_EFI is set to 'y'. For now, only x86 can configure the tests with --enable-efi, but that will soon change. Signed-off-by: Nikos Nikoleris <nikos.nikoleris@xxxxxxx> --- arm/Makefile.common | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arm/Makefile.common b/arm/Makefile.common index 1bbec64f..3a726c20 100644 --- a/arm/Makefile.common +++ b/arm/Makefile.common @@ -54,6 +54,10 @@ cflatobjs += lib/arm/smp.o cflatobjs += lib/arm/delay.o cflatobjs += lib/arm/gic.o lib/arm/gic-v2.o lib/arm/gic-v3.o +ifeq ($(CONFIG_EFI),y) +cflatobjs += lib/acpi.o +endif + OBJDIRS += lib/arm libeabi = lib/arm/libeabi.a -- 2.25.1