add kernel.img target
author黄涛 <huangtao@rock-chips.com>
Tue, 7 Dec 2010 09:17:29 +0000 (17:17 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 7 Dec 2010 09:17:29 +0000 (17:17 +0800)
arch/arm/Makefile

index 798442a24c1bdf0d4bf9430753507e8f0e54c908..fde93af92ad313d02feea82cd6e934c37e7a1419 100644 (file)
@@ -271,8 +271,13 @@ archclean:
 bp:;   $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/bootpImage
 i zi:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
 
+PHONY += kernel.img
+kernel.img: Image FORCE
+       $(Q)$(srctree)/mkkrnlimg $(obj)/arch/arm/boot/Image $(obj)/kernel.img
+       @echo '  Image:  $@ is ready'
 
 define archhelp
+  echo  '  kernel.img    - Rockchip kernel image'
   echo  '* zImage        - Compressed kernel image (arch/$(ARCH)/boot/zImage)'
   echo  '  Image         - Uncompressed kernel image (arch/$(ARCH)/boot/Image)'
   echo  '* xipImage      - XIP kernel image, if configured (arch/$(ARCH)/boot/xipImage)'