diff mbox series

kconfig: show compiler version text in the top comment

Message ID 20200518184800.8948-1-trini@konsulko.com
State Accepted
Commit 61139e2a4376f291911955d55d7cabaee0f9b3a4
Headers show
Series kconfig: show compiler version text in the top comment | expand

Commit Message

Tom Rini May 18, 2020, 6:48 p.m. UTC
This is a side-port of commit 21c54b774744 ("kconfig: show compiler
version text in the top comment") from Linux:

"The kernel configuration phase is now tightly coupled with the compiler
in use.  It will be nice to show the compiler information in Kconfig."

We have already had the required makefile logic for this and had not
included printing the value in various user and file visible places.

Cc: Masahiro Yamada <masahiroy at kernel.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 Kconfig | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/Kconfig b/Kconfig
index 55168d1a1d0a..e34c0ae7ab4e 100644
--- a/Kconfig
+++ b/Kconfig
@@ -5,6 +5,8 @@ 
 #
 mainmenu "U-Boot $(UBOOTVERSION) Configuration"
 
+comment "Compiler: $(CC_VERSION_TEXT)"
+
 source "scripts/Kconfig.include"
 
 # Allow defaults in arch-specific code to override any given here