sd: remove 'ssd' driver support
[unleashed/tickless.git] / usr / src / uts / i86xpv / Makefile
blob778d21a187dec235b0b71e8d8a20bd0fb4153f63
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
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.
31 UTSBASE = ..
33 include Makefile.i86xpv
35 def := TARGET= def
36 all := TARGET= all
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
44 .KEEP_STATE:
46 .PARALLEL: $(PARALLEL_KMODS) $(XMODS) modlist modlist.intel
48 INITIAL_TARGETS = \
49 genassym \
50 unix \
51 cpu/scripts
53 def all clean clobber: setup genassym unix .WAIT \
54 $(KMODS) $(XMODS)
56 install: install_platforms setup genassym unix .WAIT \
57 $(KMODS) $(XMODS)
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
65 modlist.intel:
66 @cd $(SRC)/uts/intel; pwd; $(MAKE) $(NO_STATE) modlist
68 genassym unix $(KMODS): FRC
69 @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
71 setup: FRC
72 @cd cpu/scripts; pwd; $(MAKE) $(TARGET)
74 $(XMODS): FRC
75 @if [ -f $@/Makefile ]; then \
76 cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \
77 else \
78 true; \
81 install_h check: FRC
84 # Definitions for the /platform directory aliases.
85 # Currently none for i86xpv.
87 PLAT_LINKS =
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) \
97 $(OEM_USR_PLAT_LINKS)
99 FRC:
101 include ../Makefile.targ