DRAFT layer.conf: Depend on meta-intel-realsense if "ros-realsense" feature enabled

This commit is contained in:
Herb Kuta 2019-05-29 17:51:49 -07:00
parent ac5e6aeeb5
commit bb7a3c307b
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,10 @@ LAYERDEPENDS_ros-layer = " \
"
# We only need meta-qt5 if Qt5 has been enabled.
LAYERDEPENDS_ros-layer += "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt', 'qt5-layer', '', d)}"
LAYERDEPENDS_ros-layer += "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt5', 'qt5-layer', '', d)}"
# We only need meta-intel-realsense if RealSense has been enabled.
LAYERDEPENDS_ros-layer += "${@bb.utils.contains('DISTRO_FEATURES', 'ros-realsense', 'intel-realsense', '', d)}"
require conf/ros-distro/ros-distro.conf