🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gmane.linux.kernel
2 messages
2 total messages Started by Ahmad Reza Chera Fri, 16 Sep 2005 01:12
Help by KConfig expansion
#307369
Author: Ahmad Reza Chera
Date: Fri, 16 Sep 2005 01:12
23 lines
691 bytes
 Im all the time going through all the file in the
<KERNEL>/scripts/kconfig without any success. I dont
find any beginning and any end.
I want to expand the Kconfig by a new Attribute. The
property of the attribute is just to give out the
message that is written beside it, to a new component
of the struct menu or struct poperty.

e.g.

config BLA
bool "bla"
auto "blabla"

That what is written beside the "auto" should save in
the Component called char *auto in one of the above
mentioned struct. There must be some changes in the
file zconf.tab.c. Any Suggestion how to this??



__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
Re: Help by KConfig expansion
#307597
Author: Roman Zippel
Date: Sat, 17 Sep 2005 03:43
14 lines
523 bytes
Hi,

On Fri, 16 Sep 2005, Ahmad Reza Cheraghi wrote:

> That what is written beside the "auto" should save in
> the Component called char *auto in one of the above
> mentioned struct. There must be some changes in the
> file zconf.tab.c. Any Suggestion how to this??

You have to modify zconf.l/zconf.y for this and regenerate this file
(check the Makefile). First you have to define the keywords in zconf.l
and then extend the parser in zconf.y to recognize them and add the data
to the internal structures.

bye, Roman
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads