[oe] How to put generated shared lib into the final output image of OE
Ali Akbar Zarezadeh
akzare at cs.uni-potsdam.de
Fri Oct 2 20:26:23 UTC 2009
Hi,
To solve the problem, I have inserted some new lines to the
picsy-image.bb file as follows:
--------------------------------------------------------------------------------------------------------
picsy_rootfs_postprocess() {
oe_libinstall -so libACE ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libcv ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libcvaux ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libcxcore ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libhighgui ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libml ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libjpeg ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libtiff ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libpng12 ${IMAGE_ROOTFS}/usr/lib
oe_libinstall -so libstdc++ ${IMAGE_ROOTFS}/usr/lib
rm -f ${IMAGE_ROOTFS}/usr/lib/*.la
rm -f ${IMAGE_ROOTFS}/usr/lib/*.a
}
ROOTFS_POSTPROCESS_COMMAND += "picsy_rootfs_postprocess"
--------------------------------------------------------------------------------------------------------
Maybe this way is not nice, but now everything is cool and openCV is
functioning. Is there any other method to force OE to approach this
goal?
Regards
Ali
More information about the Openembedded-devel
mailing list