diff options
Diffstat (limited to 'meta-openpower/common/recipes-phosphor/dbus')
3 files changed, 44 insertions, 0 deletions
diff --git a/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces-mapper-config-native.bb b/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces-mapper-config-native.bb new file mode 100644 index 000000000..1ef4adca2 --- /dev/null +++ b/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces-mapper-config-native.bb @@ -0,0 +1,11 @@ +SUMMARY="Add /org/open_power namespace to phosphor-mapper" +DESCRIPTION="Add the /org/open_power path namespace and \ +org.open_power interface prefix to the mapper \ +watch list." + +inherit phosphor-mapper +inherit native +inherit obmc-phosphor-license + +PHOSPHOR_MAPPER_NAMESPACE_append = " /org/open_power" +PHOSPHOR_MAPPER_INTERFACE_append = " org.open_power" diff --git a/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces.bb b/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces.bb new file mode 100644 index 000000000..18ce1adf1 --- /dev/null +++ b/meta-openpower/common/recipes-phosphor/dbus/openpower-dbus-interfaces.bb @@ -0,0 +1,32 @@ +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 +inherit phosphor-dbus-yaml + +DEPENDS += "autoconf-archive-native" +DEPENDS += "sdbus++-native" + +SRC_URI += "git://github.com/openbmc/openpower-dbus-interfaces" +SRCREV = "db61501f7a2ad964555b3fb482a2bb4cffcbbb9d" + +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-openpower/common/recipes-phosphor/dbus/phosphor-mapper-config-native%.bbappend b/meta-openpower/common/recipes-phosphor/dbus/phosphor-mapper-config-native%.bbappend new file mode 100644 index 000000000..04df9733b --- /dev/null +++ b/meta-openpower/common/recipes-phosphor/dbus/phosphor-mapper-config-native%.bbappend @@ -0,0 +1 @@ +PHOSPHOR_MAPPER_CONFIGS_append_df-openpower = " openpower-dbus-interfaces-mapper-config-native" |