Yocto Layer for librealsense
This layer adds the packages necessary for adding support for Intel® RealSense™ cameras via librealsense to your Yocto distribution.
This layer depends on packages provided by the following layers:
- Checkout the branch which corresponds with your version of Yocto
- Add the
BBLAYERS += "path/to/meta-intel-realsense"
- Add dependency layers to
BBLAYERS += "path/to/meta-openembedded/meta-oe"
- Create a new
conf/auto.conffile in your
builddirectory with the following contents
- Include librealsense in your image by adding the following to
CORE_IMAGE_EXTRA_INSTALL += "librealsense2 librealsense2-tools" # Optional CORE_IMAGE_EXTRA_INSTALL += "librealsense2-debug-tools"
To include sample apps in your image add the following to
CORE_IMAGE_EXTRA_INSTALL += "librealsense2-examples"
If you are building an image with a graphical desktop you can also add the following
CORE_IMAGE_EXTRA_INSTALL += "librealsense2-graphical-examples"
To include Python support in your image include the following in your
# Python 2.x CORE_IMAGE_EXTRA_INSTALL += "python-pyrealsense2" # Python 3.x CORE_IMAGE_EXTRA_INSTALL += "python3-pyrealsense2"
This project is Copyright (C) 2015 Intel Corporation. Please see the LICENSE file for more information.