Skip to content

Commit 3a71e42

Browse files
masahir0yvineetgarc
authored andcommitted
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 <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
1 parent a4e070c commit 3a71e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arc/boot/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
88

9-
LINUX_START_TEXT = $$(readelf -h vmlinux | \
9+
LINUX_START_TEXT = $$($(READELF) -h vmlinux | \
1010
grep "Entry point address" | grep -o 0x.*)
1111

1212
UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)

0 commit comments

Comments
 (0)