From d4d0f083679e6b23c4e4fe72f4958c1f313b582d Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Tue, 16 May 2017 13:51:10 -0500 Subject: Parse set speed event groups Adds the groups for a set speed event for each zone listed within the event. The groups are for maintaining a cached property value. Change-Id: I2de9cf62215f9861e8ea2e6807df11e6a04638fb Signed-off-by: Matthew Barth --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e698150..4958bc2 100644 --- a/configure.ac +++ b/configure.ac @@ -96,6 +96,12 @@ AS_IF([test "x$enable_control" != "xno"], [ AC_DEFINE_UNQUOTED([FAN_ZONE_YAML_FILE], ["$FAN_ZONE_YAML_FILE"], [The fan zone definition file to use]) + AC_ARG_VAR(ZONE_EVENTS_YAML_FILE, + [The zone events definition file to use]) + AS_IF([test "x$ZONE_EVENTS_YAML_FILE" != "x"], [ + AC_SUBST([ZONE_EVENTS_ARG], ["-e ${ZONE_EVENTS_YAML_FILE}"]) + ]) + AC_ARG_VAR(FAN_ZONE_OUTPUT_DIR, [The output directory for the generated fan zone data file]) AS_IF([test "x$FAN_ZONE_OUTPUT_DIR" == "x"], @@ -107,6 +113,7 @@ AS_IF([test "x$enable_control" != "xno"], [ [$PYTHON ${srcdir}/control/gen-fan-zone-defs.py \ -f $FAN_DEF_YAML_FILE \ -z $FAN_ZONE_YAML_FILE \ + $ZONE_EVENTS_ARG \ -o $FAN_ZONE_OUTPUT_DIR]) AC_CONFIG_FILES([control/Makefile]) ]) -- cgit v1.2.1