summaryrefslogtreecommitdiff
path: root/genconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-03-06 01:55:57 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2019-03-06 01:55:57 +0100
commitb07c2053de324d974521c83e7a073ff1330b74d8 (patch)
treee2e4862cae7f60de4ceb50d0ceea5c938477fe5e /genconfig.py
parentc1086af2349e7d92c0a3b47da11cfc76cdd1df90 (diff)
genconfig: Get rid of DESCRIPTION variable
Used in a single place.
Diffstat (limited to 'genconfig.py')
-rwxr-xr-xgenconfig.py15
1 files changed, 6 insertions, 9 deletions
diff --git a/genconfig.py b/genconfig.py
index e222ae9..77d783c 100755
--- a/genconfig.py
+++ b/genconfig.py
@@ -20,19 +20,16 @@ import argparse
import kconfiglib
-DESCRIPTION = """
-Generates a header file with defines from the configuration. Optionally
-creates/updates a directory with incremental build information as well (see the
-docstring for the Kconfig.sync_deps() function in Kconfiglib). The .config file
-to generate the configuration from can be specified by setting the
-KCONFIG_CONFIG environment variable.
-"""
-
DEFAULT_HEADER_PATH = "config.h"
DEFAULT_SYNC_DEPS_PATH = "deps/"
def main():
- parser = argparse.ArgumentParser(description=DESCRIPTION)
+ parser = argparse.ArgumentParser(description="""
+Generates a header file with defines from the configuration. Optionally
+creates/updates a directory with incremental build information as well (see the
+docstring for the Kconfig.sync_deps() function in Kconfiglib). The .config file
+to generate the configuration from can be specified by setting the
+KCONFIG_CONFIG environment variable.""")
parser.add_argument(
"--header-path",