Makefile revision 7b1019a6d29ccb7999dc76cba3dde1c627e8e609
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# CDDL HEADER START
16f816d3f3c32ae3351834253f52ddd0212bcbf3Timo Sirainen# The contents of this file are subject to the terms of the
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen# Common Development and Distribution License (the "License").
e015e2f7e7f48874495f9df8b0dd192b7ffcb5ccTimo Sirainen# You may not use this file except in compliance with the License.
1098fc409a45e7603701dc94635927a673bee0c1Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# See the License for the specific language governing permissions
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# and limitations under the License.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# CDDL HEADER END
66ecc94150cbce23aad3240135e0782e0a74d479Timo Sirainen# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
ef5fb27361cc5e15766e85e28355750ff04b13c9Timo Sirainen# Use is subject to license terms.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Copyright 2016 Joyent, Inc.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# This makefile drives the production of the PCI autoconfiguration
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# kernel module.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# intel platform dependent
6bc0f424bcdb9119d8159874cf98adfa53eefd9aTimo Sirainen# Path to the base of the uts directory tree (usually /usr/src/uts).
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Define the module and object file sets.
ad850190d946d34966a56838cfdb216e021b5b5fTimo SirainenOBJECTS = $(PCI_AUTOCONFIG_OBJS:%=$(OBJS_DIR)/%)
ad850190d946d34966a56838cfdb216e021b5b5fTimo SirainenLINTS = $(PCI_AUTOCONFIG_OBJS:%.o=$(LINTS_DIR)/%.ln)
eddd9bf1a1369aea4a2715f6be1137da6d17d293Timo Sirainen# Include common rules.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Define targets
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Depends on acpica ACPI CA interpreter and PCI-E framework
1098fc409a45e7603701dc94635927a673bee0c1Timo Sirainen# For now, disable these lint checks; maintainers should endeavor
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# to investigate and remove these for maximum lint coverage.
1098fc409a45e7603701dc94635927a673bee0c1Timo Sirainen# Please do not carry these forward to new Makefiles.
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen$(OBJS_DIR)/pci_boot.o := CERRWARN += -_gcc=-Wno-unused-function
d9fdacd5fb3e07997e5c389739d2054f0c8441d8Timo Sirainen$(OBJS_DIR)/pci_resource.o := CERRWARN += -_gcc=-Wno-unused-function
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Default build targets.
2131ef7a3390f15ea6a958256ea54908f1096350Timo Sirainen# Include common targets.