diff options
author | Michal Simek <monstr@monstr.eu> | 2012-03-05 15:53:19 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-03-19 07:30:26 +0100 |
commit | 00708d421a22a0f82de2dbb91ca6213b3dcc5267 (patch) | |
tree | 2dbdf39aed1510ab88cef4a0d334c44024a8ed3f /arch/microblaze/boot | |
parent | microblaze: Fix typo in early_printk.c (diff) | |
download | linux-00708d421a22a0f82de2dbb91ca6213b3dcc5267.tar.xz linux-00708d421a22a0f82de2dbb91ca6213b3dcc5267.zip |
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/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 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 |