mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user