diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-02-02 20:49:22 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-10 17:10:22 +0000 |
commit | c65ac80817aa4ac0355992e47d20365050795847 (patch) | |
tree | dd9735c1a89382fb59bcd4f8dfa6dec370ba6096 /meta-phosphor/common/recipes-phosphor/dbus | |
parent | d6c8aa35d5bb6dcb1d7bb05d8709a3c1a211f668 (diff) | |
download | talos-openbmc-c65ac80817aa4ac0355992e47d20365050795847.tar.gz talos-openbmc-c65ac80817aa4ac0355992e47d20365050795847.zip |
Add native/sdk classes to phosphor-dbus-interfaces
Enable native and nativesdk classes for phosphor-dbus-interfaces.
Install nativesdk-phosphor-dbus-interfaces by default in the
obmc-phosphor-image sdk.
Change-Id: Iaf134734ada106bb69254dfffa07c2af2641d9f8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/dbus')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/dbus/phosphor-dbus-interfaces.bb | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-dbus-interfaces.bb b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-dbus-interfaces.bb index 1c633eade..1b88a2f9d 100644 --- a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-dbus-interfaces.bb +++ b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-dbus-interfaces.bb @@ -9,9 +9,22 @@ inherit obmc-phosphor-license inherit pythonnative DEPENDS += "autoconf-archive-native" -DEPENDS += "sdbusplus sdbus++-native" +DEPENDS += "sdbus++-native" -RDEPENDS_${PN} += "libsystemd" +PACKAGE_BEFORE_PN = "${PN}-yaml" + +FILES_${PN}-yaml = "${datadir}/${PN}/yaml" SRC_URI += "git://github.com/openbmc/phosphor-dbus-interfaces" SRCREV = "06e5b23a3671f44c04c7f7cce83def5ff68c86b9" + +DEPENDS_remove_class-native = "sdbus++-native" +DEPENDS_remove_class-nativesdk = "sdbus++-native" + +PACKAGECONFIG ??= "libphosphor_dbus" +PACKAGECONFIG[libphosphor_dbus] = "--enable-libphosphor_dbus,--disable-libphosphor_dbus,sdbusplus,libsystemd" + +PACKAGECONFIG_remove_class-native = "libphosphor_dbus" +PACKAGECONFIG_remove_class-nativesdk = "libphosphor_dbus" + +BBCLASSEXTEND += "native nativesdk" |