aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/boot/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/sparc64/boot/Makefile
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/sparc64/boot/Makefile')
-rw-r--r--arch/sparc64/boot/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/sparc64/boot/Makefile b/arch/sparc64/boot/Makefile
new file mode 100644
index 000000000000..6968a6da57da
--- /dev/null
+++ b/arch/sparc64/boot/Makefile
@@ -0,0 +1,34 @@
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
7ROOT_IMG := /usr/src/root.img
8ELFTOAOUT := elftoaout
9
10hostprogs-y := piggyback
11targets := image tftpboot.img vmlinux.aout
12
13quiet_cmd_elftoaout = ELF2AOUT $@
14 cmd_elftoaout = $(ELFTOAOUT) vmlinux -o $@
15quiet_cmd_piggy = PIGGY $@
16 cmd_piggy = $(obj)/piggyback $@ System.map $(ROOT_IMG)
17quiet_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