2012-12-20 21:13:25 +08:00
|
|
|
# We have a conf and classes directory, append to BBPATH
|
|
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
|
|
|
|
# We have a recipes directory, add to BBFILES
|
|
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
|
|
|
|
BBFILE_COLLECTIONS += "ros-layer"
|
|
|
|
BBFILE_PATTERN_ros-layer := "^${LAYERDIR}/"
|
2013-08-04 18:44:40 +08:00
|
|
|
BBFILE_PRIORITY_ros-layer = "7"
|
2013-09-07 23:41:19 +08:00
|
|
|
|
|
|
|
LICENSE_PATH += "${LAYERDIR}/licenses"
|
2014-08-03 11:14:50 +08:00
|
|
|
|
2019-03-15 09:28:06 +08:00
|
|
|
# Version 1 was the manually created meta-ros, prior to the introduction of superflore.
|
|
|
|
LAYERVERSION_ros-layer = "2"
|
2018-04-06 20:22:55 +08:00
|
|
|
|
2019-04-18 05:35:14 +08:00
|
|
|
LAYERDEPENDS_ros-layer = " \
|
|
|
|
core \
|
|
|
|
meta-python \
|
|
|
|
openembedded-layer \
|
|
|
|
"
|
|
|
|
|
2019-05-24 01:25:29 +08:00
|
|
|
# We only need meta-qt5 if Qt5 has been enabled.
|
2019-05-30 08:51:49 +08:00
|
|
|
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)}"
|
2019-05-24 01:25:29 +08:00
|
|
|
|
2019-03-15 09:28:06 +08:00
|
|
|
require conf/ros-distro/ros-distro.conf
|
|
|
|
|
|
|
|
# Only .bb files are generated
|
|
|
|
BBFILES += "${LAYERDIR}/generated-recipes-${ROS_DISTRO}/*/*.bb"
|