Re: About Kconfig tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 9, 2023 at 6:50 PM P J P <pjp@xxxxxxxxxxxxxxxxx> wrote:
>
> Hello Masahiro,
>
>
> * I've been reading linux/scripts/kconfig sources and trying to understand how it works. I'm wondering if we can read Kconfig sources and build a tree/graph structure in memory, which can then be traversed by a user.
>
>
> * Is there any code/library under scripts/kconfig/ directory which creates such tree/graph data-structure from kconfig source files? Which can be reused? OR we'll have to write such a code from scratch?
>
>
> * I'd appreciate your inputs/comments to confirm the same? And any guidance if we have to write code to create such data-structure.



'common-objs' in scripts/kconfig/Makefile is the core code.

It is not written in a separate library with user APIs.






>
> Thank you.
> ---
>   -Prasad



-- 
Best Regards
Masahiro Yamada




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux