diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-01-20 23:37:56 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2021-02-01 10:11:40 +0300 |
commit | 12218c1ff41befedd78ed8cfa902f2cc25d05c88 (patch) | |
tree | 17ced3b4f791ed243982606014dbe8ad7f334998 | |
parent | b4804cdd5747d1d932bd338e0ca102ade51b8b6b (diff) | |
download | u-boot-12218c1ff41befedd78ed8cfa902f2cc25d05c88.tar.xz |
cmd: CMD_ACPI depends on ACPIGEN
Trying to compile qemu-x86_64_defconfig with CONFIG_CMD_ACPI=y and
CONFIG_ACPIGEN=n fails with
ld.bfd: cmd/built-in.o: in function `do_acpi_items':
cmd/acpi.c:162: undefined reference to `acpi_dump_items'
Add the missing configuration dependency.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r-- | cmd/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 0625ee4050..928a2a0a2d 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -84,7 +84,8 @@ menu "Info commands" config CMD_ACPI bool "acpi" - default y if ACPIGEN + depends on ACPIGEN + default y help List and dump ACPI tables. ACPI (Advanced Configuration and Power Interface) is used mostly on x86 for providing information to the |