03831d35f7499c87d51205817c93e9a8d42c4baestevel# CDDL HEADER START
03831d35f7499c87d51205817c93e9a8d42c4baestevel# The contents of this file are subject to the terms of the
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Common Development and Distribution License (the "License").
03831d35f7499c87d51205817c93e9a8d42c4baestevel# You may not use this file except in compliance with the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03831d35f7499c87d51205817c93e9a8d42c4baestevel# See the License for the specific language governing permissions
03831d35f7499c87d51205817c93e9a8d42c4baestevel# and limitations under the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# When distributing Covered Code, include this CDDL HEADER in each
03831d35f7499c87d51205817c93e9a8d42c4baestevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# If applicable, add the following below this CDDL HEADER, with the
03831d35f7499c87d51205817c93e9a8d42c4baestevel# fields enclosed by brackets "[]" replaced with your own identifying
03831d35f7499c87d51205817c93e9a8d42c4baestevel# information: Portions Copyright [yyyy] [name of copyright owner]
03831d35f7499c87d51205817c93e9a8d42c4baestevel# CDDL HEADER END
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Use is subject to license terms.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# This makefile drives the production of all Makaha system
03831d35f7499c87d51205817c93e9a8d42c4baestevel# dependent modules for the sun4u architecture.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Path to the base of the uts directory tree (usually /usr/src/uts).
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Include common rules.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Default build targets.
03831d35f7499c87d51205817c93e9a8d42c4baesteveldef all clean.lint clean clobber modlist: $(MAKAHA_KMODS)
03831d35f7499c87d51205817c93e9a8d42c4baestevel# The 'lint.platmod' target lints the makaha platform module against
03831d35f7499c87d51205817c93e9a8d42c4baestevel# the sun4u kernel. This ends up doing all the kernel cross-checks,
03831d35f7499c87d51205817c93e9a8d42c4baestevel# so it takes a couple of minutes.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Due to the low ROI, it's not run by default, but it's a good
03831d35f7499c87d51205817c93e9a8d42c4baestevel# idea to run this if you change os/makaha.c.
03831d35f7499c87d51205817c93e9a8d42c4baestevel @-$(ECHO) "\nMakaha Platform-dependent module: global crosschecks:"
03831d35f7499c87d51205817c93e9a8d42c4baestevel @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Include common targets.