]> git.baikalelectronics.ru Git - 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)
commitbfa4a8b1c12b2fac4cf98cbe992bb1966f1dcef6
tree576ddcb66ad21dc757c6ab8260bc1ea4cb947c9f
parenta84f4b189091743cb1e983f3942a7784c23bb6a4
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: ce4f6b2be349 ("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