xref: /illumos-gate/usr/src/psm/stand/boot/sparcv9/sun4v/Makefile (revision 7ab4e62e3b5c454f248a38bec0d489e8f5543324)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26TOPDIR =	../../../../..
27
28include $(TOPDIR)/uts/Makefile.uts
29
30MODULE	= fs
31
32PLATLINKS	= SUNW,Sun-Fire-T200
33PLATLINKS	+= SUNW,Netra-CP3060
34PLATLINKS	+= SUNW,Netra-CP3260
35PLATLINKS	+= SUNW,Sun-Blade-T6300
36PLATLINKS	+= SUNW,Sun-Blade-T6320
37PLATLINKS	+= SUNW,SPARC-Enterprise-T5120
38PLATLINKS	+= SUNW,T5140
39PLATLINKS	+= SUNW,USBRDT-5240
40PLATLINKS	+= SUNW,Netra-T5220
41PLATLINKS	+= SUNW,Netra-T5440
42
43LINKED_DIRS	= $(PLATLINKS:%=$(USR_PLAT_DIR)/%)
44LINKED_LIB_DIRS	= $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib)
45LINKED_LIB_FS_DIRS	= $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib/fs)
46
47all	:=	TARGET = all
48install	:=	TARGET = install
49clean	:=	TARGET = clean
50
51TARG_MACH =	sparcv9
52TARG_MACH_DIR =	sparcv9
53ARCHVERS =	v9
54PLATFORM =	sun4v
55ARCHMMU  =	sfmmu
56PROMVERS =	ieee1275
57ASFLAGS +=	$(sparcv9_XARCH)
58
59include ../Makefile.com
60include $(TOPDIR)/psm/Makefile.psm.64
61include $(BOOTSRCDIR)/Makefile.rules
62
63FRC:
64
65.KEEP_STATE:
66
67all:
68
69install: all $(LINKED_DIRS) $(LINKED_LIB_DIRS) $(LINKED_LIB_FS_DIRS)
70
71clean:
72
73clobber: clean
74
75lint:
76
77FRC:
78