Makefile revision 29949e866e40b95795203f3ee46f44a197c946e4
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User# The contents of this file are subject to the terms of the
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews# Common Development and Distribution License (the "License").
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# You may not use this file except in compliance with the License.
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
137fdbc214e99c4cbe57551e9e14f2015c2e42aeTinderbox User# See the License for the specific language governing permissions
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# and limitations under the License.
02b47c5d62e1e827743684c28a08e871da454a2dMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# If applicable, add the following below this CDDL HEADER, with the
e20309353e6246485c521278131d3fced73d7957Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
e20309353e6246485c521278131d3fced73d7957Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
9a5217f827ac0e006016745e5305b31dc0c7767fTinderbox User# CDDL HEADER END
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Use is subject to license terms.
df4ebd8217d02dafc12145b55c4d93d0255d1ec7Tinderbox User#ident "%Z%%M% %I% %E% SMI"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# This makefile drives the production of the sun4u sunfire platform
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# sun4u implementation architecture dependent
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# Path to the base of the uts directory tree (usually /usr/src/uts).
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Include common rules.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinclude $(UTSBASE)/sun4u/sunfire/Makefile.sunfire
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# Default build targets.
7feccf248d2a20a2ae48b290f58ded5abc853e9aTinderbox Usermodlintlib: $(SUNFIRE_KMODS) $(CLOSED_SUNFIRE_KMODS)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinstall: $(ROOT_SUNFIRE_DIR) $(USR_SUNFIRE_DIR) \
693c4232dfdffaff672197d4b9fea944c64cf80aAutomatic Updater .WAIT $(SUNFIRE_KMODS) $(CLOSED_SUNFIRE_KMODS)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# The 'lint.platmod' target lints the sunfire platform module against the sun4u
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# kernel. This ends up doing all the kernel cross-checks, so it takes a couple
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# of minutes. Due to the low ROI, it's not run by default, but it's a good
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# idea to run this if you change os/sunfire.c.
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User @-$(ECHO) "\nSunfire Platform-dependent module: global crosschecks:"
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews @cd $(CLOSED)/uts/sun4u/sunfire/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# Include common targets.