diff options
author | Belal, Awais <Awais_Belal@mentor.com> | 2014-12-08 15:42:51 +0500 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-17 12:55:40 +0100 |
commit | 66a6c115e2cfe9b9cd7678321e28e7e29f45c42b (patch) | |
tree | fdfc9e90f8e74a4d542af4f97d357447cadb670c /meta-oe/recipes-multimedia/mplayer | |
parent | f2ca84c367de9f99e12d356cde0ae319539442e6 (diff) | |
download | meta-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>
Diffstat (limited to 'meta-oe/recipes-multimedia/mplayer')
-rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb | 1 |
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 446562c8819..7c04ff178f3 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 } |