From 6fa88dd203ee05281b5af802c7da63a94be3fe94 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 19 Feb 2017 15:46:27 +0100 Subject: layer.conf: add layer dependencies While at it clean-up and unify with other Toradex layers. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- conf/layer.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 25867fa..7200143 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -1,9 +1,8 @@ -# We have a conf and classes directory, add to BBPATH +# We have a conf and classes directory, append to BBPATH BBPATH .= ":${LAYERDIR}" -# We have a recipes-* directories, add to BBFILES -BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ - ${LAYERDIR}/recipes-*/*/*.bbappend" +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "toradex-tegra-layer" BBFILE_PATTERN_toradex-tegra-layer = "^${LAYERDIR}/" @@ -16,3 +15,5 @@ BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ # Add layer-specific bb files too BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ for layer in BBFILE_COLLECTIONS.split())}" + +LAYERDEPENDS_toradex-tegra-layer = "core" -- cgit v1.2.3