diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2017-02-06 20:55:39 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-01 16:06:13 +0000 |
commit | ebd59fa425c2560fd302cfad7fcfe7f02e3bc3cd (patch) | |
tree | 0670865675761294decc9268179666ef3d0d2557 /tools | |
parent | fbe8872e810abd228f08d88d33729997fc1a3483 (diff) | |
download | phosphor-logging-ebd59fa425c2560fd302cfad7fcfe7f02e3bc3cd.tar.gz phosphor-logging-ebd59fa425c2560fd302cfad7fcfe7f02e3bc3cd.zip |
Use configure option yaml path to generate elog-errors.hpp
Add a config variable that can be passed via a recipe to
point the parser to a directory where the error yaml files are.
Rename elog-gen.hpp to elog-errors.hpp, which better matches the
exception error log file names.
Include elog-gen.hpp in elog.hpp so that callers that need to
create and commit error logs only need to include one header file.
Change-Id: Ie3cd65ac761c1f7b2c99c50a2273859283a5ab4b
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/elog-gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/elog-gen.py b/tools/elog-gen.py index 1a79139..360ae11 100755 --- a/tools/elog-gen.py +++ b/tools/elog-gen.py @@ -238,8 +238,8 @@ def main(i_args): help="input mako template file to use") parser.add_option("-o", "--output", dest="output_hpp", - default="elog-gen.hpp", - help="output hpp to generate, elog-gen.hpp is default") + default="elog-errors.hpp", + help="output hpp to generate, elog-errors.hpp default") parser.add_option("-y", "--yamldir", dest="yamldir", default="None", |