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

Signed-off-by: Jacob Stiffler <[email protected]>
---
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

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to