From b07c2053de324d974521c83e7a073ff1330b74d8 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 6 Mar 2019 01:55:57 +0100 Subject: genconfig: Get rid of DESCRIPTION variable Used in a single place. --- genconfig.py | 15 ++++++--------- 1 file 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", -- cgit v1.2.3