sd: remove 'ssd' driver support
[unleashed/tickless.git] / usr / src / uts / i86pc / Makefile
blob2bc6d6bcd49ac079ce1e505070caaa06566109e0
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 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # This makefile drives the production of all implementation architecture
26 # dependent modules for the i86pc architecture.
29 UTSBASE = ..
31 include Makefile.i86pc
33 def := TARGET= def
34 all := TARGET= all
35 install := TARGET= install
36 install_h := TARGET= install_h
37 clean := TARGET= clean
38 clobber := TARGET= clobber
39 modlist := TARGET= modlist
40 modlist modlist.intel := NO_STATE= -K $$MODSTATE$$$$
41 check := TARGET= check
43 .KEEP_STATE:
45 .PARALLEL: $(PARALLEL_KMODS) $(XMODS) modlist modlist.intel
47 INITIAL_TARGETS = \
48 genassym \
49 unix \
50 cpu/scripts
52 def all clean clobber: setup genassym unix .WAIT \
53 $(KMODS) $(XMODS) $(IMPLEMENTATIONS)
55 install: install_platforms setup genassym unix .WAIT \
56 $(KMODS) $(XMODS) $(IMPLEMENTATIONS)
58 # list the modules under i86pc.
59 modlist: unix $(KMODS) $(XMODS) $(IMPLEMENTATIONS)
61 # list the modules for Install -k i86pc.
62 modlist.karch: modlist modlist.intel
64 modlist.intel:
65 @cd $(SRC)/uts/intel; pwd; $(MAKE) $(NO_STATE) modlist
67 genassym unix $(KMODS): FRC
68 @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
70 setup: FRC
71 @cd cpu/scripts; pwd; $(MAKE) $(TARGET)
73 $(IMPLEMENTATIONS): FRC
74 @cd $@; pwd; THISIMPL=$@ $(MAKE) $(NO_STATE) $(TARGET)
76 $(XMODS): FRC
77 @if [ -f $@/Makefile ]; then \
78 cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \
79 else \
80 true; \
83 install_h check: $(IMPLEMENTATIONS) FRC
86 # Definitions for the /platform directory aliases.
87 # Currently none for i86pc.
89 PLAT_LINKS =
92 # Make the /platform directories. This is hardwired here because
93 # the first stage of the project (KBI) only implements the userland
94 # changes, but the only reasonable place to record the aliases is
95 # here in kernel land.
97 install_platforms: $(ROOT_PSM_DIR) $(USR_PSM_DIR) \
98 $(ROOT_PLAT_LINKS) $(USR_PLAT_LINKS) \
99 $(OEM_USR_PLAT_LINKS)
101 include ../Makefile.targ