summaryrefslogtreecommitdiffstats
path: root/common/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/boot.c')
-rw-r--r--common/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/boot.c b/common/boot.c
index cef3d5e514..41bf1ce64b 100644
--- a/common/boot.c
+++ b/common/boot.c
@@ -289,7 +289,7 @@ int bootentry_create_from_name(struct bootentries *bootentries,
found += ret;
}
- if (!found) {
+ if (IS_ENABLED(CONFIG_COMMAND_SUPPORT) && !found) {
char *path;
if (*name != '/')