1. 27 4月, 2020 4 次提交
    • S
      patman: Tidy up sys.path changes · b4fa9495
      Simon Glass 提交于
      Now that we are using absolute paths we can remove some of the sys.path
      mangling that appears in the tools.
      
      We only need to add the path to 'tools/' so that everything can find
      modules relative to that directory.
      
      The special paths for finding pylibfdt remain.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      b4fa9495
    • S
      patman: Move to absolute imports · bf776679
      Simon Glass 提交于
      At present patman sets the python path on startup so that it can access
      the libraries it needs. If we convert to use absolute imports this is not
      necessary.
      
      Move patman to use absolute imports. This requires changes in tools which
      use the patman libraries (which is most of them).
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      bf776679
    • S
      buildman: Move to absolute imports · 0ede00fd
      Simon Glass 提交于
      At present buildman sets the python path on startup so that it can access
      the libraries it needs. If we convert to use absolute imports this is not
      necessary.
      
      Move buildman to use absolute imports. Also adjust moveconfig.py too since
      it uses some buildman modules and cannot work without this.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      0ede00fd
    • S
      buildman: Fix test for new 9.2 kernel · 55a98d96
      Simon Glass 提交于
      The naming is slightly different on kernel.org now. Update the regex so
      that the test still passes.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      55a98d96
  2. 21 4月, 2020 12 次提交
  3. 11 4月, 2020 1 次提交
    • S
      buildman: Be more selective about which directories to remove · 925f6adf
      Simon Glass 提交于
      At present buildman removes any directory it doesn't intend to write
      output into. This is overly expansive since if the output directory
      happens to be somewhere with existing files, they may be removed. Using
      an existing directory for buildman is not a good practice, but since the
      result might be catastrophic, it is best to guard against it.
      
      A previous commit[1] fixed this by refusing to write to a subdirectory
      of the current directory, assumed to have U-Boot source code. But we can
      do better by only removing directories that look like the ones buildman
      creates.
      
      Update the code to do this and add a test.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      
      [1] 409fc029 tools: buildman: Don't use the working dir as build dir
      925f6adf
  4. 11 12月, 2019 1 次提交
  5. 05 11月, 2019 1 次提交
  6. 30 10月, 2019 1 次提交
  7. 21 11月, 2018 2 次提交
    • S
      buildman: Show boards with warning with w+ · 6af7101b
      Simon Glass 提交于
      At present we should boards with warnings in the same way as those with
      errors. This is not ideal. Add a new 'warn' state and show these listed
      in yellow to match the actual warning lines printing with -e.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      6af7101b
    • S
      buildman: Detect dtc warnings · 2d48333e
      Simon Glass 提交于
      At present messages from the device-tree compiler like this:
      
        arch/arm/dts/socfpga_arria10_socdk_sdmmc.dtb: Warning
           (avoid_unnecessary_addr_size): /clocks: unnecessary
           #address-cells/#size-cells without "ranges" or child "reg" property
      
      are detected as errors since they don't match the gcc warning regex. Add a
      new one for dtc to fix this.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      2d48333e
  8. 15 11月, 2018 1 次提交
  9. 08 10月, 2018 2 次提交
  10. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      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: NTom Rini <trini@konsulko.com>
      83d290c5
  11. 23 11月, 2017 2 次提交
  12. 16 6月, 2017 1 次提交
  13. 09 10月, 2016 1 次提交
  14. 24 4月, 2015 1 次提交
  15. 06 3月, 2015 1 次提交
  16. 15 1月, 2015 5 次提交
  17. 10 9月, 2014 2 次提交
  18. 13 8月, 2014 1 次提交
    • S
      buildman: Introduce an 'and' operator for board selection · 6131beab
      Simon Glass 提交于
      Currently buildman allows a list of boards to build to be specified on the
      command line. The list can include specific board names, architecture, SOC
      and so on.
      
      At present the list of boards is dealt with in an 'OR' fashion, and there
      is no way to specify something like 'arm & freescale', meaning boards with
      ARM architecture but only those made by Freescale. This would exclude the
      PowerPC boards made by Freescale.
      
      Support an '&' operator on the command line to permit this. Ensure that
      arguments can be specified in a single string to permit easy shell quoting.
      Suggested-by: NYork Sun <yorksun@freescale.com>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NYork Sun <yorksun@freescale.com>
      6131beab