ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / ia64 / sn / fakeprom / Makefile
1 # arch/ia64/sn/fakeprom/Makefile
2 #
3 # This file is subject to the terms and conditions of the GNU General Public
4 # License.  See the file "COPYING" in the main directory of this archive
5 # for more details.
6 #
7 #  Copyright (c) 2000-2003 Silicon Graphics, Inc.  All rights reserved.
8 #
9 # Medusa fake PROM support
10 #
11
12 EXTRA_TARGETS := fpromasm.o main.o fw-emu.o fpmem.o klgraph_init.o \
13                  fprom vmlinux.sym
14
15 OBJS := $(obj)/fpromasm.o $(obj)/main.o $(obj)/fw-emu.o $(obj)/fpmem.o \
16         $(obj)/klgraph_init.o
17
18 LDFLAGS_fprom = -static -T
19
20 .PHONY: fprom
21
22 fprom: $(obj)/fprom
23
24 $(obj)/fprom: $(src)/fprom.lds $(OBJS) arch/ia64/lib/lib.a FORCE
25         $(call if_changed,ld)
26
27 $(obj)/vmlinux.sym: $(src)/make_textsym System.map
28         $(src)/make_textsym vmlinux > vmlinux.sym
29         $(call cmd,cptotop)