Since the ACPI-generation code makes use of UUIDs we typically need to
enabled UUID support for it to build. Add a new Kconfig condition.

Use it for BTRFS also.

Signed-off-by: Simon Glass <s...@chromium.org>
---

(no changes since v1)

 drivers/core/Kconfig | 1 +
 fs/btrfs/Kconfig     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index d618e1637b9..9ae188c1dfc 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -325,6 +325,7 @@ config DM_DEV_READ_INLINE
 config ACPIGEN
        bool "Support ACPI table generation in driver model"
        default y if SANDBOX || (GENERATE_ACPI_TABLE && !QEMU)
+       select LIB_UUID
        help
          This option enables generation of ACPI tables using driver-model
          devices. It adds a new operation struct to each driver, to support
diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
index 2a32f42ad13..a0b48c23b31 100644
--- a/fs/btrfs/Kconfig
+++ b/fs/btrfs/Kconfig
@@ -1,6 +1,7 @@
 config FS_BTRFS
        bool "Enable BTRFS filesystem support"
        select CRC32C
+       select LIB_UUID
        select LZO
        select ZSTD
        select RBTREE
-- 
2.32.0.93.g670b81a890-goog

Reply via email to