98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A# Global definitions for sun4u starfire implementation specific modules.
970N/AROOT_STARFIRE_DIR = $(ROOT_PLAT_DIR)/SUNW,Ultra-Enterprise-10000
970N/AROOT_STARFIRE_MOD_DIR = $(ROOT_STARFIRE_DIR)/kernel
970N/AROOT_STARFIRE_KERN_DIR_32 = $(ROOT_STARFIRE_MOD_DIR)
970N/AROOT_STARFIRE_KERN_DIR_64 = $(ROOT_STARFIRE_MOD_DIR)/$(SUBDIR64)
970N/AROOT_STARFIRE_MISC_DIR_32 = $(ROOT_STARFIRE_MOD_DIR)/misc
1003N/AROOT_STARFIRE_MISC_DIR_64 = $(ROOT_STARFIRE_MOD_DIR)/misc/$(SUBDIR64)
970N/AROOT_STARFIRE_DRV_DIR_32 = $(ROOT_STARFIRE_MOD_DIR)/drv
970N/AROOT_STARFIRE_DRV_DIR_64 = $(ROOT_STARFIRE_MOD_DIR)/drv/$(SUBDIR64)
970N/AROOT_STARFIRE_CPU_DIR_32 = $(ROOT_STARFIRE_MOD_DIR)/cpu
970N/AROOT_STARFIRE_CPU_DIR_64 = $(ROOT_STARFIRE_MOD_DIR)/cpu/$(SUBDIR64)
98N/AROOT_STARFIRE_KERN_DIR = $(ROOT_STARFIRE_KERN_DIR_$(CLASS))
1089N/AROOT_STARFIRE_MISC_DIR = $(ROOT_STARFIRE_MISC_DIR_$(CLASS))
98N/AROOT_STARFIRE_DRV_DIR = $(ROOT_STARFIRE_DRV_DIR_$(CLASS))
911N/AROOT_STARFIRE_CPU_DIR = $(ROOT_STARFIRE_CPU_DIR_$(CLASS))
1089N/AROOT_PLAT_MOD_DIRS += $(ROOT_STARFIRE_MOD_DIR)
911N/AROOT_PLAT_MISC_DIRS_32 += $(ROOT_STARFIRE_MISC_DIR_32)
493N/AUSR_STARFIRE_DIR = $(USR_PLAT_DIR)/SUNW,Ultra-Enterprise-10000
493N/AUSR_STARFIRE_INC_DIR = $(USR_STARFIRE_DIR)/include
98N/AUSR_STARFIRE_ISYS_DIR = $(USR_STARFIRE_INC_DIR)/sys
98N/AUSR_STARFIRE_SBIN_DIR = $(USR_STARFIRE_DIR)/sbin
1089N/AUSR_STARFIRE_LIB_DIR = $(USR_STARFIRE_DIR)/lib
98N/ASTARFIRE_KMODS = platmod
98N/ASTARFIRE_KMODS += rootnex sbus pcipsy
1089N/ASTARFIRE_KMODS += cvc cvcredir
705N/ASTARFIRE_KMODS += ngdr ngdrmach
705N/ASTARFIRE_CPU_KMODS += spitfire
606N/A# Include the makefiles which define build rule templates, the
606N/A# collection of files per module, and a few specific flags. Note
606N/A# that order is significant, just as with an include path. The
606N/A# first build rule template which matches the files name will be
606N/A# used. By including these in order from most machine dependent
1089N/A# to most machine independent, we allow a machine dependent file
1097N/A# to be used in preference over a machine independent version
606N/A# (Such as a machine specific optimization, which preserves the
98N/AMODSTUBS_DIR = $(UNIX_DIR)
1089N/A# Define the actual specific platforms
606N/AMACHINE_DEFS = -D$(PLATFORM) -D_MACHDEP -DSFMMU
606N/AMACHINE_DEFS += -D_STARFIRE -D_CPU_SIGNATURE
493N/A# Define for inline pre-processing since
98N/A# cpp not smart about v9 yet.
705N/ACPP_DEFS_64 = -D__sparcv9
493N/ACPP_DEFS = $(CPP_DEFS_$(CLASS))
705N/A# For now, disable these lint checks; maintainers should endeavor
705N/A# to investigate and remove these for maximum lint coverage.
705N/A# Please do not carry these forward to new Makefiles.
970N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
970N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
970N/ALINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
970N/ALINTTAGS += -erroff=E_STATIC_UNUSED
970N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
970N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
970N/ALINTTAGS += -erroff=E_BAD_FORMAT_STR2