projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: uuid: Do not enable UUID command SPL
[oweals/u-boot.git]
/
lib
/
uuid.c
diff --git
a/lib/uuid.c
b/lib/uuid.c
index 5d5adf6b2dfcf90f7794a14fbffd251d712deae0..fa20ee39fc3205e24b77f6faf86b5960b1ae0560 100644
(file)
--- a/
lib/uuid.c
+++ b/
lib/uuid.c
@@
-271,7
+271,7
@@
void gen_rand_uuid_str(char *uuid_str, int str_format)
uuid_bin_to_str(uuid_bin, uuid_str, str_format);
}
-#if
def CONFIG_CMD_UUID
+#if
!defined(CONFIG_SPL_BUILD) && defined(CONFIG_CMD_UUID)
int do_uuid(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
char uuid[UUID_STR_LEN + 1];