Skip to contentSkip to conversation

kconfig: Sync zconf.y with zconf.tab.c_shipped

PATCH In review Ulf Magnusson 3 participants 5 messages Oct 5, 2017 – Jan 13, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kconfig: Sync zconf.y with zconf.tab.c_shipped

Looks like a change to a comment in zconf.y was never committed, because the updated version only appears it zconf.tab.c_shipped. Update the comment in zconf.y to match.

---
 scripts/kconfig/zconf.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/zconf.y +1 -1
index c8f396c..4b2cf41 100644
@@ -101,7 +101,7 @@ static struct menu *current_menu, *current_entry;
 } if_entry menu_entry choice_entry
 
 %{
-/* Include zconf_id.c here so it can see the token constants. */
+/* Include kconf_id.c here so it can see the token constants. */
 #include "kconf_id.c"
 %}
 
Signature · 1 line
2.7.4
#1 lore raw

2017-10-05 12:06 GMT+09:00 Ulf Magnusson <[email protected]>:

Quoted 14 lines

Looks like a change to a comment in zconf.y was never committed, because the updated version only appears it zconf.tab.c_shipped. Update the comment in zconf.y to match.

---
 scripts/kconfig/zconf.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/zconf.y +0 -0
index c8f396c..4b2cf41 100644

scripts/kconfig/zconf.y static struct menu *current_menu, *current_entry; · line 106

Quoted 7 lines
scripts/kconfig/zconf.y +1 -1
@@ -101,7 +101,7 @@ static struct menu *current_menu, *current_entry;
 } if_entry menu_entry choice_entry
 
 %{
-/* Include zconf_id.c here so it can see the token constants. */
+/* Include kconf_id.c here so it can see the token constants. */
 #include "kconf_id.c"
 %}

Applied to linux-kbuild/kconfig.
Thanks!

BTW, I do not know the historical reason
why zconf instead of kconf in the first place...

Signature · 2 lines
Best Regards
Masahiro Yamada
#2 lore raw
Quoted 27 lines · Masahiro Yamada

2017-10-05 12:06 GMT+09:00 Ulf Magnusson <[email protected]>:

Quoted 14 lines

Looks like a change to a comment in zconf.y was never committed, because the updated version only appears it zconf.tab.c_shipped. Update the comment in zconf.y to match.

---
 scripts/kconfig/zconf.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/zconf.y +0 -0
index c8f396c..4b2cf41 100644

scripts/kconfig/zconf.y static struct menu *current_menu, *current_entry; · line 106

Quoted 7 lines
scripts/kconfig/zconf.y +1 -1
@@ -101,7 +101,7 @@ static struct menu *current_menu, *current_entry;
 } if_entry menu_entry choice_entry
 
 %{
-/* Include zconf_id.c here so it can see the token constants. */
+/* Include kconf_id.c here so it can see the token constants. */
 #include "kconf_id.c"
 %}

Applied to linux-kbuild/kconfig.
Thanks!

Quoted 2 lines

BTW, I do not know the historical reason
why zconf instead of kconf in the first place...

I have no idea either. kconfig.{l,y} and kconfig_*() would be a lot less confusing.

Cheers,
Ulf

#3 lore raw

Hi Ulf, Masahiro

Quoted 6 lines
Quoted 3 lines

BTW, I do not know the historical reason
why zconf instead of kconf in the first place...

I have no idea either. kconfig.{l,y} and kconfig_*() would be a lot less confusing.

zconf was the name originally invented by Roman Zippel. kconfig had the name "lc" in the original submission, but was later renamed to kconfig.
And if memory serves me correct the original codebase used zconf.

The use of Kconfig for the files was first introduced here:
https://sourceforge.net/p/kbuild/mailman/message/8519479/
This was before lc aka kconfig was included in the kernel.

This was all in a period after the huge CML2 flamewars which some oldies may remember.

Surfing dwom memory lane was fun - lot of mails.

This was also back when Keith Ownes attempt for a new generation kbuild was rejected and Kai Germaschewski migrated the old build system to something that was good and reliable.

Fun times indeed :-)
For some of the involved this was not fun at all - investing a lot of time and then see it rejected is never fun.

Sam

#4 lore raw
Quoted 27 lines · Sam Ravnborg

Hi Ulf, Masahiro

Quoted 6 lines
Quoted 3 lines

BTW, I do not know the historical reason
why zconf instead of kconf in the first place...

I have no idea either. kconfig.{l,y} and kconfig_*() would be a lot less confusing.

zconf was the name originally invented by Roman Zippel. kconfig had the name "lc" in the original submission, but was later renamed to kconfig.
And if memory serves me correct the original codebase used zconf.

The use of Kconfig for the files was first introduced here:
https://sourceforge.net/p/kbuild/mailman/message/8519479/
This was before lc aka kconfig was included in the kernel.

This was all in a period after the huge CML2 flamewars which some oldies may remember.

Surfing dwom memory lane was fun - lot of mails.

This was also back when Keith Ownes attempt for a new generation kbuild was rejected and Kai Germaschewski migrated the old build system to something that was good and reliable.

Quoted 5 lines

Fun times indeed :-)
For some of the involved this was not fun at all - investing a lot of time and then see it rejected is never fun.

Sam

Thanks for the history lesson.

Had heard of the CML2 drama. Bit of a second-system effect going on there I think.

Python all the way back in 2002 was unexpected. Can see why people might have been opposed to that.

History aside, I'm all for renaming some things if anyone steps up. Explicit naming goes a long way for me.

Cheers,
Ulf