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-M12G5-hc-topology.xml 25 26ROOTJOYENTMAPS = $(JOYENT_PLATFORMS:%=$(arch_ROOTTOPOROOT)/%) 27 28TOPOFILE = \ 29 SSG-2029P-ACR24L-hc-topology.xml \ 30 SSG-2029P-ACR24L-chassis-hc-topology.xml \ 31 SSG-2029P-ACR24L-disk-hc-topology.xml \ 32 SSG-2029P-ACR24L-slot-hc-topology.xml 33 34SRCDIR = ../SMCI,SSG-2029P-ACR24L 35 36PLATFORM = SSG-2029P-ACR24L 37 38CLOBBERFILES += SSG-2029P-ACR24L-disk-hc-topology.xml 39 40include ../Makefile.map 41 42install: $(ROOTJOYENTMAPS) 43 44# 45# Note, the Joyent M12G5 is based on the SuperMicro SSG-2029P-ACR24L. 46# Because of that, the topo map used here will work for all such 47# systems. 48# 49$(ROOTJOYENTMAPS): SSG-2029P-ACR24L-hc-topology.xml 50 $(RM) $@ 51 $(SYMLINK) ./$? $@ 52