home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / arch / sparc64 / boot / Makefile
Encoding:
Makefile  |  2006-08-11  |  1017 b   |  35 lines

  1. # $Id: Makefile,v 1.4 1997/12/15 20:08:56 ecd Exp $
  2. # Makefile for the Sparc64 boot stuff.
  3. #
  4. # Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
  5. # Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
  6.  
  7. ROOT_IMG    := /usr/src/root.img
  8. ELFTOAOUT    := elftoaout
  9.  
  10. hostprogs-y    := piggyback
  11. targets        := image tftpboot.img vmlinux.aout
  12.  
  13. quiet_cmd_elftoaout = ELF2AOUT $@
  14.       cmd_elftoaout = $(ELFTOAOUT) vmlinux -o $@
  15. quiet_cmd_piggy     = PIGGY   $@
  16.       cmd_piggy     = $(obj)/piggyback $@ System.map $(ROOT_IMG)
  17. quiet_cmd_strip     = STRIP   $@
  18.       cmd_strip     = $(STRIP) -R .comment -R .note -K sun4u_init -K _end -K _start vmlinux -o $@
  19.  
  20.  
  21. # Actual linking
  22. $(obj)/image: vmlinux FORCE
  23.     $(call if_changed,strip)
  24.     @echo '  kernel: $@ is ready'
  25.  
  26. $(obj)/tftpboot.img: vmlinux $(obj)/piggyback System.map $(ROOT_IMG) FORCE
  27.     $(call if_changed,elftoaout)
  28.     $(call if_changed,piggy)
  29.     @echo '  kernel: $@ is ready'
  30.  
  31. $(obj)/vmlinux.aout: vmlinux FORCE
  32.     $(call if_changed,elftoaout)
  33.     @echo '  kernel: $@ is ready'
  34.  
  35.