summaryrefslogtreecommitdiff
path: root/alldefconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'alldefconfig.py')
-rwxr-xr-xalldefconfig.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/alldefconfig.py b/alldefconfig.py
index 4f0cbca..f132f1e 100755
--- a/alldefconfig.py
+++ b/alldefconfig.py
@@ -3,15 +3,17 @@
# Copyright (c) 2018-2019, Ulf Magnusson
# SPDX-License-Identifier: ISC
-# Works like 'make alldefconfig'. Verified by the test suite to generate
-# identical output to 'make alldefconfig' for all ARCHes.
-#
-# The default output filename is '.config'. A different filename can be passed
-# in the KCONFIG_CONFIG environment variable.
-#
-# Usage for the Linux kernel:
-#
-# $ make [ARCH=<arch>] scriptconfig SCRIPT=Kconfiglib/alldefconfig.py
+"""
+Writes a configuration file where all symbols are set to their their default
+values.
+
+The default output filename is '.config'. A different filename can be passed in
+the KCONFIG_CONFIG environment variable.
+
+Usage for the Linux kernel:
+
+ $ make [ARCH=<arch>] scriptconfig SCRIPT=Kconfiglib/alldefconfig.py
+"""
import kconfiglib