summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-07-03 17:53:42 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-08 00:01:22 +0100
commit8a0cb22f859b145f0f0ce775e6ac07004b7847e4 (patch)
tree0363f60fa1e469b8c11f623b69f28b116c8723f9 /meta/recipes-graphics/mesa
parent4913e35bfe136fec2b291a35d36aad69f900ba92 (diff)
downloadpoky-8a0cb22f859b145f0f0ce775e6ac07004b7847e4.tar.gz
mesa-demos: rename clear
ncurses have already provided clear,so rename it to clear.mesa-demos. [ RB - check that clear exists before moving ] (From OE-Core rev: a9c174fd4bfabbae00d947738b06e72d7809eab3) Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
index e565442fc6..d58388aabb 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
@@ -48,6 +48,10 @@ PACKAGECONFIG[glew] = "--enable-glew,--disable-glew,glew"
48PACKAGECONFIG[glu] = "--enable-glu,--disable-glu,virtual/libgl" 48PACKAGECONFIG[glu] = "--enable-glu,--disable-glu,virtual/libgl"
49 49
50do_install_append() { 50do_install_append() {
51 # it can be completely empty when all PACKAGECONFIG options are disabled 51 # it can be completely empty when all PACKAGECONFIG options are disabled
52 rmdir --ignore-fail-on-non-empty ${D}${bindir} 52 rmdir --ignore-fail-on-non-empty ${D}${bindir}
53
54 if [ -f ${D}${bindir}/clear ]; then
55 mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
56 fi
53} 57}