mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-28 14:18:27 +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
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# rename shape dir to avoid rootfs conflict with
|
if [ -d ${D}/${bindir}/shape ]; then
|
||||||
# mesa-demos /usr/bin/shape file.
|
# rename shape dir to avoid rootfs conflict with
|
||||||
mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape
|
# mesa-demos /usr/bin/shape file.
|
||||||
|
mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user