xref: /illumos-gate/usr/src/lib/fm/topo/maps/SMCI,SSG-6049P-E1CR36L/Makefile (revision 66582b606a8194f7f3ba5b3a3a6dca5b0d346361)
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
26JOYENT_USBMAPS = \
27	Joyent-S10G5-usb.usbtopo
28
29ROOTJOYENTMAPS = $(JOYENT_PLATFORMS:%=$(arch_ROOTTOPOROOT)/%)
30ROOTJOYENTUSB = $(JOYENT_USBMAPS:%=$(arch_ROOTTOPOROOT)/%)
31
32TOPOFILE = \
33	SSG-6049P-E1CR36L-hc-topology.xml \
34	SSG-6049P-E1CR36L-chassis-hc-topology.xml \
35	SSG-6049P-E1CR36L-slot-hc-topology.xml \
36	SSG-6049P-E1CR36L-usb.usbtopo
37
38SRCDIR = ../SMCI,SSG-6049P-E1CR36L
39
40PLATFORM = SSG-6049P-E1CR36L
41
42include ../Makefile.map
43
44install: $(ROOTJOYENTMAPS) $(ROOTJOYENTUSB)
45#
46# Note, the Joyent S10G5 is based on the SuperMicro SSG-6049P-E1CR36L.
47# Because of that, the topo map used here will work for all such
48# systems.
49#
50$(ROOTJOYENTMAPS): SSG-6049P-E1CR36L-hc-topology.xml
51	$(RM) $@
52	$(SYMLINK) ./$? $@
53
54$(ROOTJOYENTUSB): SSG-6049P-E1CR36L-usb.usbtopo
55	$(RM) $@
56	$(SYMLINK) ./$? $@
57