summaryrefslogtreecommitdiff
path: root/examples/allnoconfig_walk.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-09-15 02:19:34 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-09-15 03:07:11 +0200
commit35a60b786c646c846d9bad6a5f15711acc9a62c6 (patch)
treee0848683c8b4f39d1f0959fb6b9a95c14ca2a3f0 /examples/allnoconfig_walk.py
parentf861c271dcbb06e0101c01add3d07006c2d3a09c (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.py3
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