diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2017-03-02 09:15:51 -0600 |
---|---|---|
committer | Deepak Kodihalli <dkodihal@in.ibm.com> | 2017-03-15 09:20:16 -0500 |
commit | a3db07742c870b5e974c8f8c8ae724ca2298b015 (patch) | |
tree | 81bd33c4cff7a4fd32346ff29b8a0addadbab6fa /configure.ac | |
parent | 5650b3998e1f229ada9d6da557830de7fa623469 (diff) | |
download | phosphor-logging-a3db07742c870b5e974c8f8c8ae724ca2298b015.tar.gz phosphor-logging-a3db07742c870b5e974c8f8c8ae724ca2298b015.zip |
build: add rule to generate callout mappings
The callout mappings are generated at build time by a script,
which needs an input YAML file. This change enables providing such a
YAML file by the phosphor-logging recipe.
Change-Id: I8e174d60e37eabb6d26ff7822ab5c9f38d35e0a6
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 10655ed..964ce08 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,9 @@ AS_IF([test "x$YAML_DIR_TEST" == "x"], \ AC_ARG_VAR(YAML_DIR, [The path to the yaml error files.]) AS_IF([test "x$YAML_DIR" == "x"], \ [YAML_DIR="None"]) +AC_ARG_VAR(CALLOUTS_YAML, [YAML filepath containing generated callouts.]) +AS_IF([test "x$CALLOUTS_YAML" == "x"], \ + [CALLOUTS_YAML="callouts-example.yaml"]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile test/Makefile]) |