diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-06-11 04:58:01 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-06-11 04:58:01 -0400 |
commit | 4894e4aca82aca927d0404ce61f021f790de4b1e (patch) | |
tree | bbe0d083829f5858295298f188d885367cf4b1f6 /arch/cris/boot/Makefile | |
parent | 05e882f890038c702a4f15d385135d03cf74ad48 (diff) | |
parent | 07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff) |
Merge commit 'v2.6.30' into next
Diffstat (limited to 'arch/cris/boot/Makefile')
-rw-r--r-- | arch/cris/boot/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/cris/boot/Makefile b/arch/cris/boot/Makefile new file mode 100644 index 000000000000..144f3afa0119 --- /dev/null +++ b/arch/cris/boot/Makefile | |||
@@ -0,0 +1,24 @@ | |||
1 | # | ||
2 | # arch/cris/boot/Makefile | ||
3 | # | ||
4 | |||
5 | objcopyflags-$(CONFIG_ETRAX_ARCH_V10) += -R .note -R .comment | ||
6 | objcopyflags-$(CONFIG_ETRAX_ARCH_V32) += --remove-section=.bss | ||
7 | |||
8 | OBJCOPYFLAGS = -O binary $(objcopyflags-y) | ||
9 | |||
10 | |||
11 | subdir- := compressed rescue | ||
12 | targets := Image | ||
13 | |||
14 | $(obj)/Image: vmlinux FORCE | ||
15 | $(call if_changed,objcopy) | ||
16 | @echo ' Kernel: $@ is ready' | ||
17 | |||
18 | $(obj)/compressed/vmlinux: $(obj)/Image FORCE | ||
19 | $(Q)$(MAKE) $(build)=$(obj)/compressed $@ | ||
20 | $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin | ||
21 | |||
22 | $(obj)/zImage: $(obj)/compressed/vmlinux | ||
23 | @cp $< $@ | ||
24 | @echo ' Kernel: $@ is ready' | ||