]> git.baikalelectronics.ru Git - kernel.git/commit
headers_install.pl: convert to headers_install.sh
authorRob Landley <rob@landley.net>
Tue, 26 Mar 2013 23:24:11 +0000 (10:24 +1100)
committerMichal Marek <mmarek@suse.cz>
Tue, 9 Apr 2013 10:50:29 +0000 (12:50 +0200)
commit2a0b763f97058ed9286d36b88190db86bce926a8
treeafda82ee617364e938a9c26fac92fc44a3ddfac9
parent3883e7a5d3397381ecda5d41664cbf8e952f85bd
headers_install.pl: convert to headers_install.sh

Remove perl from make headers_install by replacing a perl script (doing a
simple regex search and replace) with a smaller, faster, simpler,
POSIX-2008 shell script implementation.  The new shell script is a single
for loop calling sed and piping its output through unifdef to produce the
target file.

Same as last time except for minor tweak to deal with code review from
here: http://lkml.indiana.edu/hypermail/linux/kernel/1302.3/00078.html

(Note that this drops the "arch" argument, which isn't used. Kbuild
already points to the right input files on the command line.)

Signed-off-by: Rob Landley <rob@landley.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Josh Boyer <jwboyer@redhat.com>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: David Howells <dhowell@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile.headersinst
scripts/headers_install.pl [deleted file]
scripts/headers_install.sh [new file with mode: 0644]