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 <[email protected]>
> >>---
> >>  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
> >>[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

Reply via email to