diff options
author | Michal Simek <monstr@monstr.eu> | 2012-03-05 09:53:19 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-03-19 02:30:26 -0400 |
commit | 00708d421a22a0f82de2dbb91ca6213b3dcc5267 (patch) | |
tree | 2dbdf39aed1510ab88cef4a0d334c44024a8ed3f /arch/microblaze | |
parent | 9bc974b927ad7f07206b8db9b36a29a146c1cfd1 (diff) |
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')
-rw-r--r-- | arch/microblaze/boot/Makefile | 2 |
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 | |||
8 | 8 | ||
9 | targets := linux.bin linux.bin.gz simpleImage.% | 9 | targets := linux.bin linux.bin.gz simpleImage.% |
10 | 10 | ||
11 | OBJCOPYFLAGS := -O binary | 11 | OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary |
12 | 12 | ||
13 | # Ensure system.dtb exists | 13 | # Ensure system.dtb exists |
14 | $(obj)/linked_dtb.o: $(obj)/system.dtb | 14 | $(obj)/linked_dtb.o: $(obj)/system.dtb |