aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10/boot/Makefile
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2007-11-30 10:08:34 -0500
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 05:06:25 -0500
commit87f5a7f7033ce4bbad082983332bbce43e849c84 (patch)
tree9af0818b2f115d541205b994c99f648f8766aab0 /arch/cris/arch-v10/boot/Makefile
parent2c2314bf6b1e72c2de6703a62f51f453576cd132 (diff)
CRIS v10: Update boot Kbuild makefile.
- Remove old specific targets, use more generic ones instead.
Diffstat (limited to 'arch/cris/arch-v10/boot/Makefile')
-rw-r--r--arch/cris/arch-v10/boot/Makefile24
1 files changed, 16 insertions, 8 deletions
diff --git a/arch/cris/arch-v10/boot/Makefile b/arch/cris/arch-v10/boot/Makefile
index e5b10585110..20c83a53caf 100644
--- a/arch/cris/arch-v10/boot/Makefile
+++ b/arch/cris/arch-v10/boot/Makefile
@@ -1,13 +1,21 @@
1# 1#
2# arch/cris/boot/Makefile 2# arch/cris/arch-v10/boot/Makefile
3# 3#
4target = $(target_boot_dir)
5src = $(src_boot_dir)
6 4
7zImage: compressed/vmlinuz 5OBJCOPY = objcopy-cris
6OBJCOPYFLAGS = -O binary --remove-section=.bss
8 7
9compressed/vmlinuz: 8subdir- := compressed rescue
10 @$(MAKE) -f $(src)/compressed/Makefile $(target_compressed_dir)/vmlinuz 9targets := Image
11 10
12clean: 11$(obj)/Image: vmlinux FORCE
13 @$(MAKE) -f $(src)/compressed/Makefile clean 12 $(call if_changed,objcopy)
13 @echo ' Kernel: $@ is ready'
14
15$(obj)/compressed/vmlinux: $(obj)/Image FORCE
16 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
17 $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
18
19$(obj)/zImage: $(obj)/compressed/vmlinux
20 @cp $< $@
21 @echo ' Kernel: $@ is ready'