sysprof: clean up FILES

Message ID 1469560792-20437-1-git-send-email-ross.burton@intel.com
State Accepted
Commit d6d15924a7b3fe668d4c7e88fd4c90b0d580f2ed
Headers show

Commit Message

Ross Burton July 26, 2016, 7:19 p.m.
This recipe ships unversioned libraries so fiddle the intermediate variables
instead of rewriting FILES directly.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-kernel/sysprof/sysprof_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb
index 6324d20..8d8b626 100644
--- a/meta/recipes-kernel/sysprof/sysprof_git.bb
+++ b/meta/recipes-kernel/sysprof/sysprof_git.bb
@@ -30,8 +30,9 @@  PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATU
 PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"
 PACKAGECONFIG[polkit] = "--enable-polkit,--disable-polkit,polkit dbus"
 
-FILES_${PN} += "${datadir}/icons/ ${libdir}/libsysprof* ${datadir}/dbus-1/"
-FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig"
+SOLIBS = ".so"
+FILES_SOLIBSDEV = ""
+FILES_${PN} += "${datadir}/icons/"
 
 SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'sysprof2.service', '', d)}"