summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.16.17/arc.patch
blob: a2dd8b327e8725fbba03a5c1926e78bc9d4e42a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur linux-4.16.12.orig/arch/arc/boot/Makefile linux-4.16.12/arch/arc/boot/Makefile
--- linux-4.16.12.orig/arch/arc/boot/Makefile	2018-05-25 16:46:20.000000000 +0200
+++ linux-4.16.12/arch/arc/boot/Makefile	2018-06-13 00:27:38.000000000 +0200
@@ -7,7 +7,7 @@
 
 OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
 
-LINUX_START_TEXT = $$(readelf -h vmlinux | \
+LINUX_START_TEXT = $$(${CROSS_COMPILE}readelf -h vmlinux | \
 			grep "Entry point address" | grep -o 0x.*)
 
 UIMAGE_LOADADDR    = $(CONFIG_LINUX_LINK_BASE)