On Tue, Aug 21, 2018 at 03:13:56PM -0400, Jacob Stiffler wrote: > * Add the secondary toolchain to the devkit > if SECONDARY_TOOLCHAIN_ARCH is defined. > > Signed-off-by: Jacob Stiffler <[email protected]> > --- > .../packagegroups/packagegroup-arago-cross-canadian.bbappend | 8 > ++++++++ > 1 file changed, 8 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..f02dfd9 > --- /dev/null > +++ > b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-cross-canadian.bbappend > @@ -0,0 +1,8 @@ > +PR_append = ".arago0" > + > +SECONDARY_TOOLCHAIN = "gcc-cross-canadian-${SECONDARY_TARGET_ARCH} \ > + binutils-cross-canadian-${SECONDARY_TARGET_ARCH}"
Since this is a bbappend, it will come into play for internal toolchain as well, but in that case SECONDARY_TARGET_ARCH won't be set. You might want to do something like this: http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-distro/recipes-devtools/gcc/gcc_%25.bbappend;hb=HEAD > +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 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
