4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # Copyright 2013 Nexenta Systems, Inc. All rights reserved.
27 # This makefile drives the production of all implementation architecture
28 # dependent modules for the i86xpv architecture.
33 include Makefile.i86xpv
37 install := TARGET
= install
38 clean := TARGET
= clean
39 clobber := TARGET
= clobber
40 modlist
:= TARGET
= modlist
41 modlist modlist.intel
:= NO_STATE
= -K
$$MODSTATE$$$$
42 check := TARGET
= check
46 .PARALLEL
: $(PARALLEL_KMODS
) $(XMODS
) modlist modlist.intel
53 def
all clean clobber: setup genassym unix .WAIT \
56 install: install_platforms setup genassym unix .WAIT \
59 # list the modules under i86xpv.
60 modlist
: unix
$(KMODS
) $(XMODS
)
62 # list the modules for Install -k i86xpv.
63 modlist.karch
: modlist modlist.intel
66 @cd
$(SRC
)/uts
/intel
; pwd
; $(MAKE
) $(NO_STATE
) modlist
68 genassym unix
$(KMODS
): FRC
69 @cd
$@
; pwd
; $(MAKE
) $(NO_STATE
) $(TARGET
)
72 @cd cpu
/scripts
; pwd
; $(MAKE
) $(TARGET
)
75 @if
[ -f
$@
/Makefile
]; then \
76 cd
$@
; pwd
; $(MAKE
) $(NO_STATE
) $(TARGET
); \
84 # Definitions for the /platform directory aliases.
85 # Currently none for i86xpv.
90 # Make the /platform directories. This is hardwired here because
91 # the first stage of the project (KBI) only implements the userland
92 # changes, but the only reasonable place to record the aliases is
93 # here in kernel land.
95 install_platforms
: $(ROOT_PSM_DIR
) $(USR_PSM_DIR
) \
96 $(ROOT_PLAT_LINKS
) $(USR_PLAT_LINKS
) \
101 include ..
/Makefile.targ