diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-15 02:19:34 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-15 03:07:11 +0200 |
| commit | 35a60b786c646c846d9bad6a5f15711acc9a62c6 (patch) | |
| tree | e0848683c8b4f39d1f0959fb6b9a95c14ca2a3f0 /examples/allnoconfig_walk.py | |
| parent | f861c271dcbb06e0101c01add3d07006c2d3a09c (diff) | |
Update some examples to use node_iter()
Simplifies the code. Should promote new APIs.
Also fix list_undefined.py for recent kernels. More environment
variables are referenced now.
Diffstat (limited to 'examples/allnoconfig_walk.py')
| -rw-r--r-- | examples/allnoconfig_walk.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/allnoconfig_walk.py b/examples/allnoconfig_walk.py index b94a169..c35b998 100644 --- a/examples/allnoconfig_walk.py +++ b/examples/allnoconfig_walk.py @@ -2,6 +2,9 @@ # Verified by the test suite to generate identical output to 'make allnoconfig' # for all ARCHes. # +# Note: A more practical version would use Kconfig.node_iter(). The manual tree +# walking is for demonstration purposes. +# # Usage for the Linux kernel: # # $ make [ARCH=<arch>] scriptconfig SCRIPT=Kconfiglib/examples/allnoconfig_walk.py |
