Makefile 767 Bytes
Newer Older
1
# arch/ia64/sn/fakeprom/Makefile
Linus Torvalds's avatar
Linus Torvalds committed
2 3 4 5 6
#
# This file is subject to the terms and conditions of the GNU General Public
# License.  See the file "COPYING" in the main directory of this archive
# for more details.
#
7
#  Copyright (c) 2000-2003 Silicon Graphics, Inc.  All rights reserved.
Linus Torvalds's avatar
Linus Torvalds committed
8
#
9 10 11 12 13 14 15 16 17 18
# Medusa fake PROM support
#

EXTRA_TARGETS := fpromasm.o main.o fw-emu.o fpmem.o klgraph_init.o \
		 fprom vmlinux.sym

OBJS := $(obj)/fpromasm.o $(obj)/main.o $(obj)/fw-emu.o $(obj)/fpmem.o \
	$(obj)/klgraph_init.o

LDFLAGS_fprom = -static -T
Linus Torvalds's avatar
Linus Torvalds committed
19

20
.PHONY: fprom
Linus Torvalds's avatar
Linus Torvalds committed
21

22
fprom: $(obj)/fprom
Linus Torvalds's avatar
Linus Torvalds committed
23

24 25
$(obj)/fprom: $(src)/fprom.lds $(OBJS) arch/ia64/lib/lib.a FORCE
	$(call if_changed,ld)
Jesse Barnes's avatar
Jesse Barnes committed
26

27 28 29
$(obj)/vmlinux.sym: $(src)/make_textsym System.map
	$(src)/make_textsym vmlinux > vmlinux.sym
	$(call cmd,cptotop)