From ccb5f4c2a3604df485450fb1db62aa5c2a267480 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