From 8a0cb22f859b145f0f0ce775e6ac07004b7847e4 Mon Sep 17 00:00:00 2001 From: Li xin Date: Fri, 3 Jul 2015 17:53:42 +0800 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb | 8 ++++++-- 1 file 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" PACKAGECONFIG[glu] = "--enable-glu,--disable-glu,virtual/libgl" do_install_append() { - # it can be completely empty when all PACKAGECONFIG options are disabled - rmdir --ignore-fail-on-non-empty ${D}${bindir} + # it can be completely empty when all PACKAGECONFIG options are disabled + rmdir --ignore-fail-on-non-empty ${D}${bindir} + + if [ -f ${D}${bindir}/clear ]; then + mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos + fi } -- cgit v1.2.3-54-g00ecf