summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-03-17 03:51:13 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-03-30 20:05:21 +0000
commit14c47d2b8ee482275302ddd3b1d3d64b5a7944c2 (patch)
tree3f0533e94ac43e6a9ddd4ea6b3617cfecd315233 /meta-openbmc-machines
parent206f712ad83f443690fb02c80c894db142f58a79 (diff)
downloadtalos-openbmc-14c47d2b8ee482275302ddd3b1d3d64b5a7944c2.tar.gz
talos-openbmc-14c47d2b8ee482275302ddd3b1d3d64b5a7944c2.zip
openpower-dbus-interfaces: initial recipe
Resolves openbmc/openbmc#1167. Change-Id: I6fd0029b7e2a160d7d8c91d29870a1cd1a32b1a0 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines')
-rw-r--r--meta-openbmc-machines/meta-openpower/classes/openpower-dbus-interfaces.bbclass1
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces.bb35
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/packagegroups/nativesdk-packagegroup-sdk-host.bbappend3
3 files changed, 39 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/classes/openpower-dbus-interfaces.bbclass b/meta-openbmc-machines/meta-openpower/classes/openpower-dbus-interfaces.bbclass
new file mode 100644
index 000000000..f79cf078f
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/classes/openpower-dbus-interfaces.bbclass
@@ -0,0 +1 @@
+op_yaml_dir="${datadir}/openpower-dbus-interfaces/yaml"
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces.bb
new file mode 100644
index 000000000..5d1c9fd3a
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces.bb
@@ -0,0 +1,35 @@
+SUMMARY = "Open POWER DBus Interfaces"
+DESCRIPTION = "Generated bindings, using sdbus++, for the openpower YAML"
+PR = "r1"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+inherit obmc-phosphor-license
+inherit pythonnative
+
+DEPENDS += "autoconf-archive-native"
+DEPENDS += "sdbus++-native"
+
+PACKAGE_BEFORE_PN = "${PN}-yaml"
+
+FILES_${PN}-yaml = "${datadir}/${PN}/yaml"
+
+SRC_URI += "git://github.com/openbmc/openpower-dbus-interfaces"
+SRCREV = "0862409f256cf29020d8f5fbb865fd711618b51f"
+
+DEPENDS_remove_class-native = "sdbus++-native"
+DEPENDS_remove_class-nativesdk = "sdbus++-native"
+
+PACKAGECONFIG ??= "libopenpower_dbus"
+PACKAGECONFIG[libopenpower_dbus] = " \
+ --enable-libopenpower_dbus, \
+ --disable-libopenpower_dbus, \
+ systemd sdbusplus, \
+ libsystemd sdbusplus \
+ "
+
+PACKAGECONFIG_remove_class-native = "libopenpower_dbus"
+PACKAGECONFIG_remove_class-nativesdk = "libopenpower_dbus"
+
+BBCLASSEXTEND += "native nativesdk"
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
new file mode 100644
index 000000000..e2017669e
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
@@ -0,0 +1,3 @@
+RDEPENDS_${PN}_append = " \
+ nativesdk-openpower-dbus-interfaces \
+ "
OpenPOWER on IntegriCloud