Ensure that build fails in a informative way if not all layer requirements are fulfilled.
To disable strict layer depend set 'LAYERDEPENDS_raspberrypi = ""' in local.conf. Also set a high layer prio to ensure that meta-raspberrypi addons are always prioritized above the depended layers. [Feature #46] Change-Id: I8df772a59975ae379c3a1e93e2770e83be752bfd Signed-off-by: Petter Mabäcker <[email protected]> --- README | 4 ++++ conf/layer.conf | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README b/README index bb2f4be..3dad1ea 100644 --- a/README +++ b/README @@ -143,6 +143,10 @@ See: http://wayland.freedesktop.org/raspberrypi.html 2.H. Images =========== +Note: 'rpi-hwup-image' and 'rpi-basic-image' can be build without + meta-multimedia. Set 'LAYERDEPENDS_raspberrypi = ""' in local.conf + to enable build without 'meta-multimedia'. + * rpi-hwup-image Hardware up image * rpi-basic-image diff --git a/conf/layer.conf b/conf/layer.conf index 7bffd4b..b5ab695 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -7,7 +7,8 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ BBFILE_COLLECTIONS += "raspberrypi" BBFILE_PATTERN_raspberrypi := "^${LAYERDIR}/" -BBFILE_PRIORITY_raspberrypi = "6" +BBFILE_PRIORITY_raspberrypi = "9" +LAYERDEPENDS_raspberrypi = "multimedia-layer" # Additional license directories. LICENSE_PATH += "${LAYERDIR}/files/custom-licenses" -- 1.9.1 -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
