Kbuild misc updates for 4.13

- Use more portable shebang for Perl scripts
 
 - Remove trailing spaces from GCC version in kernel log
 
 - Make initramfs generation deterministic
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZXrq2AAoJED2LAQed4NsGzlIP/jmVGusmFIP2jFC7zUEVaKsp
 VK4tezn0aa/c/BsY+kGu3OVqUHgspQSjNa4wH27A+z4/skkxPQKUmF1IY+8/W5yc
 aR0Yn76vzjjNYNl6AS3fA+QP+dBn+UdQDA2jMNKyu/3fACjiVY9BBx2ZdhJMwJcy
 WrAax/fQNnRjmAQFQpptNBvYZn1B7A/7iFCPpQbPP6GFsqSJ2zMtRGjtoaeFgpV3
 On6d4uAcgAcnEHw1zomWTx0N0LghW+L6Te9PoHyPZnyxfi+OVN/bmakoy7qs1uUh
 zWucIhpBc8bshx6s4VnJ5OZhFNVEkeSjq5CivYKnU0u4waKb7suxuI1+D6e7uRrA
 2OuXmhm7sRvGHwGIxEdJAOlF0PNecYSgJPv+ZDcOxVMy72REUZUEjgThti/vLdUn
 9iVDXn/ExOxqJW7isth1MTn3FBsDUIZDKK5EypgY/oAuECR6pQnjD3HjojJBACau
 OqbsZDPqmDiY3sxzU1GcAbrhAJiGyWXV7hAKsROoVlgwU2fu0Al2HHtDzEjqLrzK
 wIvAD+lsWKiFP1zXlCnrsgjXgn/RFG1cHLiqEhtPy+HpqNzXoXDRs5kcTsr5Z0fj
 3DlMNqa7Bv0raL3+XG2pp9OR5gWdLxmOuPIR/TNU3JubTRur4SElJtXyDoHVTJti
 s4mye73xjjcifGEwpZQw
 =C+WJ
 -----END PGP SIGNATURE-----

Merge tag 'kbuild-misc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull misc Kbuild updates from Masahiro Yamada:

 - Use more portable shebang for Perl scripts

 - Remove trailing spaces from GCC version in kernel log

 - Make initramfs generation deterministic

* tag 'kbuild-misc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
  kbuild: create deterministic initramfs directory listings
  scripts/mkcompile_h: Remove trailing spaces from compiler version
  scripts: Switch to more portable Perl shebang
tirimbino
Linus Torvalds 8 years ago
commit 16ffc4c394
  1. 2
      scripts/bootgraph.pl
  2. 2
      scripts/checkincludes.pl
  3. 3
      scripts/checkpatch.pl
  4. 2
      scripts/checkstack.pl
  5. 2
      scripts/checkversion.pl
  6. 3
      scripts/cleanfile
  7. 3
      scripts/cleanpatch
  8. 2
      scripts/dtc/dt_to_config
  9. 3
      scripts/export_report.pl
  10. 3
      scripts/extract-module-sig.pl
  11. 3
      scripts/extract-sys-certs.pl
  12. 2
      scripts/extract_xc3028.pl
  13. 2
      scripts/gen_initramfs_list.sh
  14. 2
      scripts/get_dvb_firmware
  15. 3
      scripts/get_maintainer.pl
  16. 2
      scripts/headerdep.pl
  17. 3
      scripts/headers_check.pl
  18. 3
      scripts/kconfig/streamline_config.pl
  19. 3
      scripts/kernel-doc
  20. 2
      scripts/markup_oops.pl
  21. 2
      scripts/mkcompile_h
  22. 4
      scripts/namespace.pl
  23. 2
      scripts/profile2linkerlist.pl
  24. 3
      scripts/recordmcount.pl
  25. 2
      scripts/stackdelta

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright 2008, Intel Corporation
#

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# checkincludes: find/remove files included more than once
#

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
# (c) 2001, Dave Jones. (the file handling bit)
# (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit)
# (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite)
@ -6,6 +6,7 @@
# Licensed under the terms of the GNU GPL License version 2
use strict;
use warnings;
use POSIX;
use File::Basename;
use Cwd 'abs_path';

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Check the stack usage of functions
#

@ -1,4 +1,4 @@
#! /usr/bin/perl
#! /usr/bin/env perl
#
# checkversion find uses of LINUX_VERSION_CODE or KERNEL_VERSION
# without including <linux/version.h>, or cases of

@ -1,9 +1,10 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Clean a text file -- or directory of text files -- of stealth whitespace.
# WARNING: this can be a highly destructive operation. Use with caution.
#
use warnings;
use bytes;
use File::Basename;

@ -1,9 +1,10 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Clean a patch file -- or directory of patch files -- of stealth whitespace.
# WARNING: this can be a highly destructive operation. Use with caution.
#
use warnings;
use bytes;
use File::Basename;

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright 2016 by Frank Rowand
# Copyright 2016 by Gaurav Minocha

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# (C) Copyright IBM Corporation 2006.
# Released under GPL v2.
@ -7,6 +7,7 @@
# Usage: export_report.pl -k Module.symvers [-o report_file ] -f *.mod.c
#
use warnings;
use Getopt::Std;
use strict;

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# extract-mod-sig <part> <module-file>
#
@ -12,6 +12,7 @@
# -k: Just the key ID
# -s: Just the crypto signature or PKCS#7 message
#
use warnings;
use strict;
die "Format: $0 -[0adnks] module-file >out\n"

@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
use warnings;
use strict;
use Math::BigInt;
use Fcntl "SEEK_SET";

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) Mauro Carvalho Chehab <mchehab@infradead.org>
# Released under GPLv2

@ -174,7 +174,7 @@ dir_filelist() {
${dep_list}header "$1"
srcdir=$(echo "$1" | sed -e 's://*:/:g')
dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n")
dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" | sort)
# If $dirlist is only one line, then the directory is empty
if [ "$(echo "${dirlist}" | wc -l)" -gt 1 ]; then

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# DVB firmware extractor
#
# (c) 2004 Andrew de Quincey

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
# (c) 2007, Joe Perches <joe@perches.com>
# created from checkpatch.pl
#
@ -10,6 +10,7 @@
#
# Licensed under the terms of the GNU GPL License version 2
use warnings;
use strict;
my $P = $0;

@ -1,4 +1,4 @@
#! /usr/bin/perl
#! /usr/bin/env perl
#
# Detect cycles in the header file dependency graph
# Vegard Nossum <vegardno@ifi.uio.no>

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# headers_check.pl execute a number of trivial consistency checks
#
@ -18,6 +18,7 @@
#
# 3) Check for leaked CONFIG_ symbols
use warnings;
use strict;
use File::Basename;

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Copyright 2005-2009 - Steven Rostedt
# Licensed under the terms of the GNU GPL License version 2
@ -42,6 +42,7 @@
# mv config_strip .config
# make oldconfig
#
use warnings;
use strict;
use Getopt::Long;

@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
use warnings;
use strict;
## Copyright (c) 1998 Michael Zucchi, All Rights Reserved ##

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use File::Basename;
use Math::BigInt;

@ -76,7 +76,7 @@ UTS_TRUNCATE="cut -b -$UTS_LEN"
echo \#define LINUX_COMPILE_BY \"`echo $LINUX_COMPILE_BY | $UTS_TRUNCATE`\"
echo \#define LINUX_COMPILE_HOST \"`echo $LINUX_COMPILE_HOST | $UTS_TRUNCATE`\"
echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | grep ' version '`\"
echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | grep ' version ' | sed 's/[[:space:]]*$//'`\"
) > .tmpcompile
# Only replace the real compile.h if the new one is different,

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# namespace.pl. Mon Aug 30 2004
#
@ -62,7 +62,7 @@
# result.
#
require 5; # at least perl 5
use warnings;
use strict;
use File::Find;

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Takes a (sorted) output of readprofile and turns it into a list suitable for

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
# (c) 2008, Steven Rostedt <srostedt@redhat.com>
# Licensed under the terms of the GNU GPL License version 2
#
@ -106,6 +106,7 @@
# 9) Move the result back to the original object.
#
use warnings;
use strict;
my $P = $0;

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Read two files produced by the stackusage script, and show the
# delta between them.

Loading…
Cancel
Save