2605N/A# The contents of this file are subject to the terms of the
2605N/A# Common Development and Distribution License (the "License").
2605N/A# You may not use this file except in compliance with the License.
2605N/A# See the License for the specific language governing permissions
2605N/A# and limitations under the License.
2605N/A# When distributing Covered Code, include this CDDL HEADER in each
2605N/A# If applicable, add the following below this CDDL HEADER, with the
2605N/A# fields enclosed by brackets "[]" replaced with your own identifying
2605N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2605N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3215N/A# Use is subject to license terms.
2605N/A# Global definitions for sun4u starcat implementation specific modules.
3853N/AROOT_STARCAT_DIR = $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-15000
2605N/AROOT_STARCAT_MOD_DIR = $(ROOT_STARCAT_DIR)/kernel
2605N/AROOT_STARCAT_KERN_DIR_32 = $(ROOT_STARCAT_MOD_DIR)
3853N/AROOT_STARCAT_KERN_DIR_64 = $(ROOT_STARCAT_MOD_DIR)/$(SUBDIR64)
2605N/AROOT_STARCAT_MISC_DIR_32 = $(ROOT_STARCAT_MOD_DIR)/misc
3853N/AROOT_STARCAT_MISC_DIR_64 = $(ROOT_STARCAT_MOD_DIR)/misc/$(SUBDIR64)
3853N/AROOT_STARCAT_DRV_DIR_32 = $(ROOT_STARCAT_MOD_DIR)/drv
3853N/AROOT_STARCAT_DRV_DIR_64 = $(ROOT_STARCAT_MOD_DIR)/drv/$(SUBDIR64)
3853N/AROOT_STARCAT_CPU_DIR_32 = $(ROOT_STARCAT_MOD_DIR)/cpu
3853N/AROOT_STARCAT_CPU_DIR_64 = $(ROOT_STARCAT_MOD_DIR)/cpu/$(SUBDIR64)
2605N/AROOT_STARCAT_CRYPTO_DIR_32 = $(ROOT_STARCAT_MOD_DIR)/crypto
3853N/AROOT_STARCAT_CRYPTO_DIR_64 = $(ROOT_STARCAT_MOD_DIR)/crypto/$(SUBDIR64)
3853N/AROOT_STARCAT_KERN_DIR = $(ROOT_STARCAT_KERN_DIR_$(CLASS))
2637N/AROOT_STARCAT_MISC_DIR = $(ROOT_STARCAT_MISC_DIR_$(CLASS))
3853N/AROOT_STARCAT_DRV_DIR = $(ROOT_STARCAT_DRV_DIR_$(CLASS))
3853N/AROOT_STARCAT_CPU_DIR = $(ROOT_STARCAT_CPU_DIR_$(CLASS))
3853N/AROOT_STARCAT_CRYPTO_DIR = $(ROOT_STARCAT_CRYPTO_DIR_$(CLASS))
3853N/AROOT_PLAT_MOD_DIRS += $(ROOT_STARCAT_MOD_DIR)
3853N/AROOT_PLAT_MISC_DIRS_32 += $(ROOT_STARCAT_MISC_DIR_32)
3853N/AUSR_STARCAT_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Fire-15000
USR_STARCAT_LIB_DIR = $(USR_STARCAT_DIR)/lib
USR_STARCAT_SBIN_DIR = $(USR_STARCAT_DIR)/sbin
USR_STARCAT_INC_DIR = $(USR_STARCAT_DIR)/include
USR_STARCAT_ISYS_DIR = $(USR_STARCAT_INC_DIR)/sys
# Include the makefiles which define build rule templates, the
# collection of files per module, and a few specific flags. Note
# that order is significant, just as with an include path. The
# first build rule template which matches the files name will be
# used. By including these in order from most machine dependent
# to most machine independent, we allow a machine dependent file
# to be used in preference over a machine independent version
# (Such as a machine specific optimization, which preserves the
STARCAT_KMODS += cvcredir
STARCAT_KMODS += gptwo_pci
STARCAT_KMODS += sc_gptwocfg
STARCAT_CPU_KMODS += cheetah cheetahplus
# Links to UltraSparc III crypto modules
STARCAT_CRYPTO_LINKS = aes
MODSTUBS_DIR = $(UNIX_DIR)
UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/
unix.o# Define the actual specific platforms
MACHINE_DEFS = -D$(PLATFORM) -D_MACHDEP -DSFMMU -DMP -DMIXEDCPU_DR_SUPPORTED
MACHINE_DEFS += -D_CPU_SIGNATURE
# Define platform specific value
MACHINE_DEFS += -DNCPU=558
MACHINE_DEFS += -DMAX_CPU_CHIPID=554
MACHINE_DEFS += -DMAX_UPA=1024
MACHINE_DEFS += -DIGN_SIZE=10
MACHINE_DEFS += -DMAX_MEM_NODES=18
# Define for inline pre-processing since
# cpp not smart about v9 yet.
# It's not smart about __sparc either since it only predefines sparc.
CPP_DEFS_64 = -D__sparc -D__sparcv9
CPP_DEFS = $(CPP_DEFS_$(CLASS))
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
LINTTAGS += -erroff=E_STATIC_UNUSED
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV