<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 23, 2013 at 12:39 AM, Rohit2 Jindal <span dir="ltr"><<a href="mailto:rohit2.jindal@aricent.com" target="_blank">rohit2.jindal@aricent.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p><span style>I want to install my existing Toolchain to Yocto Sysroot bypassing default yocto toolchain functionality.<u></u><u></u></span></p>


<p><span style><u></u> <u></u></span></p>
<p><span style>My requirements are<u></u><u></u></span></p>
<p><span style><u></u> <u></u></span></p>
<p><span style>1I will download toolchain from my git source ie tar file.<u></u><u></u></span></p>
<p><span style>2I just want to install this toolchain to tmp/sysroot folder in build directory skipping compilation step.<u></u><u></u></span></p>
<p><span style><u></u> <u></u></span></p>
<p><span style><u></u> <u></u></span></p>
<p><span style>Steps implemented<u></u><u></u></span></p>
<p><span style><u></u> <u></u></span></p>
<p><span style>1 SRC_URI = "<a>file:///home/toolchains_bin.tar</a>"<u></u><u></u></span></p>
<p><span style>2 TCMODE="external-csl" <u></u><u></u></span></p>
<p><span style>3 EXTERNAL_TOOLCHAIN = "/home/yocto/poky/build/tmp/work/mips64-poky-linux/external-sourcery-toolchain/GCC-r8/toolchains_bin/mipscross/linux"<u></u><u></u></span></p>
<p><span style>4CSL_TARGET_SYS_mips64 = "${TARGET_ARCH}${TARGET_TC_VENDOR}-${TCTYPE}"<u></u><u></u></span></p>
<p><span style>5CSL_TARGET_SYS = "${TARGET_ARCH}${TARGET_TC_VENDOR}-${TCTYPE}"<u></u><u></u></span></p>
<p><span style>6 TARGET_PREFIX = "${CSL_TARGET_SYS_mips64}-"</span></p></blockquote></div><br>The sourcery toolchain recipe pulls files from a codesourcery / mentor graphics Sourcery G++ toolchain installed at the EXTERNAL_TOOLCHAIN path. That SRC_URI will not do anything, and it expects the compiler to be available at parse time. Basically, the tcmode and recipe for sourcery is designed for a particular toolchain, not any random one, and is not structured at this time to allow extraction of a toolchain binary tarball. You'd have to customize / create your own based on the existing bits, using them as examples.<br>

-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics
</div></div>