Makefile revision 694c35faa87b858ecdadfe4fc592615f4eefbb07
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 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] 2362N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2362N/A# Use is subject to license terms. 0N/A# This makefile drives the production of all implementation architecture 0N/A# dependent modules for the sun4u architecture. 430N/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 0N/A# is really a separate architecture we cannot use the v7 sparc modules. 0N/A# Override for CPU_KMODS... they cannot be built 0N/A# list the modules under sun4u. 430N/A# list the modules for Install -k sun4u. 0N/A# Privilege constants 0N/A# processor architectures and should be kept in sync. If they are changed in 430N/A# this file make sure that x86 rules are updated as well. 0N/A# The uts/Makefile defines build parallelism for sun4 platforms such that sparc, 766N/A# sun4u and sun4v are all built in parallel. Also this Makefile specifies that 766N/A# all IMPLEMENTATIONS sun4u sub-platforms are built in parallel. This requires 766N/A# appends the '.prereq' string to the original target and executes this Makefile 766N/A# to build any prerequisites needed before the full parallel build can start. 766N/A# After that make continues with normal targets. 766N/A# Any build prerequisites for sun4 and IMPLEMENTATIONS builds should be 0N/A# genassym is used to build dtrace and genunix, so it should be built first. 0N/A# genunix is used by everyone to ctfmerge with. Genunix is merged with sparc/ip 0N/A# so as a side effect this dependency builds sparc/ip as part of the 430N/A# unix is not required by itself but several sun4u platforms require 0N/A# This causes full sun4u/unix to be built before all sun4u platforms and 0N/A# present. This is handled by running make install_h in sun4u/unix directory 0N/A# linted in parallel. 0N/A# Nothing to do with any other prerequisites 0N/A# Platform inter-dependencies 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. 0N/A# Full kernel lint target. 0N/A @-
$(ECHO) "\nSUN4U KERNEL: global crosschecks:" 0N/A# Cross-reference customization: build a cross-reference over all of the 0N/A# sun4u-related directories.