summaryrefslogtreecommitdiff
path: root/lib/acpi/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-01 19:02:52 +0300
committerSimon Glass <sjg@chromium.org>2022-01-25 21:44:36 +0300
commiteacb6d0ba205cae472c46a974fb16fcd783680b1 (patch)
tree00afb259abc994ce05bcda9e90d51af538c147e7 /lib/acpi/Makefile
parenta53d38f80a1b7833a7efad6412fbd0b17cc33a99 (diff)
downloadu-boot-eacb6d0ba205cae472c46a974fb16fcd783680b1.tar.xz
x86: Move DSDT table to a writer function
Move this table over to use a writer function, moving the code from the x86 implementation. Add a pointer to the DSDT in struct acpi_ctx so we can reference it later. Disable this table for sandbox since we don't actually compile real ASL code. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/acpi/Makefile')
-rw-r--r--lib/acpi/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/acpi/Makefile b/lib/acpi/Makefile
index 9f70fe69d3..ccdf42896d 100644
--- a/lib/acpi/Makefile
+++ b/lib/acpi/Makefile
@@ -10,5 +10,11 @@ obj-y += acpi_writer.o
# With QEMU the ACPI tables come from there, not from U-Boot
ifndef CONFIG_QEMU
obj-y += base.o
+
+# Sandbox does not build a .asl file
+ifndef CONFIG_SANDBOX
+obj-y += dsdt.o
+endif
+
obj-y += facs.o
endif