xref: /illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-2029P-ACR24L/Makefile (revision 672fc84a1840ce8ef60fc752e9ea374723d1135a)
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-M12G5-hc-topology.xml
25843d17d4SRob Johnston
26*672fc84aSRobert MustacchiJOYENT_USBMAPS = \
27*672fc84aSRobert Mustacchi	Joyent-M12G5-usb.usbtopo
28843d17d4SRob JohnstonROOTJOYENTMAPS = $(JOYENT_PLATFORMS:%=$(arch_ROOTTOPOROOT)/%)
29*672fc84aSRobert MustacchiROOTJOYENTUSB = $(JOYENT_USBMAPS:%=$(arch_ROOTTOPOROOT)/%)
30843d17d4SRob Johnston
31843d17d4SRob JohnstonTOPOFILE = \
32843d17d4SRob Johnston	SSG-2029P-ACR24L-hc-topology.xml \
33843d17d4SRob Johnston	SSG-2029P-ACR24L-chassis-hc-topology.xml \
34843d17d4SRob Johnston	SSG-2029P-ACR24L-disk-hc-topology.xml \
35*672fc84aSRobert Mustacchi	SSG-2029P-ACR24L-slot-hc-topology.xml \
36*672fc84aSRobert Mustacchi	SSG-2029P-ACR24L-usb.usbtopo
37843d17d4SRob Johnston
38843d17d4SRob JohnstonSRCDIR = ../SMCI,SSG-2029P-ACR24L
39843d17d4SRob Johnston
40843d17d4SRob JohnstonPLATFORM = SSG-2029P-ACR24L
41843d17d4SRob Johnston
42843d17d4SRob JohnstonCLOBBERFILES +=	SSG-2029P-ACR24L-disk-hc-topology.xml
43843d17d4SRob Johnston
44843d17d4SRob Johnstoninclude ../Makefile.map
45843d17d4SRob Johnston
46*672fc84aSRobert Mustacchiinstall: $(ROOTJOYENTMAPS) $(ROOTJOYENTUSB)
47843d17d4SRob Johnston
48843d17d4SRob Johnston#
49843d17d4SRob Johnston# Note, the Joyent M12G5 is based on the SuperMicro SSG-2029P-ACR24L.
50843d17d4SRob Johnston# Because of that, the topo map used here will work for all such
51843d17d4SRob Johnston# systems.
52843d17d4SRob Johnston#
53843d17d4SRob Johnston$(ROOTJOYENTMAPS): SSG-2029P-ACR24L-hc-topology.xml
54843d17d4SRob Johnston	$(RM) $@
55843d17d4SRob Johnston	$(SYMLINK) ./$? $@
56*672fc84aSRobert Mustacchi
57*672fc84aSRobert Mustacchi$(ROOTJOYENTUSB): SSG-2029P-ACR24L-usb.usbtopo
58*672fc84aSRobert Mustacchi	$(RM) $@
59*672fc84aSRobert Mustacchi	$(SYMLINK) ./$? $@
60