meta-ros/conf/layer.conf

16 lines
425 B
Plaintext
Raw Normal View History

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"
LICENSE_PATH += "${LAYERDIR}/licenses"
layer.conf: add rocko to LAYERSERIES_COMPAT_ros-layer * meta-ros is compatible with Yocto 2.4 Rocko without any special handling needed to integrate it, mark it as compatible * LAYERSERIES_COMPAT variables are used only since 2.4 Rocko, so with even older Yocto releases this isn't an issue, but with 2.4 it was failing with: bitbake -e zlib | tee env.zlib ERROR: Unable to start bitbake server which isn't really useful, bitbake-cookerdaemon.log shows better explanation: Traceback (most recent call last): File "build-rocko/bitbake/lib/bb/cookerdata.py", line 285, in parseBaseConfiguration self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles) File "build-rocko/bitbake/lib/bb/cookerdata.py", line 399, in parseConfigurationFiles % (c, " ".join(layerseries), " ".join(compat))) File "build-rocko/bitbake/lib/bb/__init__.py", line 104, in fatal raise BBHandledException() bb.BBHandledException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "build-rocko/bitbake/lib/bb/daemonize.py", line 77, in createDaemon function() File "build-rocko/bitbake/lib/bb/server/process.py", line 433, in _startServer self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset) File "build-rocko/bitbake/lib/bb/cooker.py", line 197, in __init__ self.initConfigurationData() File "build-rocko/bitbake/lib/bb/cooker.py", line 356, in initConfigurationData self.databuilder.parseBaseConfiguration() File "build-rocko/bitbake/lib/bb/cookerdata.py", line 318, in parseBaseConfiguration raise bb.BBHandledException bb.BBHandledException ERROR: Layer ros-layer is not compatible with the core layer which only supports these series: rocko (layer is compatible with sumo) * and it's a bit complicated to override LAYERSERIES_COMPAT_ros-layer from local build without meta-ros modification, changing it in some other (own) layer, which is parsed after meta-ros works, but you might not have suitable layer for this. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-08-10 23:28:29 +08:00
LAYERSERIES_COMPAT_ros-layer = "rocko sumo"
2015-05-21 02:22:23 +08:00
ROSDISTRO := "indigo"