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