AT91: Added a generic way to setup AT91 serial ports in Kconfig
[linux-2.6/pdupreez.git] / arch / sparc64 / boot / Makefile
blob0458b5244f094b1c1a82ae24d5e78117f6860dec
1 # Makefile for the Sparc64 boot stuff.
3 # Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
4 # Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
6 ROOT_IMG := /usr/src/root.img
7 ELFTOAOUT := elftoaout
9 hostprogs-y := piggyback
10 targets := image tftpboot.img vmlinux.aout
12 quiet_cmd_elftoaout = ELF2AOUT $@
13 cmd_elftoaout = $(ELFTOAOUT) vmlinux -o $@
14 quiet_cmd_piggy = PIGGY $@
15 cmd_piggy = $(obj)/piggyback $@ System.map $(ROOT_IMG)
16 quiet_cmd_strip = STRIP $@
17 cmd_strip = $(STRIP) -R .comment -R .note -K sun4u_init -K _end -K _start vmlinux -o $@
20 # Actual linking
21 $(obj)/image: vmlinux FORCE
22 $(call if_changed,strip)
23 @echo ' kernel: $@ is ready'
25 $(obj)/tftpboot.img: vmlinux $(obj)/piggyback System.map $(ROOT_IMG) FORCE
26 $(call if_changed,elftoaout)
27 $(call if_changed,piggy)
28 @echo ' kernel: $@ is ready'
30 $(obj)/vmlinux.aout: vmlinux FORCE
31 $(call if_changed,elftoaout)
32 @echo ' kernel: $@ is ready'