All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-arm][PATCH] meta-arm: Use dynamic layer magic to build trusted-firmware-m
@ 2020-07-03 14:52 Khem Raj
  2020-07-05 20:15 ` Richard Purdie
  2020-07-06 21:23 ` Ross Burton
  0 siblings, 2 replies; 10+ messages in thread
From: Khem Raj @ 2020-07-03 14:52 UTC (permalink / raw)
  To: meta-arm; +Cc: Khem Raj

trusted-firmware-m needs arm binary toolchain to build from another
layer, this is the only recipe thus far and its better to hide it to
majority users who may not be using trusted-firmware-m and thusly
meta-arm-toolchain, folks who need to use trusted-firmware-m should
explicitly add it to layer mix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-arm/conf/layer.conf                                    | 6 +++++-
 .../trusted-firmware-m/trusted-firmware-m_1.0.bb            | 0
 2 files changed, 5 insertions(+), 1 deletion(-)
 rename meta-arm/{ => dynamic-layers/arm-toolchain}/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.0.bb (100%)

diff --git a/meta-arm/conf/layer.conf b/meta-arm/conf/layer.conf
index 10a7951..2d0c49f 100644
--- a/meta-arm/conf/layer.conf
+++ b/meta-arm/conf/layer.conf
@@ -11,6 +11,10 @@ BBFILE_PRIORITY_meta-arm = "6"
 
 LAYERDEPENDS_meta-arm = " \
     core \
-    arm-toolchain \
 "
 LAYERSERIES_COMPAT_meta-arm = "warrior zeus dunfell"
+
+BBFILES_DYNAMIC += " \
+    arm-toolchain:${LAYERDIR}/dynamic-layers/arm-toolchain/*/*/*.bb \
+    arm-toolchain:${LAYERDIR}/dynamic-layers/arm-toolchain/*/*/*.bbappend \
+"
diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.0.bb b/meta-arm/dynamic-layers/arm-toolchain/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.0.bb
similarity index 100%
rename from meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.0.bb
rename to meta-arm/dynamic-layers/arm-toolchain/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.0.bb
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-07-14 10:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03 14:52 [meta-arm][PATCH] meta-arm: Use dynamic layer magic to build trusted-firmware-m Khem Raj
2020-07-05 20:15 ` Richard Purdie
2020-07-05 21:29   ` Denys Dmytriyenko
2020-07-06 11:07   ` Ross Burton
2020-07-06 12:30     ` Ross Burton
2020-07-06 17:48       ` Khem Raj
2020-07-06 21:23 ` Ross Burton
2020-07-07 16:47   ` Khem Raj
2020-07-13 17:09   ` Khem Raj
2020-07-14 10:21     ` Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.