makefile: Add READELF command variable
authorSam Edwards <cfsworks@gmail.com>
Sat, 15 Mar 2025 22:18:08 +0000 (15:18 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 2 Apr 2025 20:33:50 +0000 (14:33 -0600)
commit586bb720e776396208df399874665ae8c6eb81e8
tree700b74e87d684e4f3f54b34d21344f8a8445e533
parent7a8121fe6d314b314531eee7487272601f469c1d
makefile: Add READELF command variable

This allows setting READELF=llvm-readelf in order to use the LLVM
version of the readelf utility. It also aligns with the practice of not
using $(CROSS_COMPILE) in any build recipes directly, reducing the
number of places where $(CROSS_COMPILE) is used.

Signed-off-by: Sam Edwards <CFSworks@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Makefile