summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/dbus
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2016-11-16 10:17:02 -0600
committerPatrick Williams <patrick@stwcx.xyz>2016-11-17 22:47:01 +0000
commit730ecb841df9eace1febaf5ade7cff66ff18c583 (patch)
treee8b0989ca170c75077c18eaaf6bcb3df5437aa0f /meta-phosphor/common/recipes-phosphor/dbus
parent04b910c48901656f07980a32bef416884d4eccb7 (diff)
downloadtalos-openbmc-730ecb841df9eace1febaf5ade7cff66ff18c583.tar.gz
talos-openbmc-730ecb841df9eace1febaf5ade7cff66ff18c583.zip
Update to use python autotools bbclass
Inherit base python autotools requirements thru obmc-phosphor-python-autotools. Change-Id: Idf4bcc8669720e40e3ef147b56cf12576e3814ac Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/dbus')
-rw-r--r--meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb
index 8ffc41b1c..c952f6eaa 100644
--- a/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb
+++ b/meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb
@@ -5,8 +5,8 @@ PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
-inherit pythonnative
inherit autotools pkgconfig
+inherit obmc-phosphor-python-autotools
inherit obmc-phosphor-dbus-service
inherit obmc-phosphor-systemd
@@ -27,15 +27,9 @@ SRCREV = "7122244c83092499dc8d7836da0a63a08c734856"
S = "${WORKDIR}/git"
-export BUILD_SYS
-export HOST_SYS
-export STAGING_INCDIR
-export STAGING_LIBDIR
-
python populate_packages_prepend () {
mapperlibdir = d.getVar("libdir", True)
do_split_packages(d, mapperlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Phosphor mapper %s library', extra_depends='', allow_links=True)
}
PACKAGES_DYNAMIC += "^libmapper.*"
FILES_${PN}_remove = "${libdir}/lib*.so.* ${libdir}/*"
-FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
OpenPOWER on IntegriCloud