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

This commit is contained in:
Herb Kuta 2019-05-23 10:25:29 -07:00
parent dc97448e49
commit b0385f57cb
1 changed files with 3 additions and 1 deletions

View File

@ -17,9 +17,11 @@ LAYERDEPENDS_ros-layer = " \
core \
meta-python \
openembedded-layer \
qt5-layer \
"
# We only need meta-qt5 if Qt5 has been enabled.
LAYERDEPENDS_ros-layer += "${@bb.utils.contains('DISTRO_FEATURES', 'ros-qt', 'qt5-layer', '', d)}"
require conf/ros-distro/ros-distro.conf
# Only .bb files are generated