]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
x86/boot: Use CROSS_COMPILE prefix for readelf
authorRob Landley <rob@landley.net>
Sat, 20 May 2017 20:03:29 +0000 (15:03 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 21 May 2017 11:04:27 +0000 (13:04 +0200)
commit3780578761921f094179c6289072a74b2228c602
tree576ddcb66ad21dc757c6ab8260bc1ea4cb947c9f
parent56f410cf45a1c1f68f77741990e0435b06a07676
x86/boot: Use CROSS_COMPILE prefix for readelf

The boot code Makefile contains a straight 'readelf' invocation. This
causes build warnings in cross compile environments, when there is no
unprefixed readelf accessible via $PATH.

Add the missing $(CROSS_COMPILE) prefix.

[ tglx: Rewrote changelog ]

Fixes: 98f78525371b ("x86/boot: Refuse to build with data relocations")
Signed-off-by: Rob Landley <rob@landley.net>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Paul Bolle <pebolle@tiscali.nl>
Cc: "H.J. Lu" <hjl.tools@gmail.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/ced18878-693a-9576-a024-113ef39a22c0@landley.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/boot/compressed/Makefile