diff options
author | Manuel Lauss <mano@roarinelk.homelinux.net> | 2007-10-29 20:54:12 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-10-29 20:54:12 -0400 |
commit | 4d2718d00de9896b27cec86b03c50cbfcf3afde4 (patch) | |
tree | 7dd026683894f0503370138dd18276418150854a /arch/sh/Makefile | |
parent | 767f0d68677ad19b3a85beb88f4e4dd54a047e42 (diff) |
sh: fix zImage build with >=binutils-2.18
Starting with binutils somewhere around 2.17.50.14 the vmlinux file
contains a ".note.gnu.build-id" section which doesn't get removed when
the zImage is built; resulting in a 2GB intermediate file and a broken
zImage.
Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 408342b175c8..e189fae8b60c 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -66,7 +66,7 @@ cflags-y += $(isaflags-y) -ffreestanding | |||
66 | cflags-$(CONFIG_MORE_COMPILE_OPTIONS) += \ | 66 | cflags-$(CONFIG_MORE_COMPILE_OPTIONS) += \ |
67 | $(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g') | 67 | $(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g') |
68 | 68 | ||
69 | OBJCOPYFLAGS := -O binary -R .note -R .comment -R .stab -R .stabstr -S | 69 | OBJCOPYFLAGS := -O binary -R .note -R .note.gnu.build-id -R .comment -R .stab -R .stabstr -S |
70 | 70 | ||
71 | # | 71 | # |
72 | # arch/sh/defconfig doesn't reflect any real hardware, and as such should | 72 | # arch/sh/defconfig doesn't reflect any real hardware, and as such should |