summaryrefslogtreecommitdiff
path: root/target/linux/patches/5.4.193/arc.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-05-13 13:13:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2022-05-13 13:13:59 +0200
commit720f8eb55cdd8f4742037b71c4cc0d9d3d8a21e9 (patch)
tree2c6e3f921ed3ab72aa7f9e4bce15300ab8e661fd /target/linux/patches/5.4.193/arc.patch
parentb04207c44f64dd7b4e066a24c1abf3d2852cbbb0 (diff)
linux: update to 5.4.193
Diffstat (limited to 'target/linux/patches/5.4.193/arc.patch')
-rw-r--r--target/linux/patches/5.4.193/arc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/5.4.193/arc.patch b/target/linux/patches/5.4.193/arc.patch
new file mode 100644
index 000000000..20810ce64
--- /dev/null
+++ b/target/linux/patches/5.4.193/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)