mbox series

[v5.4,0/6] Build time improvements

Message ID 20200826162828.3330007-1-maennich@google.com
Headers show
Series Build time improvements | expand

Message

Matthias Maennich Aug. 26, 2020, 4:28 p.m. UTC
Hi,

please pick up the following patches for 5.4.

Those are build time optimizations for kernel/gen_kheaders.sh, and - by
removing bashisms - dropping the dependency to /bin/bash.

In addition, this enables build time improvements across the tree by optionally
allowing to use alternative implementations for various compression tools, e.g.
GZIP=pigz.

The documentation-only change is not strictly necessary, but keeps
kernel/gen_kheaders.sh in sync with mainline.

Cheers,
Matthias

Cc: Denis Efremov <efremov@linux.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Denis Efremov (1):
  kbuild: add variables for compression tools

Masahiro Yamada (5):
  kheaders: remove unneeded 'cat' command piped to 'head' / 'tail'
  kheaders: optimize md5sum calculation for in-tree builds
  kheaders: optimize header copy for in-tree builds
  kheaders: remove the last bashism to allow sh to run it
  kheaders: explain why include/config/autoconf.h is excluded from
    md5sum

 Makefile                          | 25 +++++++++++-
 arch/arm/boot/deflate_xip_data.sh |  2 +-
 arch/ia64/Makefile                |  2 +-
 arch/m68k/Makefile                |  8 ++--
 arch/parisc/Makefile              |  2 +-
 kernel/Makefile                   |  2 +-
 kernel/gen_kheaders.sh            | 66 ++++++++++++++++++-------------
 scripts/Makefile.lib              | 12 +++---
 scripts/Makefile.package          |  8 ++--
 scripts/package/buildtar          |  6 +--
 scripts/xz_wrap.sh                |  2 +-
 11 files changed, 83 insertions(+), 52 deletions(-)

Comments

Greg KH Sept. 1, 2020, 1:58 p.m. UTC | #1
On Wed, Aug 26, 2020 at 05:28:22PM +0100, Matthias Maennich wrote:
> Hi,
> 
> please pick up the following patches for 5.4.
> 
> Those are build time optimizations for kernel/gen_kheaders.sh, and - by
> removing bashisms - dropping the dependency to /bin/bash.
> 
> In addition, this enables build time improvements across the tree by optionally
> allowing to use alternative implementations for various compression tools, e.g.
> GZIP=pigz.
> 
> The documentation-only change is not strictly necessary, but keeps
> kernel/gen_kheaders.sh in sync with mainline.

Looks good, now queued up, thanks.

greg k-h