summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/boot
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-03-05 15:53:19 +0100
committerMichal Simek <monstr@monstr.eu>2012-03-19 07:30:26 +0100
commit00708d421a22a0f82de2dbb91ca6213b3dcc5267 (patch)
tree2dbdf39aed1510ab88cef4a0d334c44024a8ed3f /arch/microblaze/boot
parent9bc974b927ad7f07206b8db9b36a29a146c1cfd1 (diff)
downloadlinux-00708d421a22a0f82de2dbb91ca6213b3dcc5267.tar.bz2
microblaze: Fix makefile to work with latest toolchain
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>
Diffstat (limited to 'arch/microblaze/boot')
-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 0c796cf81586..34940c828def 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