1. 14 Nov, 2016 1 commit
  2. 31 Oct, 2016 1 commit
  3. 30 Oct, 2016 1 commit
  4. 18 Oct, 2016 1 commit
  5. 07 Oct, 2016 2 commits
    • Masahiro Yamada's avatar
      kbuild: generate u-boot.cfg as a byproduct of include/autoconf.mk · e19b0fb4
      Masahiro Yamada authored
      Our build system still parses ad-hoc CONFIG options in header files
      and generates include/autoconf.mk so that Makefiles can reference
      them.  This gimmick was introduced in the pre-Kconfig days and will
      be kept until Kconfig migration is completed.
      
      The include/autoconf.mk is generated like follows:
      
        [1] Preprocess include/common.h with -DDO_DEPS_ONLY and
            retrieve macros into include/autoconf.mk.tmp
        [2] Reformat include/autoconf.mk.dep into include/autoconf.mk
            with tools/scripts/define2mk.sed script
        [3] Remove include/autoconf.mk.tmp
      
      Here, include/autoconf.mk.tmp is similar to u-boot.cfg, which is
      also generated by preprocessing include/config.h with -DDO_DEPS_ONLY.
      In other words, there is much overlap among include/autoconf.mk and
      u-boot.cfg build rules.
      
      So, the idea is to split the build rule of include/autoconf.mk
      into two stages.  The first preprocesses headers into u-boot.cfg.
      The second parses the u-boot.cfg into include/autoconf.mk.  The
      build rules of u-boot.cfg in Makefile and spl/Makefile will be gone.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      e19b0fb4
    • Masahiro Yamada's avatar
      kbuild: move no_new_adhoc_configs_check to "all" target command · 4bf06d11
      Masahiro Yamada authored
      I am going to move the build rule of u-boot.cfg.  Before that,
      no_new_adhoc_configs_check must be tweaked to not depend on it.
      
      The ad-hoc option check can be done at the end of build, along
      with other checks.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      4bf06d11
  6. 06 Oct, 2016 1 commit
  7. 03 Oct, 2016 1 commit
  8. 22 Sep, 2016 2 commits
    • Stephen Warren's avatar
      Makefile: rm u-boot.cfg dependencies are missing · a6c13097
      Stephen Warren authored
      Prior to the previous patch, a freshly created .u-boot.cfg.cmd may not
      correctly represent all dependencies for u-boot.cfg. The previous change
      only solved this issue for fresh builds; when performing an incremental
      build, the deficient .u-boot.cfg.cmd is already present, so u-boot.cfg
      is not rebuilt, and hence .u-boot.cfg.cmd is not rebuilt with the correct
      content.
      
      Solve this by explicitly detecting when the dependency file .u-boot.cfg.d
      has not been integrated into .u-boot.cfg.cmd, and force u-boot.cfg to be
      rebuilt in this case by deleting it first. This is possible since
      if_changed_dep will always delete .u-boot.cfg.d when it executes
      successfully, so its presence means either that the previous build was
      made by a source tree that contained a Makefile that didn't include the
      previous patch, or that the build failed part way through executing
      if_changed_dep for u-boot.cfg. Forcing a rebuild of u-boot.cfg is required
      in the former case, and will cause no additional work in the latter case,
      since the file would be rebuilt anyway for the same reason it was being
      rebuilt by the previous build.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      a6c13097
    • Stephen Warren's avatar
      Makefile: use if_change_dep for u-boot.cfg · fcd29a4d
      Stephen Warren authored
      cmd_cpp_cfg generates a dependency output, but because it's invoked using
      if_changed rather than if_changed_dep, that dependency file is ignored.
      This results in Kbuild not knowing about which files u-boot.cfg depends
      on, so it may not be rebuilt when required.
      
      A practical result of this is that u-boot.cfg may continue to reference
      CONFIG_ options that no longer exist in the source tree, and this can
      cause the adhoc config options check to fail.
      
      This change modifies Makefile to use if_changed_dep, which in turn causes
      all dependencies to be known to the next make invocation.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      fcd29a4d
  9. 16 Sep, 2016 1 commit
  10. 14 Sep, 2016 1 commit
  11. 12 Sep, 2016 1 commit
  12. 23 Aug, 2016 1 commit
  13. 20 Aug, 2016 2 commits
  14. 15 Aug, 2016 1 commit
  15. 06 Aug, 2016 1 commit
  16. 27 Jul, 2016 1 commit
  17. 26 Jul, 2016 1 commit
  18. 15 Jul, 2016 2 commits
  19. 14 Jul, 2016 1 commit
  20. 11 Jul, 2016 1 commit
  21. 01 Jul, 2016 1 commit
  22. 24 Jun, 2016 2 commits
  23. 20 Jun, 2016 1 commit
  24. 06 Jun, 2016 1 commit
  25. 27 May, 2016 1 commit
  26. 23 May, 2016 1 commit
  27. 16 May, 2016 1 commit
  28. 02 May, 2016 1 commit
  29. 25 Apr, 2016 1 commit
  30. 21 Apr, 2016 1 commit
  31. 12 Apr, 2016 1 commit
  32. 10 Apr, 2016 1 commit
  33. 22 Mar, 2016 1 commit
    • Tom Rini's avatar
      cmd: Fix license command · 8a7367ac
      Tom Rini authored
      The license command isn't usually built and has a few problems:
      - The rules to generate license.h haven't worked in a long time,
        re-write these based on the bmp_logo.h rules.
      - 'tok' is unused and the license text size has increased
      - bin2header.c wasn't grabbing unistd.h to know the prototype for
        read().
      
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      8a7367ac
  34. 17 Mar, 2016 1 commit
  35. 14 Mar, 2016 1 commit
    • Simon Glass's avatar
      spl: Add a way to specify a list of device trees to include · cdf17246
      Simon Glass authored
      When building a FIT, more than one device tree can be included. The board
      can select (at run-time) the one that it wants.
      
      Add a Kconfig option to allow the list of devices trees (supported by the
      board) to be specified.
      
      When using SPL_LOAD_FIT, build u-boot.img in FIT format instead of the
      legacy image format. Include all the listed device tree files in this FIT.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      cdf17246