| 5dff844d | 16-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools/genboardscfg.py: pick up also commented maitainers
We are still keeping invalid email addressed in MAINTAINERS because they carry information.
The problem is that scripts/get_maintainer.pl ad
tools/genboardscfg.py: pick up also commented maitainers
We are still keeping invalid email addressed in MAINTAINERS because they carry information.
The problem is that scripts/get_maintainer.pl adds emails in the "M:" field including invalid ones.
We want to comment out invalid email addresses in MAINTAINERS to prevent scripts/get_maintainer.pl from picking them up. On the other hand, we want to collect them for boards.cfg to know the last known maintainer of each board.
This commit adjusts tools/genboardscfg.py to parse also the commented "M:" fields, which is useful for the next commit.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| bdc7dc45 | 27-Aug-2014 |
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
tools/env: change stripping strategy to allow no-stripping
When building the U-Boot tools for non-ELF platforms (such as Blackfin FLAT), since commit 79fc0c5f498c3982aa4740c273ab1a9255063d9c ("tools
tools/env: change stripping strategy to allow no-stripping
When building the U-Boot tools for non-ELF platforms (such as Blackfin FLAT), since commit 79fc0c5f498c3982aa4740c273ab1a9255063d9c ("tools/env: cross-compile fw_printenv without setting HOSTCC"), the build fails because it tries to strip a FLAT binary, which does not make sense.
This commit solves this by changing the stripping logic in tools/env/Makefile to be similar to the one in tools/Makefile. This logic continues to apply strip to the final binary, but does not abort the build if it fails, and does the stripping in place on the final binary. This allows the logic to work fine if stripping doesn't work, as it leaves the final binary untouched.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Sonic Zhang <sonic.zhang@analog.com> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Sonic Zhang <sonic.zhang@analog.com>
show more ...
|
| 983a2749 | 15-Sep-2014 |
Simon Glass <sjg@chromium.org> |
patman: Add a -m option to avoid copying the maintainers
The get_maintainers script is a useful default, but sometimes is copies too many people, or takes a long time to run.
Add an option to disab
patman: Add a -m option to avoid copying the maintainers
The get_maintainers script is a useful default, but sometimes is copies too many people, or takes a long time to run.
Add an option to disable it and update the README.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 7798e228 | 15-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Fix the logic for the bloat command
This check should now be done whatever mode buildman is running in, since we may be displaying information while building.
Signed-off-by: Simon Glass <
buildman: Fix the logic for the bloat command
This check should now be done whatever mode buildman is running in, since we may be displaying information while building.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 9170818a | 17-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kconfiglib: change SPDX-License-Identifier to ISC
Commit f219e01311b2 (tools: Import Kconfiglib) added SPDX GPL-2.0+ to this library by mistake. It should be ISC.
Signed-off-by: Masahiro Yamada <ya
kconfiglib: change SPDX-License-Identifier to ISC
Commit f219e01311b2 (tools: Import Kconfiglib) added SPDX GPL-2.0+ to this library by mistake. It should be ISC.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Ulf Magnusson <ulfalizer@gmail.com>
show more ...
|
| e38b15b0 | 17-Sep-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-arm |
| f6c8f38e | 01-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools/genboardscfg.py: improve performance more with Kconfiglib
The idea of using Kconfiglib was given by Tom Rini. It allows us to scan lots of defconfigs very quickly. This commit also uses multip
tools/genboardscfg.py: improve performance more with Kconfiglib
The idea of using Kconfiglib was given by Tom Rini. It allows us to scan lots of defconfigs very quickly. This commit also uses multiprocessing for further acceleration.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Suggested-by: Tom Rini <trini@ti.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| f219e013 | 01-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools: Import Kconfiglib
Kconfiglib is the flexible Python Kconfig parser and library created by Ulf Magnusson. (https://github.com/ulfalizer/Kconfiglib)
This commit imports kconfiglib.py from comm
tools: Import Kconfiglib
Kconfiglib is the flexible Python Kconfig parser and library created by Ulf Magnusson. (https://github.com/ulfalizer/Kconfiglib)
This commit imports kconfiglib.py from commit ce84c22e58fa59cb93679d4ead03c3cd1387965e, with ISC SPDX-License-Identifier.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Cc: Ulf Magnusson <ulfalizer@gmail.com> Cc: Wolfgang Denk <wd@denx.de>
show more ...
|
| d0ea61d9 | 04-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
buildman: fix typos of --dry-run help message
try run => dry run no nothing => do nothing "..." => '...'
The last one is for consistency with the other option helps.
Change-Id: I1d69047d1f
buildman: fix typos of --dry-run help message
try run => dry run no nothing => do nothing "..." => '...'
The last one is for consistency with the other option helps.
Change-Id: I1d69047d1fae6ef095a18f69f44ee13c448db9b7 Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| f3d015cb | 19-Aug-2014 |
Thierry Reding <treding@nvidia.com> |
buildman: Create parent directories as necessary
When creating build directories also create parents as necessary. This fixes a failure when building a hierarchical branch (i.e. foo/bar).
Signed-of
buildman: Create parent directories as necessary
When creating build directories also create parents as necessary. This fixes a failure when building a hierarchical branch (i.e. foo/bar).
Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Rini <trini@ti.com>
show more ...
|
| 1f727885 | 04-Sep-2014 |
Vadim Bendebury <vbendeb@chromium.org> |
patman: make run results better visible
For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still reports that the email would
patman: make run results better visible
For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still reports that the email would be sent. If it is not dry run, the warnings are shown on the screen, but it is not clear that the email was not sent.
Add some code to report failure to send email explicitly.
Tested by running the script on a patch with style violations, observed error messages in the script output.
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Doug Anderson <dianders@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 950a2313 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Ignore conflicting tags
Tags like Series-version are normally expected to appear once, and with a unique value. But buildman doesn't actually look at these tags. So ignore conflicts.
This
buildman: Ignore conflicting tags
Tags like Series-version are normally expected to appear once, and with a unique value. But buildman doesn't actually look at these tags. So ignore conflicts.
This allows bulidman to build a branch containing multiple patman series.
Reported-by: Steve Rae <srae@broadcom.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| f7582ce8 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Permit branch names with an embedded '/'
At present buildman naively uses the branch name as part of its directory path, which causes problems if the name has an embedded '/'.
Replace the
buildman: Permit branch names with an embedded '/'
At present buildman naively uses the branch name as part of its directory path, which causes problems if the name has an embedded '/'.
Replace these with '_' to fix the problem.
Reported-by: Steve Rae <srae@broadcom.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 930c8d4a | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Expand output test to cover directory prefixes
Now that buildman supports removing the build directory prefix from output, add a test for it. Also ensure that output directories are remove
buildman: Expand output test to cover directory prefixes
Now that buildman supports removing the build directory prefix from output, add a test for it. Also ensure that output directories are removed when the test completes.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| dfb7e932 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add additional functional tests
This adds coverage of core features of the builder, including the command-line options which affect building.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 891b7a07 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
patman: Start with a clean series when needed
For reasons that are not well-understood, GetMetaDataForList() can end up adding to an existing series even when it appears that it should be starting a
patman: Start with a clean series when needed
For reasons that are not well-understood, GetMetaDataForList() can end up adding to an existing series even when it appears that it should be starting a new one.
Change from using a default constructor parameter to an explicit one, to work around this problem.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 883a321a | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Provide an internal option to clean the outpur dir
For testing it is useful to clean the output directory before running a test. This avoids a test interfering with the results of a subseq
buildman: Provide an internal option to clean the outpur dir
For testing it is useful to clean the output directory before running a test. This avoids a test interfering with the results of a subsequent test by leaving data around.
Add this feature as an optional parameter to the control logic.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| fb3954f9 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Correct counting of build failures on retry
When a build is to be performed, buildman checks to see if it has already been done. In most cases it will not bother trying again. However, it
buildman: Correct counting of build failures on retry
When a build is to be performed, buildman checks to see if it has already been done. In most cases it will not bother trying again. However, it was not reading the return code from the 'done' file, so if the result was a failure, it would not be counted. This depresses the 'failure' count stats that buildman prints in this case.
Fix this bug by always reading the return code.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 823e60b6 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Allow tests to have their own boards
Rather than reading boards.cfg, which may take time to generate and is not necessarily suitable for running tests, create our own list of boards.
Sign
buildman: Allow tests to have their own boards
Rather than reading boards.cfg, which may take time to generate and is not necessarily suitable for running tests, create our own list of boards.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 8b985eeb | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Avoid looking at config file or toolchains in tests
These files may not exist in the environment, or may not be suitable for testing. Provide our own config file and our own toolchains whe
buildman: Avoid looking at config file or toolchains in tests
These files may not exist in the environment, or may not be suitable for testing. Provide our own config file and our own toolchains when running tests.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| fd03d63f | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Set up bsettings outside the control module
Move the bsettings code back to the main buildman.py file, so we can do something different when testing.
Signed-off-by: Simon Glass <sjg@chrom
buildman: Set up bsettings outside the control module
Move the bsettings code back to the main buildman.py file, so we can do something different when testing.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| d4144e45 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add a functional test
Buildman currently lacks testing in many areas, including its use of git, make and many command-line flags.
Add a functional test which covers some of these areas. S
buildman: Add a functional test
Buildman currently lacks testing in many areas, including its use of git, make and many command-line flags.
Add a functional test which covers some of these areas. So far it does a fake 'build' of all boards for the current source tree.
This version reads the real ~/.buildman and boards.cfg files. Future work will improve this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 82012dd2 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
patman: Provide a way to intercept commands for testing
Add a test point for the command module. This allows tests to emulate the execution of commands. This provides more control (since we can make
patman: Provide a way to intercept commands for testing
Add a test point for the command module. This allows tests to emulate the execution of commands. This provides more control (since we can make the fake 'commands' do whatever we like), makes it faster to write tests since we don't need to set up as much environment, and speeds up test execution.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 48ba5856 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Move full help code into the control module
There is no good reason to keep this code separate. Move it into control.py so it is easier to test.
Signed-off-by: Simon Glass <sjg@chromium.o
buildman: Move full help code into the control module
There is no good reason to keep this code separate. Move it into control.py so it is easier to test.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| d3d5c123 | 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Move the command line code into its own file
We want to be able to issue parser commands from within buildman for test purposes. Move the parser code into its own file so we don't end up n
buildman: Move the command line code into its own file
We want to be able to issue parser commands from within buildman for test purposes. Move the parser code into its own file so we don't end up needing the buildman and test modules to reference each other.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|