Makefile revision 337fc9e235877b459e389f54daf9833bbc645439
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Use is subject to license terms.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#ident "%Z%%M% %I% %E% SMI"
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington# This makefile drives the production of the kernel/misc/pciehpc module
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# for PCI-E hotplug controller support in PCI-E nexus drivers.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# i86pc implementation architecture dependent
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Path to the base of the uts directory tree (usually /usr/src/uts).
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington# Define the module and object file sets.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterLINTS = $(PCIEHPCNEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Include common rules.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Define targets
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# depends on misc/hpcsvc, misc/acpica and misc/pcie
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# For Hotplug support, the misc/hpcsvc module provides various hooks
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# to support hotplug operations.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# acpica supplies ACPI access routines
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# pcie supplies PCI Express fabric error support
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterLDFLAGS += -dy -Nmisc/hpcsvc -Nmisc/acpica -Nmisc/pcie
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# For now, disable these lint checks; maintainers should endeavor
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# to investigate and remove these for maximum lint coverage.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Please do not carry these forward to new Makefiles.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Default build targets.
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington# Include common targets.