Skip to content
Snippets Groups Projects
Commit 692c2235 authored by Tom Rini's avatar Tom Rini
Browse files

Merge branch 'misc' of git://git.denx.de/u-boot-x86

parents 2a8c9c86 983a2749
Branches
Tags
No related merge requests found
...@@ -272,7 +272,7 @@ board. This allows feature development which is not board- or architecture- ...@@ -272,7 +272,7 @@ board. This allows feature development which is not board- or architecture-
specific to be undertaken on a native platform. The sandbox is also used to specific to be undertaken on a native platform. The sandbox is also used to
run some of U-Boot's tests. run some of U-Boot's tests.
See board/sandbox/sandbox/README.sandbox for more details. See board/sandbox/README.sandbox for more details.
Configuration Options: Configuration Options:
......
...@@ -19,7 +19,7 @@ create unit tests which we can run to test this upper level code. ...@@ -19,7 +19,7 @@ create unit tests which we can run to test this upper level code.
CONFIG_SANDBOX is defined when building a native board. CONFIG_SANDBOX is defined when building a native board.
The chosen vendor and board names are also 'sandbox', so there is a single The chosen vendor and board names are also 'sandbox', so there is a single
board in board/sandbox/sandbox. board in board/sandbox.
CONFIG_SANDBOX_BIG_ENDIAN should be defined when running on big-endian CONFIG_SANDBOX_BIG_ENDIAN should be defined when running on big-endian
machines. machines.
...@@ -32,7 +32,7 @@ Basic Operation ...@@ -32,7 +32,7 @@ Basic Operation
To run sandbox U-Boot use something like: To run sandbox U-Boot use something like:
make sandbox_config all make sandbox_defconfig all
./u-boot ./u-boot
Note: Note:
...@@ -41,7 +41,7 @@ Note: ...@@ -41,7 +41,7 @@ Note:
build sandbox without SDL (i.e. no display/keyboard support) by removing build sandbox without SDL (i.e. no display/keyboard support) by removing
the CONFIG_SANDBOX_SDL line in include/configs/sandbox.h or using: the CONFIG_SANDBOX_SDL line in include/configs/sandbox.h or using:
make sandbox_config all NO_SDL=1 make sandbox_defconfig all NO_SDL=1
./u-boot ./u-boot
......
...@@ -244,13 +244,13 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None, ...@@ -244,13 +244,13 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None,
Print(GetActionSummary(options.summary, commits, board_selected, Print(GetActionSummary(options.summary, commits, board_selected,
options)) options))
# We can't show function sizes without board details at present
if options.show_bloat:
options.show_detail = True
builder.SetDisplayOptions(options.show_errors, options.show_sizes, builder.SetDisplayOptions(options.show_errors, options.show_sizes,
options.show_detail, options.show_bloat, options.show_detail, options.show_bloat,
options.list_error_boards) options.list_error_boards)
if options.summary: if options.summary:
# We can't show function sizes without board details at present
if options.show_bloat:
options.show_detail = True
builder.ShowSummary(commits, board_selected) builder.ShowSummary(commits, board_selected)
else: else:
fail, warned = builder.BuildBoards(commits, board_selected, fail, warned = builder.BuildBoards(commits, board_selected,
......
...@@ -27,8 +27,8 @@ Series-to: fred.blogs@napier.co.nz ...@@ -27,8 +27,8 @@ Series-to: fred.blogs@napier.co.nz
in one of your commits, the series will be sent there. in one of your commits, the series will be sent there.
In Linux this will also call get_maintainer.pl on each of your In Linux and U-Boot this will also call get_maintainer.pl on each of your
patches automatically. patches automatically (unless you use -m to disable this).
How to use this tool How to use this tool
......
...@@ -32,6 +32,9 @@ parser.add_option('-c', '--count', dest='count', type='int', ...@@ -32,6 +32,9 @@ parser.add_option('-c', '--count', dest='count', type='int',
parser.add_option('-i', '--ignore-errors', action='store_true', parser.add_option('-i', '--ignore-errors', action='store_true',
dest='ignore_errors', default=False, dest='ignore_errors', default=False,
help='Send patches email even if patch errors are found') help='Send patches email even if patch errors are found')
parser.add_option('-m', '--no-maintainers', action='store_false',
dest='add_maintainers', default=True,
help="Don't cc the file maintainers automatically")
parser.add_option('-n', '--dry-run', action='store_true', dest='dry_run', parser.add_option('-n', '--dry-run', action='store_true', dest='dry_run',
default=False, help="Do a dry run (create but don't email patches)") default=False, help="Do a dry run (create but don't email patches)")
parser.add_option('-p', '--project', default=project.DetectProject(), parser.add_option('-p', '--project', default=project.DetectProject(),
...@@ -142,7 +145,8 @@ else: ...@@ -142,7 +145,8 @@ else:
ok = True ok = True
cc_file = series.MakeCcFile(options.process_tags, cover_fname, cc_file = series.MakeCcFile(options.process_tags, cover_fname,
not options.ignore_bad_tags) not options.ignore_bad_tags,
options.add_maintainers)
# Email the patches out (giving the user time to check / cancel) # Email the patches out (giving the user time to check / cancel)
cmd = '' cmd = ''
......
...@@ -201,7 +201,8 @@ class Series(dict): ...@@ -201,7 +201,8 @@ class Series(dict):
str = 'Change log exists, but no version is set' str = 'Change log exists, but no version is set'
print col.Color(col.RED, str) print col.Color(col.RED, str)
def MakeCcFile(self, process_tags, cover_fname, raise_on_error): def MakeCcFile(self, process_tags, cover_fname, raise_on_error,
add_maintainers):
"""Make a cc file for us to use for per-commit Cc automation """Make a cc file for us to use for per-commit Cc automation
Also stores in self._generated_cc to make ShowActions() faster. Also stores in self._generated_cc to make ShowActions() faster.
...@@ -211,6 +212,7 @@ class Series(dict): ...@@ -211,6 +212,7 @@ class Series(dict):
cover_fname: If non-None the name of the cover letter. cover_fname: If non-None the name of the cover letter.
raise_on_error: True to raise an error when an alias fails to match, raise_on_error: True to raise an error when an alias fails to match,
False to just print a message. False to just print a message.
add_maintainers: Call the get_maintainers to CC maintainers
Return: Return:
Filename of temp file created Filename of temp file created
""" """
...@@ -225,6 +227,7 @@ class Series(dict): ...@@ -225,6 +227,7 @@ class Series(dict):
raise_on_error=raise_on_error) raise_on_error=raise_on_error)
list += gitutil.BuildEmailList(commit.cc_list, list += gitutil.BuildEmailList(commit.cc_list,
raise_on_error=raise_on_error) raise_on_error=raise_on_error)
if add_maintainers:
list += get_maintainer.GetMaintainer(commit.patch) list += get_maintainer.GetMaintainer(commit.patch)
all_ccs += list all_ccs += list
print >>fd, commit.patch, ', '.join(list) print >>fd, commit.patch, ', '.join(list)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment