All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 2/3] packagegroup-arago-cross-canadian: add SECONDARY_TOOLCHAIN
@ 2018-08-21 22:03 Jacob Stiffler
  2018-08-21 22:16 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Jacob Stiffler @ 2018-08-21 22:03 UTC (permalink / raw)
  To: meta-arago

* Add the secondary toolchain to the devkit
  if SECONDARY_TOOLCHAIN_ARCH is defined.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
v2 changes:
* initialize SECONDARY_TOOLCHAIN_ARCH

 .../packagegroups/packagegroup-arago-cross-canadian.bbappend   | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend
new file mode 100644
index 0000000..b05e493
--- /dev/null
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend
@@ -0,0 +1,10 @@
+PR_append = ".arago0"
+
+SECONDARY_TARGET_ARCH ?= ""
+
+SECONDARY_TOOLCHAIN = "gcc-cross-canadian-${SECONDARY_TARGET_ARCH} \
+                       binutils-cross-canadian-${SECONDARY_TARGET_ARCH}"
+
+RDEPENDS_${PN}_append = " \
+    ${@base_conditional('SECONDARY_TARGET_ARCH', '', '', '${SECONDARY_TOOLCHAIN}', d)} \
+"
-- 
2.7.4



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

end of thread, other threads:[~2018-08-21 22:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21 22:03 [PATCH v2 2/3] packagegroup-arago-cross-canadian: add SECONDARY_TOOLCHAIN Jacob Stiffler
2018-08-21 22:16 ` Denys Dmytriyenko
2018-08-21 22:32   ` Jacob Stiffler

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.