1843d17d4SRob Johnston#
2843d17d4SRob Johnston# CDDL HEADER START
3843d17d4SRob Johnston#
4843d17d4SRob Johnston# The contents of this file are subject to the terms of the
5843d17d4SRob Johnston# Common Development and Distribution License (the "License").
6843d17d4SRob Johnston# You may not use this file except in compliance with the License.
7843d17d4SRob Johnston#
8843d17d4SRob Johnston# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9843d17d4SRob Johnston# or http://www.opensolaris.org/os/licensing.
10843d17d4SRob Johnston# See the License for the specific language governing permissions
11843d17d4SRob Johnston# and limitations under the License.
12843d17d4SRob Johnston#
13843d17d4SRob Johnston# When distributing Covered Code, include this CDDL HEADER in each
14843d17d4SRob Johnston# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15843d17d4SRob Johnston# If applicable, add the following below this CDDL HEADER, with the
16843d17d4SRob Johnston# fields enclosed by brackets "[]" replaced with your own identifying
17843d17d4SRob Johnston# information: Portions Copyright [yyyy] [name of copyright owner]
18843d17d4SRob Johnston#
19843d17d4SRob Johnston# CDDL HEADER END
20843d17d4SRob Johnston#
21843d17d4SRob Johnston
22843d17d4SRob Johnston#
23843d17d4SRob Johnston# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24843d17d4SRob Johnston# Use is subject to license terms.
25843d17d4SRob Johnston# Copyright (c) 2018, Joyent, Inc.
26843d17d4SRob Johnston#
27843d17d4SRob Johnston
28843d17d4SRob Johnston# NOTE: The name of the xml file we are building is 'platform'
29843d17d4SRob Johnston# specific, but its build is structured as 'arch' specific since
30843d17d4SRob Johnston# 'uname -i' on all x86 platforms returns i86pc.
31843d17d4SRob Johnston
32843d17d4SRob JohnstonARCH = i86pc
33843d17d4SRob JohnstonCLASS = arch
34843d17d4SRob JohnstonDTDFILE = topology.dtd.1
35843d17d4SRob JohnstonJOYENT_PLATFORMS = \
36843d17d4SRob Johnston	Joyent-Compute-Platform-3101-hc-topology.xml \
37843d17d4SRob Johnston	Joyent-Compute-Platform-3102-hc-topology.xml
38843d17d4SRob Johnston
39*672fc84aSRobert MustacchiJOYENT_USBMAPS = \
40*672fc84aSRobert Mustacchi	Joyent-Compute-Platform-3101-usb.usbtopo \
41*672fc84aSRobert Mustacchi	Joyent-Compute-Platform-3102-usb.usbtopo
42843d17d4SRob JohnstonROOTJOYENTMAPS = $(JOYENT_PLATFORMS:%=$(arch_ROOTTOPOROOT)/%)
43*672fc84aSRobert MustacchiROOTJOYENTUSB = $(JOYENT_USBMAPS:%=$(arch_ROOTTOPOROOT)/%)
44843d17d4SRob Johnston
45843d17d4SRob JohnstonTOPOFILE = \
46843d17d4SRob Johnston	SSG-2028R-ACR24L-hc-topology.xml \
47843d17d4SRob Johnston	SSG-2028R-ACR24L-chassis-hc-topology.xml \
48843d17d4SRob Johnston	SSG-2028R-ACR24L-disk-hc-topology.xml \
49*672fc84aSRobert Mustacchi	SSG-2028R-ACR24L-slot-hc-topology.xml \
50*672fc84aSRobert Mustacchi	SSG-2028R-ACR24L-usb.usbtopo
51843d17d4SRob Johnston
52843d17d4SRob JohnstonSRCDIR = ../SMCI,SSG-2028R-ACR24L
53843d17d4SRob Johnston
54843d17d4SRob JohnstonPLATFORM = SSG-2028R-ACR24L
55843d17d4SRob Johnston
56843d17d4SRob JohnstonCLOBBERFILES +=	$(ROOTJOYENTMAPS) SSG-2028R-ACR24L-disk-hc-topology.xml
57843d17d4SRob Johnston
58843d17d4SRob Johnstoninclude ../Makefile.map
59843d17d4SRob Johnston
60*672fc84aSRobert Mustacchiinstall: $(ROOTJOYENTMAPS) $(ROOTJOYENTUSB)
61843d17d4SRob Johnston
62843d17d4SRob Johnston#
63843d17d4SRob Johnston# Note, the Joyent Compute Platform 310x is based on the SuperMicro
64843d17d4SRob Johnston# SSG-2028R-ACR24L. Because of that, the topo map used here will work for all
65843d17d4SRob Johnston# such systems.
66843d17d4SRob Johnston#
67843d17d4SRob Johnston$(ROOTJOYENTMAPS): SSG-2028R-ACR24L-hc-topology.xml
68843d17d4SRob Johnston	$(RM) $@
69843d17d4SRob Johnston	$(SYMLINK) ./$? $@
70843d17d4SRob Johnston
71*672fc84aSRobert Mustacchi$(ROOTJOYENTUSB): SSG-2028R-ACR24L-usb.usbtopo
72*672fc84aSRobert Mustacchi	$(RM) $@
73*672fc84aSRobert Mustacchi	$(SYMLINK) ./$? $@
74