Smack: update for file capabilities
[wrt350n-kernel.git] / arch / sparc64 / boot / Makefile
blob6968a6da57dae535f987672da49756a634e7f52f
1 # $Id: Makefile,v 1.4 1997/12/15 20:08:56 ecd Exp $
2 # Makefile for the Sparc64 boot stuff.
4 # Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
5 # Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
7 ROOT_IMG := /usr/src/root.img
8 ELFTOAOUT := elftoaout
10 hostprogs-y := piggyback
11 targets := image tftpboot.img vmlinux.aout
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 $@
21 # Actual linking
22 $(obj)/image: vmlinux FORCE
23 $(call if_changed,strip)
24 @echo ' kernel: $@ is ready'
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'
31 $(obj)/vmlinux.aout: vmlinux FORCE
32 $(call if_changed,elftoaout)
33 @echo ' kernel: $@ is ready'