From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [RFC 3/3] arago-prefs: enable SECONDARY_TOOLCHAIN
Date: Tue, 21 Aug 2018 14:28:09 -0400 [thread overview]
Message-ID: <20180821182808.GN29422@beryl> (raw)
In-Reply-To: <f745de70-b831-7c20-fa3c-7f91ad285958@ti.com>
On Tue, Aug 21, 2018 at 02:19:52PM -0400, Jacob Stiffler wrote:
>
>
> On 8/20/2018 4:25 PM, Denys Dmytriyenko wrote:
> >On Fri, Aug 17, 2018 at 10:25:53AM -0400, Jacob Stiffler wrote:
> >>* disable SECONDARY_TOOLCHAIN by default
> >>* For k3, configure the secondary toolchain as armv7a for the R5
> >> cores.
> >>
> >>Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> >>---
> >> meta-arago-distro/conf/distro/include/arago-prefs.inc | 3 +++
> >> 1 file changed, 3 insertions(+)
> >>
> >>diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >>index c839c9a..4e3e221 100644
> >>--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >>+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >>@@ -1,6 +1,9 @@
> >> # Set preferred Qt5 versions. Different namespace from Qt4, so no conflict
> >> include conf/distro/include/qt5-versions.inc
> >>+SECONDARY_TARGET_ARCH = ""
> >>+SECONDARY_TARGET_ARCH_k3 = "armv7a"
> >Just a tiny comment here - this should probably go to arago.conf
> >
> >I reserve arago-prefs.inc for all the PREFERRED_PROVIDER/VERSION settings.
>
> While making that change, I realized that this patch set focuses on the
> external linaro toolchain.
>
> Would this method work with the internal GCC toolchain? Do I need to disable
> this if not using the external linaro toolchain?
Yeah, internal toolchain would be a problem. That would require building it
twice, which doesn't work out of box. That's why I put all that knowledge
inside toolchain-linaro.inc:
http://arago-project.org/git/?p=meta-arago.git;a=commitdiff;h=2adff429c23bc46b828e3f5f5c3017b4cb5780ce
That's probably the best place for your setting to, as well as limiting it to
meta-arago-distro.
> >> # Use the latest version of ltp-ddt for kernel versions 3.8+
> >> PREFERRED_PROVIDER_ltp-ddt = "ltp-ddt"
> >>--
> >>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 18:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-17 14:25 [RFC 0/3] Add secondary toolchain to devkit Jacob Stiffler
2018-08-17 14:25 ` [RFC 1/3] external-linaro-secondary-sdk-toolchain: secondary toolchain for devkit Jacob Stiffler
2018-08-17 14:25 ` [RFC 2/3] packagegroup-arago-cross-canadian: add SECONDARY_TOOLCHAIN Jacob Stiffler
2018-08-17 14:25 ` [RFC 3/3] arago-prefs: enable SECONDARY_TOOLCHAIN Jacob Stiffler
2018-08-20 20:25 ` Denys Dmytriyenko
2018-08-21 18:19 ` Jacob Stiffler
2018-08-21 18:28 ` Denys Dmytriyenko [this message]
2018-08-21 18:43 ` Jacob Stiffler
2018-08-20 18:29 ` [RFC 0/3] Add secondary toolchain to devkit Denys Dmytriyenko
2018-08-20 18:59 ` 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=20180821182808.GN29422@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.