From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 2/3] packagegroup-arago-cross-canadian: add SECONDARY_TOOLCHAIN
Date: Tue, 21 Aug 2018 17:40:44 -0400 [thread overview]
Message-ID: <20180821214044.GW29422@beryl> (raw)
In-Reply-To: <1534878837-20469-3-git-send-email-j-stiffler@ti.com>
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 <j-stiffler@ti.com>
> ---
> .../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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
next prev parent reply other threads:[~2018-08-21 21:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-21 19:13 [PATCH 0/3] Add secondary toolchain to devkit Jacob Stiffler
2018-08-21 19:13 ` [PATCH 1/3] external-linaro-secondary-sdk-toolchain: secondary toolchain for devkit Jacob Stiffler
2018-08-21 19:13 ` [PATCH 2/3] packagegroup-arago-cross-canadian: add SECONDARY_TOOLCHAIN Jacob Stiffler
2018-08-21 21:40 ` Denys Dmytriyenko [this message]
2018-08-21 21:44 ` Denys Dmytriyenko
2018-08-21 22:10 ` Jacob Stiffler
2018-08-21 19:13 ` [PATCH 3/3] toolchain-linaro: enable SECONDARY_TOOLCHAIN Jacob Stiffler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180821214044.GW29422@beryl \
--to=denys@ti.com \
--cc=j-stiffler@ti.com \
--cc=meta-arago@arago-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.