1. 10 Nov, 2017 1 commit
  2. 02 Nov, 2017 1 commit
    • Ye Li's avatar
      MLK-16729 tools: fix build break when libpython3-dev is installed · c76e0373
      Ye Li authored
      The u-boot meets break, when host build server has installed swig and libpython3-dev,
      but no libpython-dev installed.
      
      tools/libfdt_wrap.c:147:21: fatal error: Python.h: No such file or directory
      
      The root cause is tools/makefile checks the Python.h before building a libfdt Python module.
      Since the u-boot is using "python" command not "python3", we should change to check the Python.h
      under python2.x directory not every python directory (like python3.x). Otherwise when a python3
      develop package is installed, the script will get the file and start to build libfdt if swig
      is installed as well.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Acked-by: default avatarPeng Fan <peng.fan@nxp.com>
      c76e0373
  3. 06 Apr, 2017 1 commit
    • Ye Li's avatar
      MLK-14636 Tools: Add python lib dependency check for libfdt · 636b19ac
      Ye Li authored
      The tools/makefile will build a libfdt Python module if swig is available.
      But actually it not only need swig but also need python libary. We will get
      build break below when python is not installed. It is better to add more
      check for python lib.
      
      Because applications may install some python libs, but not the full libpython-dev,
      then the Python.h is missed. We check Python.h to instead checking libs.
      
      tools/libfdt_wrap.c:147:21: fatal error: Python.h: No such file or directory
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      636b19ac
  4. 05 Apr, 2017 2 commits
  5. 12 Mar, 2017 1 commit
  6. 10 Mar, 2017 1 commit
    • Tom Rini's avatar
      kconfiglib.py: Kludge in 'imply' support · d036107a
      Tom Rini authored
      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: default avatarTom Rini <trini@konsulko.com>
      d036107a
  7. 09 Mar, 2017 1 commit
  8. 17 Feb, 2017 2 commits
  9. 08 Feb, 2017 5 commits
    • Masahiro Yamada's avatar
      cmd: rework "license" command · d726f225
      Masahiro Yamada authored
      The previous commit ("add a new command to show .config contents")
      improves the basic infrastructure of "embed a compressed file into
      the U-Boot image, and print it by a command".  The same pattern for
      the "license" command.
      
      This commit reworks the command to improve the following:
      
      [1] Improve log style
      
      Kbuild style log
      
        GZIP    cmd/license_data.gz
        CHK     cmd/license_data_gz.h
        UPD     cmd/license_data_gz.h
        CHK     cmd/license_data_size.h
        UPD     cmd/license_data_size.h
      
      instead of the bare Make log:
      
      cat ./Licenses/gpl-2.0.txt | gzip -9 -c | \
      		tools/bin2header license_gzip > ./include/license.h
      
      [2] Collect related code into the "cmd" directory
      
      Prior to this commit, the license.h was created by tools/Makefile,
      placed under the "include" directory, included from cmd/license.c,
      and deleted by the top-level Makefile.  It is not a good idea to
      scatter related code.
      
      [3] Drop the fixed-malloc size LICENSE_MAX
      
      Just allocate the minimum required size of buffer because we know
      the size of the original gpl-2.0.txt.
      
      [4] Fix more issues
      
      Terminate the buffer with zero to prevent puts() from over-running.
      Add "static" to do_license.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      d726f225
    • Chris Packham's avatar
      patman: Handle non-ascii characters in names · f11a0af7
      Chris Packham authored
      When gathering addresses for the Cc list patman would encounter a
      UnicodeDecodeError due to non-ascii characters in the author name.
      Address this by explicitly using utf-8 when building the Cc list.
      Signed-off-by: default avatarChris Packham <judge.packham@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      f11a0af7
    • Simon Glass's avatar
      buildman: Allow showing the list of boards with -n · 8d7523c5
      Simon Glass authored
      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: default avatarSimon Glass <sjg@chromium.org>
      8d7523c5
    • Simon Glass's avatar
      patman: Format checkpatch messages for IDE throwback · 8aa41363
      Simon Glass authored
      It is convenient to be able to deal with checkpatch warnings in the same
      way as build warnings. Tools such as emacs and kate can quickly locate
      the source file and line automatically.
      
      To achieve this, adjust the format to match the C compiler, and output to
      stderr.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      8aa41363
    • Simon Glass's avatar
      dtoc: Replace dot with underscore to avoid compiler errors · 6b6024a3
      Simon Glass authored
      If there is a '.' in a compatible string, then dtoc will produce a struct
      with a name containing a '.'. This won't work, so replace it with '_'.
      
      Also add a suitable test to the sandbox device tree to catch this.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      6b6024a3
  10. 07 Feb, 2017 4 commits
  11. 01 Feb, 2017 8 commits
  12. 28 Jan, 2017 1 commit
  13. 27 Jan, 2017 1 commit
    • Martin Kaiser's avatar
      tools: imximage: refactor header length calculations for imximage v1 · 97f17fa6
      Martin Kaiser authored
      We can use the same header length calculations for both imximage v1 and
      v2. This addresses TODO comments about imximage v1 in the current code.
      
      With this patch applied, *header_size_ptr in imximage_set_header() will
      have the correct value for both imximage v1 and v2. This is necessary
      for people wanting to add proprietary data behind the created imximage.
      Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
      Cc: sbabic@denx.de
      97f17fa6
  14. 24 Jan, 2017 1 commit
  15. 20 Jan, 2017 3 commits
  16. 14 Jan, 2017 1 commit
  17. 02 Jan, 2017 2 commits
  18. 27 Dec, 2016 2 commits
  19. 26 Dec, 2016 1 commit
  20. 19 Dec, 2016 1 commit