xref: /illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-6049P-E1CR36L/Makefile (revision 8704b322140c9a4ebb9f5cef7c062773b3a8ead4)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright (c) 2018, Joyent, Inc.
14#
15
16# NOTE: The name of the xml file we are building is 'platform'
17# specific, but its build is structured as 'arch' specific since
18# 'uname -i' on all x86 platforms returns i86pc.
19
20ARCH = i86pc
21CLASS = arch
22DTDFILE = topology.dtd.1
23JOYENT_PLATFORMS = \
24	Joyent-S10G5-hc-topology.xml
25
26ROOTJOYENTMAPS = $(JOYENT_PLATFORMS:%=$(arch_ROOTTOPOROOT)/%)
27
28TOPOFILE = \
29	SSG-6049P-E1CR36L-hc-topology.xml \
30	SSG-6049P-E1CR36L-chassis-hc-topology.xml \
31	SSG-6049P-E1CR36L-slot-hc-topology.xml
32
33SRCDIR = ../SMCI,SSG-6049P-E1CR36L
34
35PLATFORM = SSG-6049P-E1CR36L
36
37include ../Makefile.map
38
39install: $(ROOTJOYENTMAPS)
40#
41# Note, the Joyent S10G5 is based on the SuperMicro SSG-6049P-E1CR36L.
42# Because of that, the topo map used here will work for all such
43# systems.
44#
45$(ROOTJOYENTMAPS): SSG-6049P-E1CR36L-hc-topology.xml
46	$(RM) $@
47	$(SYMLINK) ./$? $@
48