From f94d31a7d64b539cc75bd1c21378dbb98587f6af Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 19 Feb 2017 15:43:35 +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 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'conf') diff --git a/conf/layer.conf b/conf/layer.conf index 3b1666b..eec2324 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-nxp-layer" BBFILE_PATTERN_toradex-nxp-layer = "^${LAYERDIR}/" @@ -16,3 +15,10 @@ 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-nxp-layer = " \ + core \ + freescale-layer \ + fsl-arm-extra \ + toradex-bsp-common-layer \ +" -- cgit v1.2.3