summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-22 05:11:23 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-22 05:13:14 +0100
commit121d4a78475837331e74a967b72b09dd868e468d (patch)
tree306d412da4f9c682d160590dfa860a6ee53adef2
parent1c3707906b3938ea72d58fa1b0cba6305a6f8176 (diff)
Add more detail to the write_autoconf() docstring
Same order as for .config files.
-rw-r--r--kconfiglib.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index bd1e9eb..405d5c2 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -838,9 +838,11 @@ class Kconfig(object):
header="/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */\n"):
r"""
Writes out symbol values as a C header file, matching the format used
- by include/generated/autoconf.h in the kernel (though possibly with a
- different ordering of the #defines, as the order in the C
- implementation depends on the hash table implementation as of writing).
+ by include/generated/autoconf.h in the kernel.
+
+ The ordering of the #defines matches the one generated by
+ write_config(). The order in the C implementation depends on the hash
+ table implementation as of writing, and so won't match.
filename:
Self-explanatory.