[PATCH 1/8] lib: compile uuid_guid_get_str if CONFIG_LIB_UUID=y

Simon Glass sjg at chromium.org
Fri Jan 21 16:20:40 CET 2022


On Sun, 16 Jan 2022 at 08:14, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> 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 at canonical.com>
> ---
>  lib/uuid.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list