aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelal, Awais <Awais_Belal@mentor.com>2014-12-08 15:42:51 +0500
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-17 12:55:40 +0100
commit66a6c115e2cfe9b9cd7678321e28e7e29f45c42b (patch)
treefdfc9e90f8e74a4d542af4f97d357447cadb670c
parentf2ca84c367de9f99e12d356cde0ae319539442e6 (diff)
downloadmeta-openembedded-contrib-66a6c115e2cfe9b9cd7678321e28e7e29f45c42b.tar.gz
mplayer2: cleanup empty directories
The mplayer "make install" phase leaves an empty /usr/lib directory seemingly regardless of the setting of libdir. Remove it to avoid a packaging warning. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
index 446562c881..7c04ff178f 100644
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
@@ -141,4 +141,5 @@ do_install() {
install ${S}/etc/input.conf ${D}/usr/etc/mplayer/
install ${S}/etc/example.conf ${D}/usr/etc/mplayer/
install ${S}/etc/codecs.conf ${D}/usr/etc/mplayer/
+ [ -e ${D}/usr/lib ] && rmdir ${D}/usr/lib
}