From 730ecb841df9eace1febaf5ade7cff66ff18c583 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Wed, 16 Nov 2016 10:17:02 -0600 Subject: Update to use python autotools bbclass Inherit base python autotools requirements thru obmc-phosphor-python-autotools. Change-Id: Idf4bcc8669720e40e3ef147b56cf12576e3814ac Signed-off-by: Matthew Barth --- meta-phosphor/common/recipes-phosphor/dbus/phosphor-mapper.bb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'meta-phosphor/common/recipes-phosphor/dbus') 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}" -- cgit v1.2.1