<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/tools/buildman/builderthread.py, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-02-09T19:50:22Z</updated>
<entry>
<title>buildman: Write the environment out to an 'env' file</title>
<updated>2019-02-09T19:50:22Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-01-07T23:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=e5fc79ea718795a1dd97ca27e26913e4cc0150c4'/>
<id>urn:sha1:e5fc79ea718795a1dd97ca27e26913e4cc0150c4</id>
<content type='text'>
Sometimes it is useful to see the environment that was used to build
U-Boot. Write this out to a file in the build directory.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Add support for building with clang</title>
<updated>2019-01-15T00:47:13Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2019-01-07T23:44:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=00beb2485f71ab23114b37ef47d136e269ef69f7'/>
<id>urn:sha1:00beb2485f71ab23114b37ef47d136e269ef69f7</id>
<content type='text'>
Add a -O option which allows building with clang.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Deal nicely with invalid build-status file</title>
<updated>2019-01-15T00:47:13Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-12-10T16:05:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=e74429bb17533c454b804e523ff5724344711ad2'/>
<id>urn:sha1:e74429bb17533c454b804e523ff5724344711ad2</id>
<content type='text'>
The 'done' files created by buildman may end up being empty if buildman
runs out of disk space while writing them. This error is then persistent,
since even if disk space is reclaimed and the build retries, the empty
file causes an exception in the builder thread.

Deal with this silently by doing a rebuild.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>buildman: Extract environment as part of each build</title>
<updated>2018-06-07T19:25:07Z</updated>
<author>
<name>Alex Kiernan</name>
</author>
<published>2018-05-31T04:48:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=0ddc510ea37aa578b8cb197840a5125409978bec'/>
<id>urn:sha1:0ddc510ea37aa578b8cb197840a5125409978bec</id>
<content type='text'>
As we're building the boards, extract the default U-Boot environment to
uboot.env so we can interrogate it later.

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>tools: buildman: Don't use the working dir as build dir</title>
<updated>2018-05-16T06:25:19Z</updated>
<author>
<name>Lothar Waßmann</name>
</author>
<published>2018-04-08T11:14:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=409fc029c407291ac8c8d7fefa051a73912dc657'/>
<id>urn:sha1:409fc029c407291ac8c8d7fefa051a73912dc657</id>
<content type='text'>
When the U-Boot base directory happens to have the same name as the branch
that buildman is directed to use via the '-b' option and no output
directory is specified with '-o', buildman happily starts removing the
whole U-Boot sources eventually only stopped with the error message:

OSError: [Errno 20] Not a directory: '../&lt;branch-name&gt;/boards.cfg

Add a check to avoid this and also deal with the case where '-o' points
to the source directory, or any subdirectory of it.

Finally, tidy up the confusing logic for removing the old tree when using
-b. This is only done when building a branch.

Signed-off-by: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>buildman: add option -E for treating compiler warnings as errors</title>
<updated>2018-02-05T03:55:34Z</updated>
<author>
<name>Daniel Schwierzeck</name>
</author>
<published>2018-01-26T15:31:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=2371d1bcbf397dcbe38f7f51de6247cfef09d74e'/>
<id>urn:sha1:2371d1bcbf397dcbe38f7f51de6247cfef09d74e</id>
<content type='text'>
Add a new option '-E' for treating all compiler warnings as errors.
Eventually this will pass 'KCFLAGS=-Werror' to Kbuild.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>buildman: properly translate strings for log and err files to ASCII</title>
<updated>2017-06-09T19:45:34Z</updated>
<author>
<name>Daniel Schwierzeck</name>
</author>
<published>2017-06-08T01:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=aafbe82fb6ffc233f0db57b675c2577cf37c846b'/>
<id>urn:sha1:aafbe82fb6ffc233f0db57b675c2577cf37c846b</id>
<content type='text'>
The build output can still produce unicode encoded output. But in
the buildman's log and err files we only want plain ASCII characters.

To handle all situations with unicode and non-unicode output, encode
the stdout and stderr strings to UTF-8 and afterwards to ASCII with
replacing all special characters.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
</entry>
<entry>
<title>buildman: Translate more strings to latin-1</title>
<updated>2017-04-14T16:21:48Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2017-04-14T14:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=fbeb33752999e7317113199ef89873d6b6916814'/>
<id>urn:sha1:fbeb33752999e7317113199ef89873d6b6916814</id>
<content type='text'>
When writing out some of our results we may now have UTF-8 characters
in there as well.  Translate these to latin-1 and ignore any errors (as
this is for diagnostic and given the githash anything else can be
reconstructed by the user.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>buildman: Rename do_build to config_only</title>
<updated>2016-12-03T03:53:18Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-11-16T21:09:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=a9401b2bc93a750d1566174b18d23bcdc2a45b7b'/>
<id>urn:sha1:a9401b2bc93a750d1566174b18d23bcdc2a45b7b</id>
<content type='text'>
This variable name is needlessly confusion. Adjust it to use a 'positive'
name instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
