From bb7a3c307b61f1f4d1a0e8c192cca8a7b62584aa Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Wed, 29 May 2019 17:51:49 -0700 Subject: [PATCH] DRAFT layer.conf: Depend on meta-intel-realsense if "ros-realsense" feature enabled --- conf/layer.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index cf539eb..e7826db 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -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