<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/toolchain-scripts.bbclass, branch 2.1_M1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=2.1_M1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=2.1_M1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2015-12-08T10:20:47+00:00</updated>
<entry>
<title>toolchain-scripts.bbclass: unset command_not_found_handle</title>
<updated>2015-12-08T10:20:47+00:00</updated>
<author>
<name>Fang Jia</name>
<email>fang.jia@windriver.com</email>
</author>
<published>2015-11-30T08:50:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9d788d73307d3bb1733dca3f399bf3dabedd3d2b'/>
<id>urn:sha1:9d788d73307d3bb1733dca3f399bf3dabedd3d2b</id>
<content type='text'>
On Ubuntu-system, When sourcing the env.sh from an exported sdk, and
running a bogus linux command (for example "asd"), a core dump of
python is usually generated.

Unset the command_not_found_handle to fix it.

(From OE-Core rev: 473ccbebb426df757adb8955eaa5e191d88180d1)

Signed-off-by: Fang Jia &lt;fang.jia@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-scripts: Extend to cover nativesdk compiler tools (e.g. nativesdk-gcc)</title>
<updated>2015-07-31T09:32:37+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2015-07-28T13:23:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d8975070082a77d2d4c941abded2f6e1aba5d0b7'/>
<id>urn:sha1:d8975070082a77d2d4c941abded2f6e1aba5d0b7</id>
<content type='text'>
This is needed when we add nativesdk-gcc/binutil to an SDK. Being
present doesn't hurt in other cases.

(From OE-Core rev: b31a75a11f663d13c8089b8abd3a8fd080aa7e9a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-scripts: For non-glibc, pass compiler options to ensure the correct libc selection</title>
<updated>2015-07-27T22:29:16+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2015-07-25T13:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=72777f4f2f66f4bb644b7513cc12bc1d284b51d1'/>
<id>urn:sha1:72777f4f2f66f4bb644b7513cc12bc1d284b51d1</id>
<content type='text'>
gcc-cross-canadian-&lt;arch&gt; is only built once. It needs to target all the
different libcs, not just the currently selected one. This change ensures
that if another libc is used, the compiler correctly selects the right one.

[YOCTO #8025]

(From OE-Core rev: da2e92e256054b137a1646fdad1fe1a47ba3215a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-scripts: fix for multilib</title>
<updated>2015-06-26T08:28:53+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-06-26T03:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ad2bd4c1eca6542680bb6d080f24f199a2dd95fb'/>
<id>urn:sha1:ad2bd4c1eca6542680bb6d080f24f199a2dd95fb</id>
<content type='text'>
Use MLPREFIX to fix:
| cat: /path/to/sysroots/lib32-qemux86-64/sysroot-providers/virtual_libc: No such file or directory

[YOCTO #7924]

(From OE-Core rev: db9d76a5560d3001abe76518f47da1dfba8c0c7f)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-scrpts: Fix sitecache issues with multilib</title>
<updated>2015-06-23T15:07:23+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2015-06-19T10:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6cfed59323ce51909bbf2c8efbceb50e67835eb7'/>
<id>urn:sha1:6cfed59323ce51909bbf2c8efbceb50e67835eb7</id>
<content type='text'>
The use of TCLIBC in TOOLCHAIN_NEED_CONFIGSITE_CACHE is problematic
since a multilib may have both uclibc and glibc for different multilibs
yet switching between them doesn't change TCLIBC. This would result
in "lib32-glibc" being attempted when lib32 was actually uclibc.

The fix here is to use the virtual providers which bitbake switches
to point correctly at the right things.

This does mean we need to resolve virtual providers but we can do this using
sysroot-providers.

[YCOTO #7607]

(From OE-Core rev: 6d1dc943a9c8d97cd59d8cd98069d9bdb2615ff5)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-scripts.bbclass: fix quoting for CCACHE_PATH</title>
<updated>2015-05-24T06:19:19+00:00</updated>
<author>
<name>Andre McCurdy</name>
<email>armccurdy@gmail.com</email>
</author>
<published>2015-05-21T04:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=98a3f87518cd4bbcd6b73cab5bc1c02ddf478fc1'/>
<id>urn:sha1:98a3f87518cd4bbcd6b73cab5bc1c02ddf478fc1</id>
<content type='text'>
Single quotes prevent expansion of $sdkpathnative$bindir.

(From OE-Core rev: 986e5f37f3450077c843777c22df6b2d0f9502c5)

Signed-off-by: Andre McCurdy &lt;armccurdy@gmail.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden</title>
<updated>2015-04-15T13:30:18+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2015-04-15T13:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=59c09e3755f3ceabc7fc31af9346da3524e365e2'/>
<id>urn:sha1:59c09e3755f3ceabc7fc31af9346da3524e365e2</id>
<content type='text'>
In multilib and baremetal configurations, this variable can cause a variety of
problems due to the use of TCLIBC. At least allowing it to be overriden
is a start and allows various configurations to avoid the issue.

(From OE-Core rev: cfc43743b0e41cf168cad9cbd4e9d870b8f01f03)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-scripts: Add parameters to toolchain_create_sdk_env_script.</title>
<updated>2015-02-24T17:41:43+00:00</updated>
<author>
<name>Randy Witt</name>
<email>randy.e.witt@linux.intel.com</email>
</author>
<published>2015-02-23T17:00:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fe678e75ea7048bdbcc60022aaf2bc4b332c7538'/>
<id>urn:sha1:fe678e75ea7048bdbcc60022aaf2bc4b332c7538</id>
<content type='text'>
To add some flexibility to setting up the paths for the toolchain,
add some parameters. This initial use will be in order to point at
the buildsystem toolchain copied in by copy_buildsystem.py.

(From OE-Core rev: 62930ea37cfd5ba787ee85bc8dab23c20a775253)

Signed-off-by: Randy Witt &lt;randy.e.witt@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-script: Add support for ccache builds with the SDK</title>
<updated>2014-12-03T12:24:00+00:00</updated>
<author>
<name>Laszlo Papp</name>
<email>lpapp@kde.org</email>
</author>
<published>2014-11-27T17:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1ecad61a9d3ee0dc3a759fba3e95f6958e24512e'/>
<id>urn:sha1:1ecad61a9d3ee0dc3a759fba3e95f6958e24512e</id>
<content type='text'>
It is necessary to have an SDK for developers who build their software with
ccache to speed up the compilation. Without resolving this, unfortunately the
compilation will fail for them.

(From OE-Core rev: 1d31ddb856a80ba9da1a64ed5d701dc0f7351ef7)

Signed-off-by: Laszlo Papp &lt;lpapp@kde.org&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>toolchain-scripts.bbclass: Export KCFLAGS to ensure sysroot is provided</title>
<updated>2014-11-20T14:08:10+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2014-11-12T10:33:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7bc2e2a3120356538bcd5c6f0e5579726d7c657d'/>
<id>urn:sha1:7bc2e2a3120356538bcd5c6f0e5579726d7c657d</id>
<content type='text'>
When building the U-Boot the lack of a proper sysroot can trigger
following error:

,----
| arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc
| make[2]: *** [examples/standalone/hello_world] Error 1
| make[1]: *** [examples/standalone] Error 2
| make: *** [examples] Error 2
`----

Guillaume Fournier has posted a very complete analysis of the
problem[1].

1. https://lists.yoctoproject.org/pipermail/meta-freescale/2014-November/011270.html

The use of KCFLAGS makes the build of U-Boot work out of box, now that
it uses the Linux kernel build system.

Reported-by: Guillaume Fournier &lt;gfournier@brioconcept.com&gt;
(From OE-Core rev: 50437f9c187f1a884825a8d1ec12da47a5e58670)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
