summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.16.12
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-06-13 18:55:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-06-13 21:03:21 +0200
commit71c4b08ed6e9f52c4078d27574ed8440fd945ac1 (patch)
tree1fcc59ff34b2bf5c1a1847fcf509a549a22130ff /target/linux/patches/4.16.12
parentf4035f12137f99067ca0f1fe45917fa8ff535edb (diff)
synpsys-hsdk: add sample
Diffstat (limited to 'target/linux/patches/4.16.12')
-rw-r--r--target/linux/patches/4.16.12/arc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/4.16.12/arc.patch b/target/linux/patches/4.16.12/arc.patch
new file mode 100644
index 000000000..a2dd8b327
--- /dev/null
+++ b/target/linux/patches/4.16.12/arc.patch
@@ -0,0 +1,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)