Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=87f5a7f7033ce4bbad082983332bbce43e849c84
Commit:     87f5a7f7033ce4bbad082983332bbce43e849c84
Parent:     2c2314bf6b1e72c2de6703a62f51f453576cd132
Author:     Jesper Nilsson <[EMAIL PROTECTED]>
AuthorDate: Fri Nov 30 16:08:34 2007 +0100
Committer:  Jesper Nilsson <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 11:06:25 2008 +0100

    CRIS v10: Update boot Kbuild makefile.
    
    - Remove old specific targets, use more generic ones instead.
---
 arch/cris/arch-v10/boot/Makefile |   34 +++++++++++++++++++++-------------
 1 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/arch/cris/arch-v10/boot/Makefile b/arch/cris/arch-v10/boot/Makefile
dissimilarity index 97%
index e5b1058..20c83a5 100644
--- a/arch/cris/arch-v10/boot/Makefile
+++ b/arch/cris/arch-v10/boot/Makefile
@@ -1,13 +1,21 @@
-#
-# arch/cris/boot/Makefile
-#
-target = $(target_boot_dir)
-src    = $(src_boot_dir)
-
-zImage: compressed/vmlinuz
-
-compressed/vmlinuz:
-       @$(MAKE) -f $(src)/compressed/Makefile $(target_compressed_dir)/vmlinuz
-
-clean:
-       @$(MAKE) -f $(src)/compressed/Makefile clean
+#
+# arch/cris/arch-v10/boot/Makefile
+#
+
+OBJCOPY = objcopy-cris
+OBJCOPYFLAGS = -O binary --remove-section=.bss
+
+subdir- := compressed rescue
+targets := Image
+
+$(obj)/Image: vmlinux FORCE
+       $(call if_changed,objcopy)
+       @echo '  Kernel: $@ is ready'
+
+$(obj)/compressed/vmlinux: $(obj)/Image FORCE
+       $(Q)$(MAKE) $(build)=$(obj)/compressed $@
+       $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
+
+$(obj)/zImage:  $(obj)/compressed/vmlinux
+       @cp $< $@
+       @echo '  Kernel: $@ is ready'
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to