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