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 ce8da0cc15
commit ac5e6aeeb5
1 changed files with 3 additions and 1 deletions

View File

@ -17,9 +17,11 @@ LAYERDEPENDS_ros-layer = " \
core \ core \
meta-python \ meta-python \
openembedded-layer \ 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 require conf/ros-distro/ros-distro.conf
# Only .bb files are generated # Only .bb files are generated