1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21 22# 23# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# Copyright (c) 2018, Joyent, Inc. 26# 27 28# NOTE: The name of the xml file we are building is 'platform' 29# specific, but its build is structured as 'arch' specific since 30# 'uname -i' on all x86 platforms returns i86pc. 31 32ARCH = i86pc 33CLASS = arch 34DTDFILE = topology.dtd.1 35JOYENT_PLATFORMS = \ 36 Joyent-Compute-Platform-3101-hc-topology.xml \ 37 Joyent-Compute-Platform-3102-hc-topology.xml 38 39ROOTJOYENTMAPS = $(JOYENT_PLATFORMS:%=$(arch_ROOTTOPOROOT)/%) 40 41TOPOFILE = \ 42 SSG-2028R-ACR24L-hc-topology.xml \ 43 SSG-2028R-ACR24L-chassis-hc-topology.xml \ 44 SSG-2028R-ACR24L-disk-hc-topology.xml \ 45 SSG-2028R-ACR24L-slot-hc-topology.xml 46 47SRCDIR = ../SMCI,SSG-2028R-ACR24L 48 49PLATFORM = SSG-2028R-ACR24L 50 51CLOBBERFILES += $(ROOTJOYENTMAPS) SSG-2028R-ACR24L-disk-hc-topology.xml 52 53include ../Makefile.map 54 55install: $(ROOTJOYENTMAPS) 56 57# 58# Note, the Joyent Compute Platform 310x is based on the SuperMicro 59# SSG-2028R-ACR24L. Because of that, the topo map used here will work for all 60# such systems. 61# 62$(ROOTJOYENTMAPS): SSG-2028R-ACR24L-hc-topology.xml 63 $(RM) $@ 64 $(SYMLINK) ./$? $@ 65 66