diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-11-22 04:36:57 +0900 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2020-12-01 17:24:05 -0800 |
commit | 3a71e423133a4b1166ffafcb4a7cfa87ddecb910 (patch) | |
tree | b88656f2254988314f319e5143acfe05782ba8e0 /arch | |
parent | a4e070cfeb9d4961a169a2f1a614665cf51de963 (diff) | |
download | linux-3a71e423133a4b1166ffafcb4a7cfa87ddecb910.tar.bz2 |
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 <masahiroy@kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arc/boot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/boot/Makefile b/arch/arc/boot/Makefile index b3870cc100bf..5648748c285f 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) |