summaryrefslogtreecommitdiff
path: root/lib/acpi/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-05-05 01:54:58 +0300
committerBin Meng <bmeng@tinylab.org>2023-05-11 05:25:29 +0300
commit37bf44073bf2a51f25d82856d51ae16bc8fd8f76 (patch)
tree01cb02c82a508168f26583c5d17602e92601b6bf /lib/acpi/Makefile
parent0992a90daa80a17f9e7e33a56fd3f9660ee84c97 (diff)
downloadu-boot-37bf44073bf2a51f25d82856d51ae16bc8fd8f76.tar.xz
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 12337abaec..c1c9675b5d 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