Well, I set it in our Arago distro based on the toolchain used, but since 
meta-ti is not a distro, I was thinking it should provide a safe default, but 
conditional. In other words, changing your patch to conditional assignment ?= 
should be good enough...

-- 
Denys


On Mon, Jun 23, 2014 at 03:30:10PM -0700, Ash Charles wrote:
> Good point.  Where is the right place to set the toolchain path?  Or
> perhaps the recipes shouldn't use it at all?
> 
> --Ash
> 
> On Mon, Jun 23, 2014 at 3:05 PM, Denys Dmytriyenko <[email protected]> wrote:
> > This one is not correct and will break with an external toolchain...
> >
> > On Fri, Jun 13, 2014 at 03:34:04PM -0700, Ash Charles wrote:
> >> Signed-off-by: Ash Charles <[email protected]>
> >> ---
> >>  recipes-ti/includes/ti-paths.inc | 1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> diff --git a/recipes-ti/includes/ti-paths.inc 
> >> b/recipes-ti/includes/ti-paths.inc
> >> index 511b5ae..5c9b716 100644
> >> --- a/recipes-ti/includes/ti-paths.inc
> >> +++ b/recipes-ti/includes/ti-paths.inc
> >> @@ -1,5 +1,6 @@
> >>  installdir = "${datadir}/ti"
> >>
> >> +export TOOLCHAIN_PATH = 
> >> "${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}"
> >>  # This is where do_install will put it
> >>  export AUDIO_SOC_INSTALL_DIR_RECIPE  = 
> >> "${installdir}/ti-audio-soc-example-tree"
> >>  export BIOS_INSTALL_DIR_RECIPE       = "${installdir}/ti-dspbios-tree"
> >> --
> >> 1.8.3.2
> >>
> >> --
> >> _______________________________________________
> >> meta-ti mailing list
> >> [email protected]
> >> https://lists.yoctoproject.org/listinfo/meta-ti
-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to