aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/Makefile
diff options
context:
space:
mode:
authorIan Campbell <ijc@hellion.org.uk>2008-02-04 10:47:56 -0500
committerIngo Molnar <mingo@elte.hu>2008-02-04 10:47:56 -0500
commit1622ac23bd3568c3ae8bb391dd3adb51887d7141 (patch)
treef70b47303118094fdae554acf229be97dbe058ed /arch/x86/boot/Makefile
parentcf89ec924da5b76cbff293a1b378f312c7161411 (diff)
x86: define OBJCOPYFLAGS explicitly for each target.
Do this rather than defining a global version and overriding it in almost all cases in order to make subsequent patches simpler. Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Acked-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/boot/Makefile')
-rw-r--r--arch/x86/boot/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index 349b81a39c40..254a58398a67 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -80,6 +80,7 @@ $(obj)/zImage $(obj)/bzImage: $(obj)/setup.bin \
80 $(call if_changed,image) 80 $(call if_changed,image)
81 @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' 81 @echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
82 82
83OBJCOPYFLAGS_vmlinux.bin := -O binary -R .note -R .comment -S
83$(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE 84$(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE
84 $(call if_changed,objcopy) 85 $(call if_changed,objcopy)
85 86
@@ -90,7 +91,6 @@ $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE
90 $(call if_changed,ld) 91 $(call if_changed,ld)
91 92
92OBJCOPYFLAGS_setup.bin := -O binary 93OBJCOPYFLAGS_setup.bin := -O binary
93
94$(obj)/setup.bin: $(obj)/setup.elf FORCE 94$(obj)/setup.bin: $(obj)/setup.elf FORCE
95 $(call if_changed,objcopy) 95 $(call if_changed,objcopy)
96 96