[meta-ti] [PATCH 2/6] Set ${TOOLCHAIN_PATH} used by some recipes

Denys Dmytriyenko denys at ti.com
Mon Jun 23 15:33:33 PDT 2014


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 <denys at ti.com> 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 <ashcharles at gmail.com>
> >> ---
> >>  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
> >> meta-ti at yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list