]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
cmd: version: Get information about GCC and LD back
authorMichal Simek <michal.simek@amd.com>
Thu, 6 Mar 2025 10:12:30 +0000 (11:12 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 17 Mar 2025 14:06:53 +0000 (08:06 -0600)
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>
cmd/version.c

index 53db1a0b6bd187fb1a52bc586f26914ea8fceed5..62406608eb0bf3bee14582b497ee24c52b48a7ba 100644 (file)
@@ -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