From 121d4a78475837331e74a967b72b09dd868e468d Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 22 Jan 2018 05:11:23 +0100 Subject: Add more detail to the write_autoconf() docstring Same order as for .config files. --- kconfiglib.py | 8 +++++--- 1 file 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. -- cgit v1.2.3