Skip to contentSkip to conversation

third party toolchain

DISCUSSION Robert Berger 2 participants 2 messages May 12, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to use a third party toolchain instead of the default ones. There seem to be some recipes to support something like this.

Here is what I tried without success (it still seems to pick up the default toolchain): http://pastebin.com/RsitZDJp

In addition to this I exported the path to the toolchain.

I know that is not very wise, but currently I'm trying to reuse some of the recipies and compile the packages for this specific toolchain (hopefully without too many things breaking)

Please advise.

Regards,

Robert

..."If you want more effective programmers, you will discover that they should not waste their time debugging - they should not introduce the bugs to start with." - Dijkstra

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1

#1 lore raw

Hi,

You could use POKYMODE feature to integrate an external toolchain;

For example for microblaze arch I set in my local.conf

POKYMODE = "external-xilinx"
XILINX_TOOLCHAIN = "Base path of toolchain"

Then poky configuration (poky.conf) pulls the recipe that informs the toolchain details poky-external-xilinx.inc [1]
and external-xilinx-toolchain_1.0.bb [2] to integrate that particular pre-built toolchain.

In your case you could take a look
at meta/conf/distro/include/poky-external-csl2008q3.inc which configures poky to use
external CSL 2008q3-72 toolchain probably just setting POKYMODE = "external-csl2008q3" and updating the toolchain path
will do to use this toolchain (haven't test it).

[1]
http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/conf/distro/include/poky-external-xilinx.inc
[2]
http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/recipes-core/meta/external-xilinx-toolchain_1.0.bb

Regards

Quoted 33 lines · Robert Berger

Hi,

I'm trying to use a third party toolchain instead of the default ones. There seem to be some recipes to support something like this.

Here is what I tried without success (it still seems to pick up the default toolchain): http://pastebin.com/RsitZDJp

In addition to this I exported the path to the toolchain.

I know that is not very wise, but currently I'm trying to reuse some of the recipies and compile the packages for this specific toolchain (hopefully without too many things breaking)

Please advise.

Regards,

Robert

..."If you want more effective programmers, you will discover that they should not waste their time debugging - they should not introduce the bugs to start with." - Dijkstra

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

Signature · 2 lines
Adrian Alonso
Secret Lab Technologies Ltd.