aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-01 09:02:43 -0700
committerSimon Glass <sjg@chromium.org>2022-01-25 11:44:36 -0700
commit437992d3a936299226b7f0b27d38319b45d4a9e5 (patch)
tree41178d9168de21022b66fbce6e97026a30820f0b /arch/x86
parenta9e414dd50c57113f810812af1fd1d1f502b3f57 (diff)
downloadu-boot-437992d3a936299226b7f0b27d38319b45d4a9e5.zip
u-boot-437992d3a936299226b7f0b27d38319b45d4a9e5.tar.gz
u-boot-437992d3a936299226b7f0b27d38319b45d4a9e5.tar.bz2
acpi: Use finer-grained control of ACPI-table generation
Rather than keying everything off ACPIGEN, use the main GENERATE_ACPI_TABLE option to determine whether the core ACPI code is included. Make sure these option are not enabled in SPL/TPL since we never generate tables there. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index e5235b7..a6f2244 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -41,7 +41,7 @@ obj-y += acpi.o
obj-$(CONFIG_HAVE_ACPI_RESUME) += acpi_s3.o
ifndef CONFIG_QEMU
obj-y += acpigen.o
-obj-$(CONFIG_GENERATE_ACPI_TABLE) += acpi_table.o
+obj-$(CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE) += acpi_table.o
endif
obj-y += tables.o
ifndef CONFIG_SPL_BUILD