Create OCC pass-through objects
Create OCC pass-through d-bus objects when corresponding CPU objects are
created in the inventory.
Resolves openbmc/openbmc#1450.
Change-Id: I8da879f51ebef8dcc3d25358def81c5e0dce0617
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 50d23da..b68f9a0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,11 +1,9 @@
# Build these headers, don't install them
noinst_HEADERS = \
- occ_finder.hpp \
occ_pass_through.hpp
sbin_PROGRAMS = openpower-occ-control
openpower_occ_control_SOURCES = \
- occ_finder.cpp \
occ_pass_through.cpp \
app.cpp \
org/open_power/OCC/PassThrough/error.cpp
@@ -18,7 +16,8 @@
openpower_occ_control_LDFLAGS = \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
- $(OPENPOWER_DBUS_INTERFACES_LIBS)
+ $(OPENPOWER_DBUS_INTERFACES_LIBS) \
+ -lstdc++fs
openpower_occ_control_CXXFLAGS =
$(SDBUSPLUS_CFLAGS) \