summaryrefslogtreecommitdiffstats
path: root/arch/avr32/boot
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-11-26 11:40:42 +0100
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-12-17 11:44:10 +0100
commitc1892cb8d2787280a5d9aacf8f58cf18f5b6fb2f (patch)
tree7b438f93b71ea3f1e5703434da2998cf1b5276be /arch/avr32/boot
parent105462632c37ea5484ebae7db6e85e0aaac28f4b (diff)
downloadop-kernel-dev-c1892cb8d2787280a5d9aacf8f58cf18f5b6fb2f.zip
op-kernel-dev-c1892cb8d2787280a5d9aacf8f58cf18f5b6fb2f.tar.gz
avr32: remove .note.gnu.build-id section when making vmlinux.bin
This patch will remove the section .note.gnu.build-id added in binutils 2.18 from the vmlinux.bin binary. Not removing this section results in a huge multiple gigabyte binary and likewize large uImage. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boot')
-rw-r--r--arch/avr32/boot/images/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/boot/images/Makefile b/arch/avr32/boot/images/Makefile
index 219720a..1848bf0 100644
--- a/arch/avr32/boot/images/Makefile
+++ b/arch/avr32/boot/images/Makefile
@@ -10,7 +10,7 @@ MKIMAGE := $(srctree)/scripts/mkuboot.sh
extra-y := vmlinux.bin vmlinux.gz
-OBJCOPYFLAGS_vmlinux.bin := -O binary
+OBJCOPYFLAGS_vmlinux.bin := -O binary -R .note.gnu.build-id
$(obj)/vmlinux.bin: vmlinux FORCE
$(call if_changed,objcopy)
OpenPOWER on IntegriCloud