From: Masahiro Yamada Date: Sat, 21 Nov 2020 19:36:57 +0000 (+0900) Subject: ARC: build: use $(READELF) instead of hard-coded readelf X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3a71e423133a4b1166ffafcb4a7cfa87ddecb910;p=linux.git ARC: build: use $(READELF) instead of hard-coded readelf The top Makefile defines READELF as the readelf in the cross-toolchains. Use it rather than the host readelf. Signed-off-by: Masahiro Yamada Signed-off-by: Vineet Gupta --- diff --git a/arch/arc/boot/Makefile b/arch/arc/boot/Makefile index b3870cc100bf8..5648748c285f5 100644 --- a/arch/arc/boot/Makefile +++ b/arch/arc/boot/Makefile @@ -6,7 +6,7 @@ OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S -LINUX_START_TEXT = $$(readelf -h vmlinux | \ +LINUX_START_TEXT = $$($(READELF) -h vmlinux | \ grep "Entry point address" | grep -o 0x.*) UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)