summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-03-05 15:53:19 +0100
committerBen Hutchings <ben@decadent.org.uk>2014-09-13 23:41:51 +0100
commit5629e8954366de2b5a932af8cdf34cb523fa289a (patch)
treecea28b4e4f951a7d00db1d2b1fa91d479a1b1bb5
parent060e7f67c88ebbcf8745505c7ccf44c53601f7de (diff)
microblaze: Fix makefile to work with latest toolchain
commit 00708d421a22a0f82de2dbb91ca6213b3dcc5267 upstream. When building with latest binutils, vmlinux includes some sections which need to be stripped out when building the binary image. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--arch/microblaze/boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile
index 4c4e58ef0cb6..5365519adeb4 100644
--- a/arch/microblaze/boot/Makefile
+++ b/arch/microblaze/boot/Makefile
@@ -8,7 +8,7 @@ obj-y += linked_dtb.o
targets := linux.bin linux.bin.gz simpleImage.%
-OBJCOPYFLAGS := -O binary
+OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary
# Ensure system.dtb exists
$(obj)/linked_dtb.o: $(obj)/system.dtb