Skip to contentSkip to conversation

kconfig: show compiler version text in the top comment

PATCH New Tom Rini 1 participant 2 messages May 18, 2020 – Jul 5, 2020

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 kconfig: show compiler version text in the top comment

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 <[email protected]>
---
 Kconfig | 2 ++
 1 file changed, 2 insertions(+)
Kconfig +2 -0
index 55168d1a1d0a..e34c0ae7ab4e 100644
@@ -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
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 1/1 kconfig: show compiler version text in the top comment

Quoted 11 lines · Tom Rini

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 <[email protected]>

Applied to u-boot/next, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200705/fc75e40c/attachment.sig>