05 Feb, 2018
1 commit
-
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
29 Jan, 2018
1 commit
-
All of these host tools are apparently written for Python2,
not Python3.Use 'python2' in the shebang line according to PEP 394
(https://www.python.org/dev/peps/pep-0394/).Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
17 Jan, 2018
1 commit
-
In some cases when "more" is told to page a given file it will prepend
the output with:
::::::::::::::
/PATH/TO/THE/FILE
::::::::::::::And when this happens the output will not match the expected length.
Further, if we use a different pager we will instead fail the coverage
tests as we will not have 100% coverage. Update the help test to remove
the string in question.Reviewed-by: Simon Glass
Signed-off-by: Tom Rini
23 Nov, 2017
2 commits
-
The tests were broken by two separate commits which adjusted the output
when boards are listed. Fix this by adding back a PowerPC board and
putting the name of each board in the test.Fixes: b9f7d881 (powerpc, 5xx: remove some "5xx" remains)
Fixes: 8d7523c5 (buildman: Allow showing the list of boards with -n)Signed-off-by: Simon Glass
-
Accessing the network slows down the test and limits the environment in
which it can be run. Add an option to disable network tests.Signed-off-by: Simon Glass
30 Sep, 2017
1 commit
-
Corresponds to 375506d (File writing nit) from upstream
(https://github.com/ulfalizer/Kconfiglib).Adds proper 'imply' support and fixes a few minor issues, one of which
previously triggered the following weird warning:configs/taurus_defconfig: /tmp/tmpisI45S:6: warning: assignment to SPL_LDSCRIPT changes mode of containing choice from "arch/$(ARCH)/cpu/u-boot-spl.lds" to "y"
The change in 8639f69 (genconfig.py: Print defconfig next to warnings)
was reapplied.tools/moveconfig.py previously depended on a hack that merged 'select's
with 'imply's. It was modified to look at the union of
Symbol.get_selected_symbols() and Symbol.get_implied_symbols(), which
should give the same behavior.tools/genboardscfg.py was verified to produce identical board.cfg's
before and after the change.Signed-off-by: Ulf Magnusson
12 Sep, 2017
1 commit
-
At present we sometimes see warnings of the form:
/tmp/tmpMA89kB:36: warning: overriding the value of CMD_SPL.
Old value: "y", new value: "y".This is not very useful as it does not show whch defconfig file it relates
to. Update the tool to show this.Signed-off-by: Simon Glass
07 Jul, 2017
1 commit
-
AVR32 is gone. It's already more than two years for no support in Buildroot,
even longer there is no support in GCC (last version is heavily patched 4.2.4).Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully).
There is no good point to keep this support in U-Boot either.
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher
Signed-off-by: Andy Shevchenko
16 Jun, 2017
1 commit
-
we removed 5xx support. So delete some forgotten remains.
Signed-off-by: Heiko Schocher
10 Jun, 2017
2 commits
-
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
-
Build tools like Make, gcc or binutils support localized output
or unicode encoded output dependent on the default system locale.
This is not useful for buildman, where we want reproducible
warning or error messages or where the output of binutils is
further processed.Signed-off-by: Daniel Schwierzeck
09 Jun, 2017
1 commit
-
In the case where a new build only decreases sizes and does not increase
any size we still want to report what functions have been dropped when
doing a bloat comparison.Cc: Simon Glass
Signed-off-by: Tom Rini
Reviewed-by: Simon Glass
18 Apr, 2017
1 commit
-
Many toolchains for ARM use the 'gnueabihf' suffix rather than just
'gnueabi', so allow these to be used, but with a lower priority than
'gnueabi' ones.Cc: Simon Glass
Signed-off-by: Tom Rini
Reviewed-by: Simon Glass
15 Apr, 2017
1 commit
-
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
Signed-off-by: Tom Rini
14 Apr, 2017
1 commit
-
One of these has crept in in this commit:
40a808f1 ARCv2: SLC: Make sure busy bit is set properly on SLC flushing
Adjust buildman to handle it.
Signed-off-by: Simon Glass
10 Mar, 2017
1 commit
-
Currently upstream does not yet understand the imply keyword. For what
we use kconfiglib.py for today, this is OK. We only need to be able to
evaluate in order to make boards.cfg and none of those choices will
depend on how imply evaluates out.Signed-off-by: Tom Rini
08 Feb, 2017
1 commit
-
As well as showing the number of boards, allow showing the actual list of
boards that would be built, if -v is provided.Signed-off-by: Simon Glass
29 Jan, 2017
1 commit
-
To troubleshoot unexpected bhavior during building and what's more
important during execution it is strongly recommended to use recent
ARC toolchain, and so we're now referring to arc-2016.09 which is the
latest as of today.Signed-off-by: Alexey Brodkin
Reviewed-by: Simon Glass
03 Dec, 2016
5 commits
-
This variable name is needlessly confusion. Adjust it to use a 'positive'
name instead.Signed-off-by: Simon Glass
-
At present buildman leaves behind a few characters during its progress
updates, which looks odd. Fix it.Signed-off-by: Simon Glass
-
When using #define CONFIG_SOME_OPTION, the value it set to '1'. When using
defconfig (i.e. CONFIG_SOME_OPTION=y) the value is set to 'y'. This results
in differences showing up with -K. These differences are seldom useful.Adjust buildman to suppress these differences by default.
Signed-off-by: Simon Glass
-
The -K option is not mentioned in the README at present. Add some notes
to describe how this is used.Signed-off-by: Simon Glass
-
Normally buildman does a full build of a board. This includes creating the
u-boot.cfg file which contains all the configuration options. Buildman uses
this file with the -K option, to show differences in effective configuration
for each commit.Doing a full build of U-Boot just to create the u-boot.cfg file is wasteful.
Add a -D option which causes buildman to only create the configuration. This
is enough to support use of -K and can be done much more quickly (typically
5-10 times faster).Signed-off-by: Simon Glass
06 Nov, 2016
1 commit
-
The README for buildman says that we can use any field in boards.cfg to
decide what to build. However, we were not saving the options field
correctly.Cc: Simon Glass
Signed-off-by: Tom Rini
Acked-by: Simon Glass
09 Oct, 2016
10 commits
-
Now we can use compiler wrapper such as ccache or distcc for buildman.
Signed-off-by: York Sun
CC: Simon Glass
Acked-by: Simon Glass -
Signed-off-by: York Sun
CC: Simon Glass
Fixed commit subject:
Signed-off-by: Simon Glass
Acked-by: Simon Glass -
This is not used, so drop it.
Signed-off-by: Simon Glass
-
When Ctrl-C is pressed, just exited quietly. There is no sense in displaying
a stack trace since buildman will always be in the same place: waiting for
threads to complete building all the jobs on the queue.Signed-off-by: Simon Glass
-
This serves no real purpose, since when we are not active, we exit. Drop it.
Signed-off-by: Simon Glass
-
It is annoying that buildman does not respond cleanly to Ctrl-C or SIGINT,
particularly on machines with lots of CPUS. Unfortunately queue.join()
blocks the main thread and does not allow it to see the signal. Use a
separate thread instead,Signed-off-by: Simon Glass
-
If patman is installed on the machine (e.g. in the standard dist-packages
directory), it will find libraries from there in preference to our local
libraries. Adjust the order of the path to ensure that local libraries are
found first.Signed-off-by: Simon Glass
-
Make it clear when buildman actually starts building. This happens when it
has prepared the threads, working directory and output directories.Signed-off-by: Simon Glass
-
When buildman starts, it prepares its output directory by removing any old
build directories which will not be used this time. This can happen if a
previous build left directories around for commit hashes which are no-longer
part of the branch.This can take quite a while, so print a message to indicate what is going
on.Signed-off-by: Simon Glass
-
On a machine with a lot of CPUs this prints a lot of useless lines of the
form:Cloning repo for thread
Adjust the output so that these all appear on one line, and disappear when
the cloning is complete.Note: This cloning is actually unnecessary and very wasteful on disk space
(about 3.5GB each time). It would be better to create symlinks.Signed-off-by: Simon Glass
19 Sep, 2016
1 commit
-
It is more useful to have this method raise an error when something goes
wrong. Make this the default and adjust the few callers that don't want to
use it this way.Signed-off-by: Simon Glass
01 Aug, 2016
5 commits
-
For those who just want to build a board, it is useful to see a quick hint
right at the start of the documentation. Add a few commands showing how to
download toolchains and build a board.Signed-off-by: Simon Glass
-
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
Reviewed-by: Tom Rini -
It doesn't make sense to complain about missing toolchains when the
--fetch-arch option is being used. The user is presumably aware that there
is a toolchain problem and is actively correcting it by running with this
option.Refactor the code to avoid printing this confusing message.
Signed-off-by: Simon Glass
-
The function comment should say 'buildman'. Fix it.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
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
Reviewed-by: Tom Rini