summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.18.5/arc.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2018-08-27 18:57:46 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2018-08-27 18:57:46 +0200
commit0048544c405c549f6ef1f656166b5fdd0baa00e2 (patch)
tree9491c82d7e76d9ab532a876871c3e97029d91c27 /target/linux/patches/4.18.5/arc.patch
parent71bd053dc6b5677d8de0fab9d2f7e512a09e7ad6 (diff)
linux: update to 4.18.5
Diffstat (limited to 'target/linux/patches/4.18.5/arc.patch')
-rw-r--r--target/linux/patches/4.18.5/arc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/4.18.5/arc.patch b/target/linux/patches/4.18.5/arc.patch
new file mode 100644
index 000000000..20810ce64
--- /dev/null
+++ b/target/linux/patches/4.18.5/arc.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-4.17.1.orig/arch/arc/boot/Makefile linux-4.17.1/arch/arc/boot/Makefile
+--- linux-4.17.1.orig/arch/arc/boot/Makefile 2018-06-11 22:43:19.000000000 +0200
++++ linux-4.17.1/arch/arc/boot/Makefile 2018-06-16 18:28:02.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)