User Tools

Site Tools


project:kernel-autobuild:kconfig

kconfig

preface

kconfig is the mechanism providing the available linux kernel configuration options. This includes the prompts shown on menuconfig, the help texts, type of data, dependencies, the menu structure, etc.

As of linux 3.10.39 there are some 1057 Kconfig* files, controlling 14088 config options in 627 menus, so it's pretty big and confusing.

There is some documentation inside the kernel source: Documentation/kbuild/kconfig-language.txt

The code for getting things done resides in scripts/kconfig/

Why?

Changes in kconfig reflect the relevant changes to kernel packaging. By comparison of two or more kconfig data sets it becomes clear what's new and what has changed.

The prompt and help information from kconfig also eases understanding plain .config files a lot.

What?

The aim of this part of the project would be to convert the kconfig structure into some XML. XML because with XML I can easily do whatever I need to.

Things

Currently

Currently there are two efforts to get this running:

  • printconf - utilising the lex/yacc/C code from scripts/kconfig/
  • parseKconfig - parse from scratch in perl
project/kernel-autobuild/kconfig.txt · Last modified: 2015/01/15 15:04 by 79.250.98.78