Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Kconfig parser #2553

Merged
merged 5 commits into from
May 26, 2020
Merged

Commits on May 22, 2020

  1. Add Kconfig parser

    Kconfig is a language used for build configurations used in a lot of
    open source projects (ex: linux, u-boot, barebox, ...)
    
    Reference:
    https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html
    
    Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
    MaximeChretien committed May 22, 2020
    Configuration menu
    Copy the full SHA
    150ab08 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. Kconfig parser: Add copyright notice

    Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
    MaximeChretien committed May 25, 2020
    Configuration menu
    Copy the full SHA
    7f8708f View commit details
    Browse the repository at this point in the history
  2. Docs: Add Kconfig parser

    Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
    MaximeChretien committed May 25, 2020
    Configuration menu
    Copy the full SHA
    b091c78 View commit details
    Browse the repository at this point in the history
  3. Kconfig: covert kconfig.c to an optlib file

    New kinds are introduced:
    * menu
    * mainmenu
    * kconfig (loaded by source directive)
    * choice
    
    CONFIG_FOO for FOO config is tagged as a "configPrefixed" extra tag.
    
    scopes made by menus are tracked.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed May 25, 2020
    Configuration menu
    Copy the full SHA
    f1b8d13 View commit details
    Browse the repository at this point in the history
  4. Units,Kconfig: add a case for testing Kconfig parser

    The test inputs are taken from linux kernel.
    masatake committed May 25, 2020
    Configuration menu
    Copy the full SHA
    4ab2053 View commit details
    Browse the repository at this point in the history