1
0

arc.patch 540 B

123456789101112
  1. diff -Nur linux-4.17.1.orig/arch/arc/boot/Makefile linux-4.17.1/arch/arc/boot/Makefile
  2. --- linux-4.17.1.orig/arch/arc/boot/Makefile 2018-06-11 22:43:19.000000000 +0200
  3. +++ linux-4.17.1/arch/arc/boot/Makefile 2018-06-16 18:28:02.000000000 +0200
  4. @@ -7,7 +7,7 @@
  5. OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
  6. -LINUX_START_TEXT = $$(readelf -h vmlinux | \
  7. +LINUX_START_TEXT = $$(${CROSS_COMPILE}readelf -h vmlinux | \
  8. grep "Entry point address" | grep -o 0x.*)
  9. UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)