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 b0385f57cb
commit ccb5f4c2a3
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. # 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 require conf/ros-distro/ros-distro.conf