Skip to content
  • Linus Torvalds's avatar
    Merge tag 'kbuild-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 09bd7c75
    Linus Torvalds authored
    Pull Kbuild updates from Masahiro Yamada:
     "One of the most remarkable improvements in this cycle is, Kbuild is
      now able to cache the result of shell commands. Some variables are
      expensive to compute, for example, $(call cc-option,...) invokes the
      compiler. It is not efficient to redo this computation every time,
      even when we are not actually building anything. Kbuild creates a
      hidden file ".cache.mk" that contains invoked shell commands and their
      results. The speed-up should be noticeable.
    
      Summary:
    
       - Fix arch build issues (hexagon, sh)
    
       - Clean up various Makefiles and scripts
    
       - Fix wrong usage of {CFLAGS,LDFLAGS}_MODULE in arch Makefiles
    
       - Cache variables that are expensive to compute
    
       - Improve cc-ldopton and ld-option for Clang
    
       - Optimize output directory creation"
    
    * tag 'kbuild-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (30 commits...
    09bd7c75