1
0
Fork 0

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>
zero-sugar-mainline-defconfig
Masahiro Yamada 2020-11-22 04:36:57 +09:00 committed by Vineet Gupta
parent a4e070cfeb
commit 3a71e42313
1 changed files with 1 additions and 1 deletions

View File

@ -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)