mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 06:32:12 +02:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user