[meta-arm,1/2] arm-bsp/layer.conf: add meta-python for musca

Submitted by Ross Burton on Oct. 20, 2020, 4:01 p.m. | Patch ID: 177363

Details

Message ID 20201020160136.473402-1-ross.burton@arm.com
State New
Headers show

Commit Message

Ross Burton Oct. 20, 2020, 4:01 p.m.
Change-Id: I46568f3144519bc25a65bce3d29d0ae659335f55
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm-bsp/conf/layer.conf | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/conf/layer.conf b/meta-arm-bsp/conf/layer.conf
index 816ff9d..eedb7e0 100644
--- a/meta-arm-bsp/conf/layer.conf
+++ b/meta-arm-bsp/conf/layer.conf
@@ -9,5 +9,9 @@  BBFILE_COLLECTIONS += "meta-arm-bsp"
 BBFILE_PATTERN_meta-arm-bsp = "^${LAYERDIR}/"
 BBFILE_PRIORITY_meta-arm-bsp = "6"
 
-LAYERDEPENDS_meta-arm-bsp = "core meta-arm meta-kernel"
 LAYERSERIES_COMPAT_meta-arm-bsp = "dunfell gatesgarth"
+
+LAYERDEPENDS_meta-arm-bsp = "core meta-arm meta-kernel"
+# This won't be used by layerindex-fetch, but works everywhere else
+LAYERDEPENDS_meta-arm-bsp_append_musca-b1 = " meta-python"
+LAYERDEPENDS_meta-arm-bsp_append_musca-s1 = " meta-python"

Comments

Denys Dmytriyenko Oct. 20, 2020, 5:07 p.m.
On Tue, Oct 20, 2020 at 05:01:35PM +0100, Ross Burton wrote:
> Change-Id: I46568f3144519bc25a65bce3d29d0ae659335f55
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  meta-arm-bsp/conf/layer.conf | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arm-bsp/conf/layer.conf b/meta-arm-bsp/conf/layer.conf
> index 816ff9d..eedb7e0 100644
> --- a/meta-arm-bsp/conf/layer.conf
> +++ b/meta-arm-bsp/conf/layer.conf
> @@ -9,5 +9,9 @@ BBFILE_COLLECTIONS += "meta-arm-bsp"
>  BBFILE_PATTERN_meta-arm-bsp = "^${LAYERDIR}/"
>  BBFILE_PRIORITY_meta-arm-bsp = "6"
>  
> -LAYERDEPENDS_meta-arm-bsp = "core meta-arm meta-kernel"
>  LAYERSERIES_COMPAT_meta-arm-bsp = "dunfell gatesgarth"
> +
> +LAYERDEPENDS_meta-arm-bsp = "core meta-arm meta-kernel"
> +# This won't be used by layerindex-fetch, but works everywhere else
> +LAYERDEPENDS_meta-arm-bsp_append_musca-b1 = " meta-python"
> +LAYERDEPENDS_meta-arm-bsp_append_musca-s1 = " meta-python"

LAYERDEPENDS changing based on the machine being built? Isn't it rather 
backwards?


> -- 
> 2.25.1
> 

> 
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1253): https://lists.yoctoproject.org/g/meta-arm/message/1253
Mute This Topic: https://lists.yoctoproject.org/mt/77685096/3617530
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-
Ross Burton Oct. 20, 2020, 8:49 p.m.
On Tue, 20 Oct 2020 at 18:07, Denys Dmytriyenko <denis@denix.org> wrote:
> LAYERDEPENDS changing based on the machine being built? Isn't it rather
> backwards?

Only a little. :). There's some meta-python dependencies that are only
relevant for the musca boards.  The alternative are:

1) Don't add this dependency and get missing recipe errors when
building musca without meta-python. Bad.
2) Always depend on meta-python, although it's only needed for musca.  Bad.

I consider this to be the least worst solution.  It doesn't fetch
meta-python if you use layerindex-fetch, but you'll get a good error
message in that case if you build for musca.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1255): https://lists.yoctoproject.org/g/meta-arm/message/1255
Mute This Topic: https://lists.yoctoproject.org/mt/77685096/3617530
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-