summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2025-03-06 11:12:30 +0100
committerTom Rini <trini@konsulko.com>2025-03-17 08:06:53 -0600
commitca3bea3fc415ce40dc58f1bea9327f6fa12928bb (patch)
tree9bf997a597bf225c93a53781b997cbf4025e4536
parent3e806c41aa1d22a0c40a284a14a3804d2a930f22 (diff)
cmd: version: Get information about GCC and LD back
U-Boot version command is no longer showing information about GCC and LD. The reason is that version.h has been removed that's why CC_VERSION_STRING and LD_VERSION_STRING are not pass. Values are generated to generated/version_autogenerated.h which is sourced in version.h. Fixes: 54ecce2cbf90 ("version: Separate our version string from the version command") Signed-off-by: Michal Simek <michal.simek@amd.com>
-rw-r--r--cmd/version.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/version.c b/cmd/version.c
index 53db1a0b6bd..62406608eb0 100644
--- a/cmd/version.c
+++ b/cmd/version.c
@@ -6,6 +6,7 @@
#include <command.h>
#include <display_options.h>
+#include <version.h>
#include <version_string.h>
#include <linux/compiler.h>
#ifdef CONFIG_SYS_COREBOOT