diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-02-06 12:08:20 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-15 17:43:18 +0000 |
commit | 834989f3d65e32b18f8a796976d8c116238b016b (patch) | |
tree | 316ded7715e81f89cd96369d2bae0089d52c1069 /configure.ac | |
parent | db9b325bd52e9f2be75fc5ec3c2523b1e80c4c2e (diff) | |
download | phosphor-inventory-manager-834989f3d65e32b18f8a796976d8c116238b016b.tar.gz phosphor-inventory-manager-834989f3d65e32b18f8a796976d8c116238b016b.zip |
pimgen: Remove interfaces.d
Obtain the information encoded in this file via scanning
the filesystem for interface files.
Add an interfaces-dir option to specify the filesystem path to scan.
Change-Id: I7f5220b515a012d6c6e504f54e4fcb324e6f1f87
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>wip
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 526770c..83d063e 100644 --- a/configure.ac +++ b/configure.ac @@ -66,10 +66,13 @@ AC_ARG_VAR(BUSNAME, [The DBus busname to own.]) AC_ARG_VAR(INVENTORY_ROOT, [The DBus inventory namespace root.]) AC_ARG_VAR(IFACE, [The manager DBus interface.]) AC_ARG_VAR(YAML_PATH, [The path to the yaml config files.]) +AC_ARG_VAR(IFACES_PATH, [The path to the interfaces PIM can create.]) AS_IF([test "x$BUSNAME" == "x"], [BUSNAME="xyz.openbmc_project.Inventory.Manager"]) AS_IF([test "x$INVENTORY_ROOT" == "x"], [INVENTORY_ROOT="/xyz/openbmc_project/Inventory"]) AS_IF([test "x$IFACE" == "x"], [IFACE="xyz.openbmc_project.Inventory.Manager"]) AS_IF([test "x$YAML_PATH" == "x"], [YAML_PATH="$srcdir/example"]) +AM_CONDITIONAL(IFACES_PATH, [test x"$IFACES_PATH" != "x"]) + AC_DEFINE_UNQUOTED([BUSNAME], ["$BUSNAME"], [The DBus busname to own.]) AC_DEFINE_UNQUOTED([INVENTORY_ROOT], ["$INVENTORY_ROOT"], [The DBus inventory namespace root.]) AC_DEFINE_UNQUOTED([IFACE], ["$IFACE"], [The manager DBus interface.]) |