Makefile revision 9d0d62ad2e60e8f742a2e723d06e88352ee6a1f3
387N/A# The contents of this file are subject to the terms of the 387N/A# Common Development and Distribution License (the "License"). 387N/A# You may not use this file except in compliance with the License. 387N/A# See the License for the specific language governing permissions 387N/A# and limitations under the License. 387N/A# When distributing Covered Code, include this CDDL HEADER in each 387N/A# If applicable, add the following below this CDDL HEADER, with the 387N/A# fields enclosed by brackets "[]" replaced with your own identifying 387N/A# information: Portions Copyright [yyyy] [name of copyright owner] 387N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 387N/A# Use is subject to license terms. 387N/A# This makefile drives the production of all implementation architecture 403N/A# dependent modules for the sun4v architecture. 387N/A# The following are SPARC specific (rather than sun4v) specific modules 387N/A# which are required for the sun4v kernel to completely lint. They are 387N/A# not involved in the build in any other way. In order to minimize 387N/A# build time, it is assumed that they are up to date. But since sun4v 387N/A# is really a separate architecture we cannot use the v7 sparc modules. # CRYPTO_EK_KMODS modules go in the encryption pack (SUNWcry*) # They need to be listed separately since they duplicate global symbols # causing the 2nd pass of lint on the kernel to complain. CRYPTO_EK_KMODS # should not be listed in the lint target. # Don't build this for OpenSolaris, since it will be replaced by # a binary that is signed by Sun RE. # Override for CPU_KMODS... they cannot be built # list the modules under sun4v. # list the modules for Install -k sun4v. # Rules for the /platforms directories. This is hardwired here because # the first stage of the project (KBI) only implements the userland # changes, but the only reasonable place to record the aliases is # create directories in /usr/platform/ for the implementations that are # defined in $(IMPLEMENTED_PLATFORM) # Foreach $(IMPLEMENTED_PLATFORM) there can be a list of $(LINKED_PLATFORMS) # create the links in /usr/platform/ foreach $(LINKED_PLATFORMS) # to it's corresponding $(IMPLEMENTED_PLATFORM). # Make the /platforms directories. This is hardwired here because # the first stage of the project (KBI) only implements the userland # changes, but the only reasonable place to record the aliases is # rules for making include, sbin, lib dirs/links in # Full kernel lint target. @-
$(ECHO) "\nSUN4V KERNEL: global crosschecks:" sed -e
"/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
# Cross-reference customization: build a cross-reference over all of the # sun4v-related directories.