<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/buildman/toolchain.py, branch v2016.09</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/buildman/toolchain.py?h=v2016.09</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/buildman/toolchain.py?h=v2016.09'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-08-01T01:37:08Z</updated>
<entry>
<title>buildman: Avoid overwriting existing toolchain entries</title>
<updated>2016-08-01T01:37:08Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-07-28T02:33:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c8785c5b494466066e0a08f9740a6655941ec0c0'/>
<id>urn:sha1:c8785c5b494466066e0a08f9740a6655941ec0c0</id>
<content type='text'>
The current code for setting up the toolchain config always writes the new
paths to an item called 'toolchain'. This means that it will overwrite any
existing toolchain item with the same name. In practice, this means that:

   buildman --fetch-arch all

will fetch all toolchains, but only the path of the final one will be added
to the config. This normally works out OK, since most toolchains are the
same version (e.g. gcc 4.9) and will be found on the same path. But it is
not correct and toolchains for archs which don't use the same version will
not function as expected.

Adjust the code to use a complete glob of the toolchain path.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>buildman: Fix a typo in TestSettingsHasPath()</title>
<updated>2016-08-01T01:37:08Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-07-28T02:33:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2289b2763ce88fe5393108e2d270a05e90b52775'/>
<id>urn:sha1:2289b2763ce88fe5393108e2d270a05e90b52775</id>
<content type='text'>
The function comment should say 'buildman'. Fix it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>buildman: Improve the toolchain progress/error output</title>
<updated>2016-08-01T01:37:08Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-07-28T02:33:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=713bea38dde23794aa7ff6a276829b54a7ffbd99'/>
<id>urn:sha1:713bea38dde23794aa7ff6a276829b54a7ffbd99</id>
<content type='text'>
Use colour to make it easier to see what is going on. Also print a message
before downloading a new toolchain. Mention --fetch-arch in the message that
is shown when there are no available toolchains, since this is the quickest
way to resolve the problem.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>buildman: Allow the toolchain error to be suppressed</title>
<updated>2016-08-01T01:37:08Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-07-28T02:33:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=80e6a487505c44bffbf5bf97cfa5ce2176e0cd9b'/>
<id>urn:sha1:80e6a487505c44bffbf5bf97cfa5ce2176e0cd9b</id>
<content type='text'>
When there are no toolchains a warning is printed. But in some cases this is
confusing, such as when the user is fetching new toolchains.

Adjust the function to supress the warning in this case.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Add a way to specific a full toolchain prefix</title>
<updated>2016-03-18T03:27:39Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-03-13T01:50:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=17bce66cbfb3610a8e341fdb0766cd5586b0f4e9'/>
<id>urn:sha1:17bce66cbfb3610a8e341fdb0766cd5586b0f4e9</id>
<content type='text'>
At present buildman allows you to specify the directory containing the
toolchain, but not the actual toolchain prefix. If there are multiple
toolchains in a single directory, this can be inconvenient.

Add a new 'toolchain-prefix' setting to the settings file, which allows
the full prefix (or path to the C compiler) to be specified.

Update the documentation to match.

Suggested-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Reviewed-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>buildman: Allow the toolchain architecture to be specified</title>
<updated>2016-03-14T21:34:50Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-03-07T02:45:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=608e399fdef82e983db44c5cb8f5e772bba870e2'/>
<id>urn:sha1:608e399fdef82e983db44c5cb8f5e772bba870e2</id>
<content type='text'>
At present the architecture is deduced from the toolchain filename. Allow it
to be specified by the caller.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Joe Hershberger &lt;joe.hershberger@ni.com
</content>
</entry>
<entry>
<title>buildman: Allow the toolchain priority to be specified</title>
<updated>2016-03-14T21:34:50Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-03-07T02:45:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ff690df9fce2db07391a53f6cf4c5858b9ea6fad'/>
<id>urn:sha1:ff690df9fce2db07391a53f6cf4c5858b9ea6fad</id>
<content type='text'>
At present the priority of a toolchain is calculated from its filename based
on hard-coded rules. Allow it to be specified by the caller. We will use
this in a later patch. Also display the priority and provide a message when
it is overriden by another toolchain of higher priority.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>buildman: Fix up a few code inconsistencies in toolchain.py</title>
<updated>2016-03-14T21:34:50Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-03-07T02:45:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ad24ebace118f4145b1a3f782ddf9b9ce5f8dcf3'/>
<id>urn:sha1:ad24ebace118f4145b1a3f782ddf9b9ce5f8dcf3</id>
<content type='text'>
Normally we use a single quote for strings unless there is a reason not to
(such as an embedded single quote). Fix a few counter-examples in this file.
Also add a missing function-argument comment.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>buildman: Add gcc 4.9.0 with Microblaze toolchain</title>
<updated>2015-04-23T18:31:54Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2015-04-20T09:46:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1246231c488b5f980830384e83d39a839043082b'/>
<id>urn:sha1:1246231c488b5f980830384e83d39a839043082b</id>
<content type='text'>
Also read gcc 4.9.0 at kernel.org which also have Microblaze toolchain.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;

Fixed unit test failure by updating the test:
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Correct toolchain download feature</title>
<updated>2015-03-05T23:14:01Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-03-03T00:05:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2a76a64981faf1cee84b6b7bdfa1894ba2e2e954'/>
<id>urn:sha1:2a76a64981faf1cee84b6b7bdfa1894ba2e2e954</id>
<content type='text'>
Commit d908898 updated the ScanPath() function but not its documentation
and not all its callers.

This breaks the toolchain check after it is downloaded. Fix it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
</feed>
