aboutsummaryrefslogtreecommitdiff
path: root/lib/acpi/Makefile
diff options
context:
space:
mode:
authorSimon Glass2023-05-04 16:54:58 -0600
committerBin Meng2023-05-11 10:25:29 +0800
commit37bf44073bf2a51f25d82856d51ae16bc8fd8f76 (patch)
tree01cb02c82a508168f26583c5d17602e92601b6bf /lib/acpi/Makefile
parent0992a90daa80a17f9e7e33a56fd3f9660ee84c97 (diff)
acpi: Move the table-finding functions into the libary
This is useful for other features. Move the function into library code so it can be used outside just the 'acpi' command. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib/acpi/Makefile')
-rw-r--r--lib/acpi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/acpi/Makefile b/lib/acpi/Makefile
index 12337abaecf..c1c9675b5d2 100644
--- a/lib/acpi/Makefile
+++ b/lib/acpi/Makefile
@@ -1,6 +1,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
+obj-y += acpi.o
+
ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE
obj-$(CONFIG_$(SPL_)ACPIGEN) += acpigen.o