From 2fb1d811855162fe9d723806a7b5fb995b14ff7b Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 3 Feb 2018 21:10:11 +0100 Subject: 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). --- README.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 13385fb..ad8143f 100644 --- a/README.rst +++ b/README.rst @@ -203,6 +203,8 @@ The `examples/ `_ - `print_tree.py `_ prints a tree of all configuration items. +- `list_undefined.py `_ finds references to symbols that are not defined by any architecture in the Linux kernel. + - `merge_config.py `_ merges configuration fragments to produce a complete .config, similarly to ``scripts/kconfig/merge_config.sh`` from the kernel. - `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: -- cgit v1.2.3