openpower-occ-control: initial recipe
Resolves openbmc/openbmc#1040.
Change-Id: I692812389b5bc078da510c8df23b37475188b9b0
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control.bb
new file mode 100644
index 0000000..f3d6373
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control.bb
@@ -0,0 +1,27 @@
+SUMMARY = "OpenPOWER OCC controller"
+DESCRIPTION = "Application to contol the OpenPOWER On-Chip-Controller"
+HOMEPAGE = "https://github.com/openbmc/openpower-occ-control"
+PR = "r1"
+
+inherit autotools pkgconfig
+
+require ${PN}.inc
+
+DBUS_SERVICE_${PN} += "org.open_power.OCC.PassThrough.service"
+
+DEPENDS += " \
+ sdbusplus \
+ sdbusplus-native \
+ phosphor-logging \
+ openpower-dbus-interfaces \
+ openpower-dbus-interfaces-native \
+ autoconf-archive-native \
+ "
+
+RDEPENDS_${PN} += " \
+ sdbusplus \
+ phosphor-logging \
+ openpower-dbus-interfaces \
+ "
+
+S = "${WORKDIR}/git"