[U-Boot] [PATCH 2/4] patman: Add support for settings in .patman

Simon Glass sjg at chromium.org
Tue Dec 4 00:01:19 CET 2012


On Fri, Nov 30, 2012 at 4:29 PM, Doug Anderson <dianders at chromium.org> wrote:
> This patch adds support for a [settings] section in the .patman file.
> In this section you can add settings that will affect the default
> values for command-line options.
>
> Support is added in a generic way such that any setting can be updated
> by just referring to the "dest" of the option that is passed to the
> option parser.  At the moment options that would make sense to put in
> settings are "ignore_errors", "process_tags", and "verbose".  You
> could override them like:
>
>  [settings]
>  ignore_errors: True
>  process_tags: False
>  verbose: True
>
> The settings functionality is also used in a future change which adds
> support for per-project settings.
>
> Signed-off-by: Doug Anderson <dianders at chromium.org>
> ---

Acked-by: Simon Glass <sjg at chromium.org>

>  tools/patman/README      |   16 ++++++++++++++++
>  tools/patman/gitutil.py  |    2 --
>  tools/patman/patman.py   |    3 +++
>  tools/patman/settings.py |   39 +++++++++++++++++++++++++++++++++++----
>  4 files changed, 54 insertions(+), 6 deletions(-)
>


More information about the U-Boot mailing list