diff options
Diffstat (limited to 'cmd/ufetch.c')
| -rw-r--r-- | cmd/ufetch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/ufetch.c b/cmd/ufetch.c index 763ab42c48a..d4b54f77b7b 100644 --- a/cmd/ufetch.c +++ b/cmd/ufetch.c @@ -60,7 +60,9 @@ enum output_lines { FIRST, SECOND, KERNEL, +#ifdef CONFIG_SYS_CONFIG_NAME SYSINFO, +#endif HOST, UPTIME, IP, @@ -125,9 +127,11 @@ static int do_ufetch(struct cmd_tbl *cmdtp, int flag, int argc, case KERNEL: printf("Kernel:" RESET " %s\n", U_BOOT_VERSION); break; +#ifdef CONFIG_SYS_CONFIG_NAME case SYSINFO: printf("Config:" RESET " %s_defconfig\n", CONFIG_SYS_CONFIG_NAME); break; +#endif case HOST: model = ofnode_read_string(ofnode_root(), "model"); if (model) |
