lib: compile uuid_guid_get_str if CONFIG_LIB_UUID=y
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 16 Jan 2022 10:55:39 +0000 (11:55 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 19 Jan 2022 15:16:33 +0000 (16:16 +0100)
commitc1528f324c6068936a629233b12c66774accc359
treef2095e69e62daf98dc4de1a1d47a463c423f7e84
parent6a685753ce8b6b02b67d64b239143bf19eda63c9
lib: compile uuid_guid_get_str if CONFIG_LIB_UUID=y

Currently uuid_guid_get_str() is only built if
CONFIG_PARTITION_TYPE_GUID=y.

To make it usable for other GUIDs compile it if CONFIG_LIB_UUID=y.
The linker will take care of removing it if it is unused.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/uuid.c