diff options
author | Simon Glass <sjg@chromium.org> | 2023-05-05 01:54:57 +0300 |
---|---|---|
committer | Bin Meng <bmeng@tinylab.org> | 2023-05-11 05:25:29 +0300 |
commit | 0992a90daa80a17f9e7e33a56fd3f9660ee84c97 (patch) | |
tree | 0ab7deffbdd3c6b5c81eec013b6d0de47d8b5b00 /lib/Makefile | |
parent | d8062e950367fab0f219a889e8f2fbfade90108c (diff) | |
download | u-boot-0992a90daa80a17f9e7e33a56fd3f9660ee84c97.tar.xz |
acpi: Create a new Kconfig for ACPI
We have several Kconfig options for ACPI, but all relate to specific
functions, such as generating tables and AML code.
Add a new option which controls including basic ACPI library code,
including the lib/acpi directory. This will allow us to add functions
which are available even if table generation is not supported.
Adjust the command to avoid a build error when ACPIGEN is not enabled.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index 10aa7ac029..8d8ccc8bbc 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -66,7 +66,7 @@ obj-$(CONFIG_$(SPL_TPL_)CRC8) += crc8.o obj-y += crypto/ -obj-$(CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE) += acpi/ +obj-$(CONFIG_$(SPL_TPL_)ACPI) += acpi/ obj-$(CONFIG_$(SPL_)MD5) += md5.o obj-$(CONFIG_ECDSA) += ecdsa/ obj-$(CONFIG_$(SPL_)RSA) += rsa/ |