mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
opencv: Only rename ${bindir}/shape if it exists
Its creation depends on PACKAGECONFIG = "samples", which may be removed in a bbappend. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
f8498f2699
commit
49c1d504d6
@@ -214,7 +214,9 @@ do_install:append() {
|
||||
fi
|
||||
done
|
||||
|
||||
# rename shape dir to avoid rootfs conflict with
|
||||
# mesa-demos /usr/bin/shape file.
|
||||
mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape
|
||||
if [ -d ${D}/${bindir}/shape ]; then
|
||||
# rename shape dir to avoid rootfs conflict with
|
||||
# mesa-demos /usr/bin/shape file.
|
||||
mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user