06 Nov, 2016

1 commit


09 Oct, 2016

10 commits


19 Sep, 2016

1 commit


01 Aug, 2016

9 commits


17 May, 2016

1 commit

  • One use-case for buildman is to continually run it interactively after
    each small step in a large refactoring operation. This gives more
    immediate feedback than making a number of commits and then going back and
    testing them. For this to work well, buildman needs to be extremely fast.
    At present, a couple issues prevent it being as fast as it could be:

    1) Each time buildman runs "make %_defconfig", it runs "make mrproper"
    first. This throws away all previous build results, requiring a
    from-scratch build. Optionally avoiding this would speed up the build, at
    the cost of potentially causing or missing some build issues.

    2) A build tree is created per thread rather than per board. When a thread
    switches between building different boards, this often causes many files
    to be rebuilt due to changing config options. Using a separate build tree
    for each board would avoid this. This does put more strain on the system's
    disk cache, but it is worth it on my system at least.

    This commit adds two command-line options to implement the changes
    described above; -I ("--incremental") turns of "make mrproper" and -P
    ("--per-board-out-dir") creats a build directory per board rather than per
    thread.

    Tested:

    ./tools/buildman/buildman.py tegra
    ./tools/buildman/buildman.py -I -P tegra
    ./tools/buildman/buildman.py -b tegra_dev tegra
    ./tools/buildman/buildman.py -b tegra_dev -I -P tegra

    ... each once after deleting the buildman result/work directory, and once
    "incrementally" after a previous identical invocation.

    Signed-off-by: Stephen Warren
    Reviewed-by: Tom Rini
    Acked-by: Simon Glass # v1
    Tested-by: Simon Glass # v1
    Acked-by: Simon Glass

    Stephen Warren
     

18 Mar, 2016

3 commits

  • This option outputs to the log file, not to the terminal. Clarify that in
    the help, and add a mention of it in the README.

    Signed-off-by: Simon Glass
    Reported-by: Stephen Warren
    Reviewed-by: Stephen Warren

    Simon Glass
     
  • 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
    Reviewed-by: Joe Hershberger
    Signed-off-by: Simon Glass
    Tested-by: Stephen Warren

    Simon Glass
     
  • At present if you try to use buildman with the branch 'test' it will
    complain that it is unsure whether you mean the branch or the directory.
    This is a feature of the 'git log' command that buildman uses. Fix it
    by resolving the ambiguity.

    Signed-off-by: Simon Glass
    Reviewed-by: Joe Hershberger

    Simon Glass
     

15 Mar, 2016

4 commits


25 Feb, 2016

1 commit

  • Since commit 87da2690ab81b5f29f83dc85c55f933e6ef414bc
    "openrisc: updating build tools naming convention", openrisc
    kernel.org toolchain is out of date and cannot build U-Boot.
    Update buildman and moveconfig tools to refer to the new one.

    Signed-off-by: Bin Meng

    Bin Meng
     

11 Dec, 2015

1 commit


09 Sep, 2015

1 commit

  • At present buildman can compare configurations between commits but the
    feature is less useful than it could be. There is no summary by architecture
    and changes are not reported on a per-board basis.

    Correct these deficiencies so that it is possible to see exactly what is
    changing for any number of boards.

    Note that 'buildman -b -C' is recommended for any build where you
    will be comparing configuration. Without -C the correct configuration will
    not be reported since changes will often not be picked up.

    Reviewed-by: Joe Hershberger
    Signed-off-by: Simon Glass

    Simon Glass
     

29 Aug, 2015

1 commit

  • Corresponds to ba71a0e (Fix _parse_block() 'parent' documentation re.
    ifs.) from upstream, just adding the SPDX tag.

    Has performance improvements, code cleanup, Python 3 support, and various
    small fixes, including the following:

    - Unset user values when loading a zero-byte .config. (5e54e2c)
    - Ignore indented .config assignments. (f8a7510)
    - Do not require $srctree to be set for non-kernel projects. (d56e9c1)
    - Report correct locations in the presence of continuation lines.
    (0cebc87)
    Signed-off-by: Ulf Magnusson

    Ulf Magnusson
     

29 Jul, 2015

1 commit


15 Jul, 2015

1 commit


13 Jun, 2015

1 commit

  • This commit imports some updates of kconfiglib.py from
    https://github.com/ulfalizer/Kconfiglib

    - Warn about and ignore the "allnoconfig_y" Kconfig option
    - Statements in choices inherit menu/if deps
    - Add Symbol.is_allnoconfig_y()
    - Hint that modules are still supported despite warnings.
    - Add warning related to get_defconfig_filename().
    - Fix typo in docs.
    - Allow digits in $-references to symbols.

    Signed-off-by: Ulf Magnusson
    Signed-off-by: Philip Craig
    Signed-off-by: Jakub Sitnicki
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

24 Apr, 2015

1 commit


19 Apr, 2015

3 commits

  • The help text for -V says we will pass V=1 but all it really did was not
    pass in -s. Change the logic to pass make V=1 with given to buildman -V or
    -s to make otherwise.

    Cc: Simon Glass
    Signed-off-by: Tom Rini
    Acked-by: Simon Glass

    Tom Rini
     
  • When told to keep outputs, be much more liberal in what files we keep.
    In addition to adding 'MLO', keep anything that matches u-boot-spl.* (so
    that we keep the map file as well) and anything we generate about
    'u-boot itself. A large number of bootable formats now match this and
    thus it's easier to build many targets and then boot them afterwards
    using buildman.

    Cc: Simon Glass
    Signed-off-by: Tom Rini
    Acked-by: Simon Glass

    Tom Rini
     
  • It is useful to be able to see CONFIG changes made by commits. Add this
    feature to buildman using the -K flag so that all CONFIG changes are
    reported.

    The CONFIG options exist in a number of files. Each is reported
    individually as well as a summary that covers all files. The output
    shows three parts: green for additions, red for removals and yellow for
    changes.

    Signed-off-by: Simon Glass

    Simon Glass