1843d17d4SRob Johnston#
2843d17d4SRob Johnston# This file and its contents are supplied under the terms of the
3843d17d4SRob Johnston# Common Development and Distribution License ("CDDL"), version 1.0.
4843d17d4SRob Johnston# You may only use this file in accordance with the terms of version
5843d17d4SRob Johnston# 1.0 of the CDDL.
6843d17d4SRob Johnston#
7843d17d4SRob Johnston# A full copy of the text of the CDDL should have accompanied this
8843d17d4SRob Johnston# source.  A copy of the CDDL is also available via the Internet at
9843d17d4SRob Johnston# http://www.illumos.org/license/CDDL.
10843d17d4SRob Johnston#
11843d17d4SRob Johnston
12843d17d4SRob Johnston#
13843d17d4SRob Johnston# Copyright (c) 2018, Joyent, Inc.
14843d17d4SRob Johnston#
15843d17d4SRob Johnston
16843d17d4SRob Johnston# NOTE: The name of the xml file we are building is 'platform'
17843d17d4SRob Johnston# specific, but its build is structured as 'arch' specific since
18843d17d4SRob Johnston# 'uname -i' on all x86 platforms returns i86pc.
19843d17d4SRob Johnston
20843d17d4SRob JohnstonARCH = i86pc
21843d17d4SRob JohnstonCLASS = arch
22843d17d4SRob JohnstonDTDFILE = topology.dtd.1
23843d17d4SRob JohnstonJOYENT_PLATFORMS = \
24843d17d4SRob Johnston	Joyent-S10G5-hc-topology.xml
25843d17d4SRob Johnston
26*672fc84aSRobert MustacchiJOYENT_USBMAPS = \
27*672fc84aSRobert Mustacchi	Joyent-S10G5-usb.usbtopo
28*672fc84aSRobert Mustacchi
29843d17d4SRob JohnstonROOTJOYENTMAPS = $(JOYENT_PLATFORMS:%=$(arch_ROOTTOPOROOT)/%)
30*672fc84aSRobert MustacchiROOTJOYENTUSB = $(JOYENT_USBMAPS:%=$(arch_ROOTTOPOROOT)/%)
31843d17d4SRob Johnston
32843d17d4SRob JohnstonTOPOFILE = \
33843d17d4SRob Johnston	SSG-6049P-E1CR36L-hc-topology.xml \
34843d17d4SRob Johnston	SSG-6049P-E1CR36L-chassis-hc-topology.xml \
35*672fc84aSRobert Mustacchi	SSG-6049P-E1CR36L-slot-hc-topology.xml \
36*672fc84aSRobert Mustacchi	SSG-6049P-E1CR36L-usb.usbtopo
37843d17d4SRob Johnston
38843d17d4SRob JohnstonSRCDIR = ../SMCI,SSG-6049P-E1CR36L
39843d17d4SRob Johnston
40843d17d4SRob JohnstonPLATFORM = SSG-6049P-E1CR36L
41843d17d4SRob Johnston
42843d17d4SRob Johnstoninclude ../Makefile.map
43843d17d4SRob Johnston
44*672fc84aSRobert Mustacchiinstall: $(ROOTJOYENTMAPS) $(ROOTJOYENTUSB)
45843d17d4SRob Johnston#
46843d17d4SRob Johnston# Note, the Joyent S10G5 is based on the SuperMicro SSG-6049P-E1CR36L.
47843d17d4SRob Johnston# Because of that, the topo map used here will work for all such
48843d17d4SRob Johnston# systems.
49843d17d4SRob Johnston#
50843d17d4SRob Johnston$(ROOTJOYENTMAPS): SSG-6049P-E1CR36L-hc-topology.xml
51843d17d4SRob Johnston	$(RM) $@
52843d17d4SRob Johnston	$(SYMLINK) ./$? $@
53*672fc84aSRobert Mustacchi
54*672fc84aSRobert Mustacchi$(ROOTJOYENTUSB): SSG-6049P-E1CR36L-usb.usbtopo
55*672fc84aSRobert Mustacchi	$(RM) $@
56*672fc84aSRobert Mustacchi	$(SYMLINK) ./$? $@
57