]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitfe5888158bdf36387cc62036b1375405a1833c86
treef2095e69e62daf98dc4de1a1d47a463c423f7e84
parent7f733b9d531324cfc0a91e2465c1e04685bb20c4
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