Makefile revision a90d965d832a5578dbfc2eadd1617e8cccf25264
325N/A# The contents of this file are subject to the terms of the 325N/A# Common Development and Distribution License (the "License"). 325N/A# You may not use this file except in compliance with the License. 325N/A# See the License for the specific language governing permissions 325N/A# and limitations under the License. 325N/A# When distributing Covered Code, include this CDDL HEADER in each 325N/A# If applicable, add the following below this CDDL HEADER, with the 325N/A# fields enclosed by brackets "[]" replaced with your own identifying 325N/A# information: Portions Copyright [yyyy] [name of copyright owner] 325N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 325N/A# Use is subject to license terms. 325N/A# ident "%Z%%M% %I% %E% SMI" 325N/A# This makefile drives the production of all implementation architecture 325N/A# dependent modules for the sun4v architecture. 325N/A# The following are SPARC specific (rather than sun4v) specific modules 325N/A# which are required for the sun4v kernel to completely lint. They are 325N/A# not involved in the build in any other way. In order to minimize 325N/A# build time, it is assumed that they are up to date. But since sun4v 325N/A# is really a separate architecture we cannot use the v7 sparc modules. 325N/A# CRYPTO_EK_KMODS modules go in the encryption pack (SUNWcry*) 325N/A# They need to be listed separately since they duplicate global symbols 325N/A# causing the 2nd pass of lint on the kernel to complain. CRYPTO_EK_KMODS 325N/A# 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.