x86, build: replace Perl script with Shell script
authorKees Cook <[email protected]>
Mon, 26 Jan 2015 20:58:35 +0000 (12:58 -0800)
committerLinus Torvalds <[email protected]>
Mon, 26 Jan 2015 21:37:18 +0000 (13:37 -0800)
commitd69911a68c865b152a067feaa45e98e6bb0f655b
tree521455763dbd6c013aa90cb4fa5dc1ce302be5a8
parent9879de7373fcfb466ec198293b6ccc1ad7a42dd8
x86, build: replace Perl script with Shell script

Commit e6023367d779 ("x86, kaslr: Prevent .bss from overlaping initrd")
added Perl to the required build environment.  This reimplements in
shell the Perl script used to find the size of the kernel with bss and
brk added.

Signed-off-by: Kees Cook <[email protected]>
Reported-by: Rob Landley <[email protected]>
Acked-by: Rob Landley <[email protected]>
Cc: Anca Emanuel <[email protected]>
Cc: Fengguang Wu <[email protected]>
Cc: Junjie Mao <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/boot/compressed/Makefile
arch/x86/tools/calc_run_size.pl [deleted file]
arch/x86/tools/calc_run_size.sh [new file with mode: 0644]