diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-03 21:10:11 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-03 22:35:38 +0100 |
| commit | 2fb1d811855162fe9d723806a7b5fb995b14ff7b (patch) | |
| tree | 0495940b986f36422044d279b6fa3c114d71ce16 /README.rst | |
| parent | 35e5a38035fe55ea28790d76876ea24262dea544 (diff) | |
Add example that finds references to undefined symbols
Does a global search over all architectures in the kernel, which should
avoid false positives.
Referencing an undefined symbol in a particular architecture can be fine
in a Kconfig file that's shared by multiple architectures, but if the
symbol isn't defined by any architecture, it's likely to be an error (or
a potential cleanup).
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -203,6 +203,8 @@ The `examples/ <https://github.com/ulfalizer/Kconfiglib/blob/master/examples>`_ - `print_tree.py <https://github.com/ulfalizer/Kconfiglib/blob/master/examples/print_tree.py>`_ prints a tree of all configuration items. +- `list_undefined.py <https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py>`_ finds references to symbols that are not defined by any architecture in the Linux kernel. + - `merge_config.py <https://github.com/ulfalizer/Kconfiglib/blob/master/examples/merge_config.py>`_ merges configuration fragments to produce a complete .config, similarly to ``scripts/kconfig/merge_config.sh`` from the kernel. - `menuconfig.py <https://github.com/ulfalizer/Kconfiglib/blob/master/examples/menuconfig.py>`_ implements a configuration interface that uses notation similar to ``make menuconfig``. It's deliberately kept as simple as possible to demonstrate just the core concepts, and isn't something you'd actually want to use. Here's a screenshot: |
