xref: /illumos-gate/usr/src/uts/i86pc/Makefile.i86pc (revision 4ab75253)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*4ab75253Smrj# Common Development and Distribution License (the "License").
6*4ab75253Smrj# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
21*4ab75253Smrj
227c478bd9Sstevel@tonic-gate#
237c478bd9Sstevel@tonic-gate# uts/i86pc/Makefile.i86pc
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
267c478bd9Sstevel@tonic-gate# Use is subject to license terms.
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
297c478bd9Sstevel@tonic-gate#
307c478bd9Sstevel@tonic-gate#	This makefile contains the common definitions for the i86pc unix
317c478bd9Sstevel@tonic-gate#	and all i86pc implementation architecture dependent modules.
327c478bd9Sstevel@tonic-gate#
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate#
357c478bd9Sstevel@tonic-gate#	Machine type (implementation architecture):
367c478bd9Sstevel@tonic-gate#
377c478bd9Sstevel@tonic-gatePLATFORM	 = i86pc
387c478bd9Sstevel@tonic-gate
397c478bd9Sstevel@tonic-gate#
407c478bd9Sstevel@tonic-gate#	Everybody needs to know how to build modstubs.o and to locate unix.o
417c478bd9Sstevel@tonic-gate#
427c478bd9Sstevel@tonic-gateUNIX_DIR	 = $(UTSBASE)/$(PLATFORM)/unix
437c478bd9Sstevel@tonic-gateGENLIB_DIR	 = $(UTSBASE)/intel/genunix
447c478bd9Sstevel@tonic-gateMODSTUBS_DIR	 = $(UNIX_DIR)
457c478bd9Sstevel@tonic-gateDSF_DIR		 = $(UTSBASE)/$(PLATFORM)/genassym
467c478bd9Sstevel@tonic-gateLINTS_DIR	 = $(OBJS_DIR)
477c478bd9Sstevel@tonic-gateLINT_LIB_DIR	 = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR)
487c478bd9Sstevel@tonic-gateGEN_LINT_LIB_DIR = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gateDTRACESTUBS_O	 = $(OBJS_DIR)/dtracestubs.o
517c478bd9Sstevel@tonic-gateDTRACESTUBS	 = $(OBJS_DIR)/libdtracestubs.so
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gateSYM_MOD		= $(OBJS_DIR)/unix.sym
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gateUNIX_O		 = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
567c478bd9Sstevel@tonic-gateMODSTUBS_O	 = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
577c478bd9Sstevel@tonic-gateGENLIB	 	 = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
587c478bd9Sstevel@tonic-gateLINT_LIB	 = $(LINT_LIB_DIR)/llib-lunix.ln
597c478bd9Sstevel@tonic-gateGEN_LINT_LIB	 = $(GEN_LINT_LIB_DIR)/llib-lgenunix.ln
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gate#
627c478bd9Sstevel@tonic-gate#	Include the makefiles which define build rule templates, the
637c478bd9Sstevel@tonic-gate#	collection of files per module, and a few specific flags. Note
647c478bd9Sstevel@tonic-gate#	that order is significant, just as with an include path. The
657c478bd9Sstevel@tonic-gate#	first build rule template which matches the files name will be
667c478bd9Sstevel@tonic-gate#	used. By including these in order from most machine dependent
677c478bd9Sstevel@tonic-gate#	to most machine independent, we allow a machine dependent file
687c478bd9Sstevel@tonic-gate#	to be used in preference over a machine independent version
697c478bd9Sstevel@tonic-gate#	(Such as a machine specific optimization, which preserves the
707c478bd9Sstevel@tonic-gate#	interfaces.)
717c478bd9Sstevel@tonic-gate#
727c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/$(PLATFORM)/Makefile.files
737c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/intel/Makefile.files
747c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/common/Makefile.files
757c478bd9Sstevel@tonic-gate
767c478bd9Sstevel@tonic-gate#
777c478bd9Sstevel@tonic-gate#	Include machine independent rules. Note that this does not imply
787c478bd9Sstevel@tonic-gate#	that the resulting module from rules in Makefile.uts is	machine
797c478bd9Sstevel@tonic-gate#	independent. Only that the build rules are machine independent.
807c478bd9Sstevel@tonic-gate#
817c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/Makefile.uts
827c478bd9Sstevel@tonic-gate
837c478bd9Sstevel@tonic-gate#
847c478bd9Sstevel@tonic-gate#	Define supported builds
857c478bd9Sstevel@tonic-gate#
867c478bd9Sstevel@tonic-gateDEF_BUILDS		= $(DEF_BUILDS64) $(DEF_BUILDS32)
877c478bd9Sstevel@tonic-gateALL_BUILDS		= $(ALL_BUILDS64) $(ALL_BUILDS32)
887c478bd9Sstevel@tonic-gate
897c478bd9Sstevel@tonic-gate#
907c478bd9Sstevel@tonic-gate#	x86 or amd64 inline templates
917c478bd9Sstevel@tonic-gate#
927c478bd9Sstevel@tonic-gateINLINES_32		= $(UTSBASE)/intel/ia32/ml/ia32.il
937c478bd9Sstevel@tonic-gateINLINES_64		= $(UTSBASE)/intel/amd64/ml/amd64.il
947c478bd9Sstevel@tonic-gateINLINES			+= $(INLINES_$(CLASS))
957c478bd9Sstevel@tonic-gate
967c478bd9Sstevel@tonic-gate#
977c478bd9Sstevel@tonic-gate#	kernel-specific optimizations; override default in Makefile.master
987c478bd9Sstevel@tonic-gate#
997c478bd9Sstevel@tonic-gate
1007c478bd9Sstevel@tonic-gateCFLAGS_XARCH_32		= $(i386_CFLAGS)
1017c478bd9Sstevel@tonic-gateCFLAGS_XARCH_64		= $(amd64_CFLAGS)
1027c478bd9Sstevel@tonic-gateCFLAGS_XARCH		= $(CFLAGS_XARCH_$(CLASS))
1037c478bd9Sstevel@tonic-gate
1047c478bd9Sstevel@tonic-gateCOPTFLAG_32		= $(COPTFLAG)
1057c478bd9Sstevel@tonic-gateCOPTFLAG_64		= $(COPTFLAG64)
1067c478bd9Sstevel@tonic-gateCOPTIMIZE		= $(COPTFLAG_$(CLASS))
1077c478bd9Sstevel@tonic-gate
1087c478bd9Sstevel@tonic-gateCFLAGS			= $(CFLAGS_XARCH)
1097c478bd9Sstevel@tonic-gateCFLAGS			+= $(COPTIMIZE)
1107c478bd9Sstevel@tonic-gateCFLAGS			+= $(INLINES) -D_ASM_INLINES
1117c478bd9Sstevel@tonic-gateCFLAGS			+= $(CCMODE)
1127c478bd9Sstevel@tonic-gateCFLAGS			+= $(SPACEFLAG)
1137c478bd9Sstevel@tonic-gateCFLAGS			+= $(CCUNBOUND)
1147c478bd9Sstevel@tonic-gateCFLAGS			+= $(CFLAGS_uts)
1157c478bd9Sstevel@tonic-gate
1167c478bd9Sstevel@tonic-gateASFLAGS_XARCH_32	= $(i386_ASFLAGS)
1177c478bd9Sstevel@tonic-gateASFLAGS_XARCH_64	= $(amd64_ASFLAGS)
1187c478bd9Sstevel@tonic-gateASFLAGS_XARCH		= $(ASFLAGS_XARCH_$(CLASS))
1197c478bd9Sstevel@tonic-gate
1207c478bd9Sstevel@tonic-gateASFLAGS			+= $(ASFLAGS_XARCH)
1217c478bd9Sstevel@tonic-gate
1227c478bd9Sstevel@tonic-gateAS_INC_PATH		+= -I$(DSF_DIR)/$(OBJS_DIR)
1237c478bd9Sstevel@tonic-gate
1247c478bd9Sstevel@tonic-gate#
1257c478bd9Sstevel@tonic-gate#	The following must be defined for all implementations:
1267c478bd9Sstevel@tonic-gate#
1277c478bd9Sstevel@tonic-gate#	MAPFILE:	ld mapfile for the build of kernel/unix.
1287c478bd9Sstevel@tonic-gate#	MODSTUBS:	Module stubs source file.
1297c478bd9Sstevel@tonic-gate#	GENASSYM_SRC:	genassym.c
1307c478bd9Sstevel@tonic-gate#
1317c478bd9Sstevel@tonic-gateMAPFILE		 = $(UTSBASE)/$(PLATFORM)/conf/Mapfile
1327c478bd9Sstevel@tonic-gateMODSTUBS	 = $(UTSBASE)/intel/ia32/ml/modstubs.s
1337c478bd9Sstevel@tonic-gateGENASSYM_SRC	 = $(UTSBASE)/$(PLATFORM)/ml/genassym.c
1347c478bd9Sstevel@tonic-gateOFFSETS_SRC	 = $(UTSBASE)/$(PLATFORM)/ml/offsets.in
1357c478bd9Sstevel@tonic-gatePLATFORM_OFFSETS_32	= $(UTSBASE)/$(PLATFORM)/ml/mach_offsets.in
1367c478bd9Sstevel@tonic-gatePLATFORM_OFFSETS_64	= $(UTSBASE)/intel/amd64/ml/mach_offsets.in
1377c478bd9Sstevel@tonic-gatePLATFORM_OFFSETS_SRC	= $(PLATFORM_OFFSETS_$(CLASS))
1387c478bd9Sstevel@tonic-gate
1397c478bd9Sstevel@tonic-gate#
1407c478bd9Sstevel@tonic-gate#	Define the actual specific platforms
1417c478bd9Sstevel@tonic-gate#
1427c478bd9Sstevel@tonic-gateMACHINE_DEFS	 = -D$(PLATFORM) -D_MACHDEP
1437c478bd9Sstevel@tonic-gate
1447c478bd9Sstevel@tonic-gate#
1457c478bd9Sstevel@tonic-gate#	Software workarounds for hardware "features"
1467c478bd9Sstevel@tonic-gate#
1477c478bd9Sstevel@tonic-gate
1487c478bd9Sstevel@tonic-gateinclude	$(UTSBASE)/$(PLATFORM)/Makefile.workarounds
1497c478bd9Sstevel@tonic-gate
1507c478bd9Sstevel@tonic-gate#
1517c478bd9Sstevel@tonic-gate# Simulator flag
1527c478bd9Sstevel@tonic-gate#
1537c478bd9Sstevel@tonic-gatei386_SIMULATOR		= -D_SIMULATOR_SUPPORT
1547c478bd9Sstevel@tonic-gateamd64_SIMULATOR		= -D_SIMULATOR_SUPPORT
1557c478bd9Sstevel@tonic-gate
1567c478bd9Sstevel@tonic-gateSIMULATOR		= $($(MACH)_SIMULATOR)
1577c478bd9Sstevel@tonic-gate
1587c478bd9Sstevel@tonic-gate#
1597c478bd9Sstevel@tonic-gate#	Debugging level
1607c478bd9Sstevel@tonic-gate#
1617c478bd9Sstevel@tonic-gate#	Special knowledge of which special debugging options effect which
1627c478bd9Sstevel@tonic-gate#	file is used to optimize the build if these flags are changed.
1637c478bd9Sstevel@tonic-gate#
1647c478bd9Sstevel@tonic-gate#	XXX: The above could possibly be done for more flags and files, but
1657c478bd9Sstevel@tonic-gate#	     is left as an experiment to the interested reader. Be forewarned,
1667c478bd9Sstevel@tonic-gate#	     that excessive use could lead to maintenance difficulties.
1677c478bd9Sstevel@tonic-gate#
1687c478bd9Sstevel@tonic-gateDEBUG_DEFS_OBJ32	=
1697c478bd9Sstevel@tonic-gateDEBUG_DEFS_DBG32	= -DDEBUG
1707c478bd9Sstevel@tonic-gateDEBUG_DEFS_DBG32	+= $(SIMULATOR)
1717c478bd9Sstevel@tonic-gateDEBUG_DEFS_OBJ64	=
1727c478bd9Sstevel@tonic-gateDEBUG_DEFS_DBG64	= -DDEBUG
1737c478bd9Sstevel@tonic-gateDEBUG_DEFS_DBG64	+= $(SIMULATOR)
1747c478bd9Sstevel@tonic-gateDEBUG_DEFS		= $(DEBUG_DEFS_$(BUILD_TYPE))
1757c478bd9Sstevel@tonic-gate
1767c478bd9Sstevel@tonic-gateDEBUG_COND_OBJ32	:sh = echo \\043
1777c478bd9Sstevel@tonic-gateDEBUG_COND_DBG32	=
1787c478bd9Sstevel@tonic-gateDEBUG_COND_OBJ64	:sh = echo \\043
1797c478bd9Sstevel@tonic-gateDEBUG_COND_DBG64	=
1807c478bd9Sstevel@tonic-gateIF_DEBUG_OBJ		= $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
1817c478bd9Sstevel@tonic-gate
1827c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)trap.o		:= DEBUG_DEFS += -DTRAPDEBUG -DTRAPTRACE
1837c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)syscall_asm.o	:= DEBUG_DEFS += -DSYSCALLTRACE -DTRAPTRACE
1847c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)syscall_asm_amd64.o := DEBUG_DEFS += -DSYSCALLTRACE -DTRAPTRACE
1857c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)fast_trap_asm.o	:= DEBUG_DEFS += -DTRAPTRACE
1867c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)interrupt.o	:= DEBUG_DEFS += -DTRAPTRACE
1877c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)locore.o		:= DEBUG_DEFS += -DTRAPTRACE
1887c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)mp_startup.o	:= DEBUG_DEFS += -DTRAPTRACE
1897c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)machdep.o	:= DEBUG_DEFS += -DTRAPTRACE
1907c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)exception.o	:= DEBUG_DEFS += -DTRAPTRACE
1917c478bd9Sstevel@tonic-gate
1927c478bd9Sstevel@tonic-gate#
1937c478bd9Sstevel@tonic-gate#	Build `options'. These are historical and the need for these
1947c478bd9Sstevel@tonic-gate#	was removed by the module technology.
1957c478bd9Sstevel@tonic-gate#
1967c478bd9Sstevel@tonic-gateOPTION_DEFS	 = -DC2_AUDIT
1977c478bd9Sstevel@tonic-gate
1987c478bd9Sstevel@tonic-gate#
1997c478bd9Sstevel@tonic-gate#	Collect the preprocessor definitions to be associated with *all*
2007c478bd9Sstevel@tonic-gate#	files.
2017c478bd9Sstevel@tonic-gate#
2027c478bd9Sstevel@tonic-gateALL_DEFS	 = $(MACHINE_DEFS) $(WORKAROUND_DEFS) $(DEBUG_DEFS) \
2037c478bd9Sstevel@tonic-gate		   $(OPTION_DEFS)
2047c478bd9Sstevel@tonic-gateGENASSYM_DEFS	 = $(MACHINE_DEFS) $(OPTION_DEFS) \
2057c478bd9Sstevel@tonic-gate			-_gcc=-fno-eliminate-unused-debug-symbols \
2067c478bd9Sstevel@tonic-gate			-_gcc=-fno-eliminate-unused-debug-types
2077c478bd9Sstevel@tonic-gate
2087c478bd9Sstevel@tonic-gate#
2097c478bd9Sstevel@tonic-gate# ----- TRANSITIONAL SECTION --------------------------------------------------
2107c478bd9Sstevel@tonic-gate#
2117c478bd9Sstevel@tonic-gate
2127c478bd9Sstevel@tonic-gate#
2137c478bd9Sstevel@tonic-gate#	Not everything which *should* be a module is a module yet. The
2147c478bd9Sstevel@tonic-gate#	following is a list of such objects which are currently part of
2157c478bd9Sstevel@tonic-gate#	the base kernel but should soon become kmods.
2167c478bd9Sstevel@tonic-gate#
2177c478bd9Sstevel@tonic-gate#	XXX: $(KMACCT_OBJS) is neither in the MT kernel nor was it ever
2187c478bd9Sstevel@tonic-gate#	     made into a module. If it is made MT safe before being made
2197c478bd9Sstevel@tonic-gate#	     into a module, it should be added to this list. It was in
2207c478bd9Sstevel@tonic-gate#	     this list pre ON-4.0.
2217c478bd9Sstevel@tonic-gate#
2227c478bd9Sstevel@tonic-gate#
2237c478bd9Sstevel@tonic-gateMACH_NOT_YET_KMODS	= $(AUTOCONF_OBJS)
2247c478bd9Sstevel@tonic-gate
2257c478bd9Sstevel@tonic-gate#
2267c478bd9Sstevel@tonic-gate# ----- END OF TRANSITIONAL SECTION -------------------------------------------
2277c478bd9Sstevel@tonic-gate#
2287c478bd9Sstevel@tonic-gate
2297c478bd9Sstevel@tonic-gate#
2307c478bd9Sstevel@tonic-gate#	The kernels modules which are "implementation architecture"
2317c478bd9Sstevel@tonic-gate#	specific for this machine are enumerated below. Note that most
2327c478bd9Sstevel@tonic-gate#	of these modules must exist (in one form or another) for each
2337c478bd9Sstevel@tonic-gate#	architecture.
2347c478bd9Sstevel@tonic-gate#
2357c478bd9Sstevel@tonic-gate#	Machine Specific Driver Modules (/kernel/drv)
2367c478bd9Sstevel@tonic-gate#	DRV_KMODS are built both 32-bit and 64-bit
2377c478bd9Sstevel@tonic-gate#	DRV_KMODS_32 are built only 32-bit
2387c478bd9Sstevel@tonic-gate#	DRV_KMODS_64 are built only 64-bit
2397c478bd9Sstevel@tonic-gate#
2407c478bd9Sstevel@tonic-gate#	XXX: How many of these are really machine specific?
2417c478bd9Sstevel@tonic-gate#
2427c478bd9Sstevel@tonic-gateDRV_KMODS	+= rootnex
2437c478bd9Sstevel@tonic-gateDRV_KMODS	+= isa
2447c478bd9Sstevel@tonic-gateDRV_KMODS	+= pci
2457c478bd9Sstevel@tonic-gateDRV_KMODS	+= pcic
24670025d76SjohnnyDRV_KMODS	+= pcie_pci
24770025d76SjohnnyDRV_KMODS	+= npe
2487c478bd9Sstevel@tonic-gate
2497c478bd9Sstevel@tonic-gateDRV_KMODS_32	+= bscv
2507c478bd9Sstevel@tonic-gateDRV_KMODS_32	+= bscbus
2517c478bd9Sstevel@tonic-gateDRV_KMODS	+= elxl
2527c478bd9Sstevel@tonic-gateDRV_KMODS	+= fd
2537c478bd9Sstevel@tonic-gateDRV_KMODS	+= fdc
2547c478bd9Sstevel@tonic-gateDRV_KMODS	+= kb8042
2557c478bd9Sstevel@tonic-gateDRV_KMODS	+= pci-ide
2567c478bd9Sstevel@tonic-gateDRV_KMODS	+= pcn
2577c478bd9Sstevel@tonic-gateDRV_KMODS_32	+= ncrs
2587c478bd9Sstevel@tonic-gateDRV_KMODS_32	+= sbpro
2597c478bd9Sstevel@tonic-gateDRV_KMODS	+= audiovia823x
2607c478bd9Sstevel@tonic-gateDRV_KMODS	+= audio810
2617c478bd9Sstevel@tonic-gateDRV_KMODS	+= audioens
2627c478bd9Sstevel@tonic-gate
2637c478bd9Sstevel@tonic-gateDRV_KMODS	+= ata
2647c478bd9Sstevel@tonic-gateDRV_KMODS_32	+= dnet
2657c478bd9Sstevel@tonic-gateDRV_KMODS	+= iprb
2667c478bd9Sstevel@tonic-gateDRV_KMODS	+= bmc
2677c478bd9Sstevel@tonic-gateDRV_KMODS	+= logi
2687c478bd9Sstevel@tonic-gateDRV_KMODS_32	+= mscsi
2697c478bd9Sstevel@tonic-gateDRV_KMODS_32	+= msm
2707c478bd9Sstevel@tonic-gateDRV_KMODS	+= pcplusmp
2717c478bd9Sstevel@tonic-gateDRV_KMODS	+= rtls
2727c478bd9Sstevel@tonic-gateDRV_KMODS	+= agpgart
2737c478bd9Sstevel@tonic-gateDRV_KMODS	+= agptarget
2747c478bd9Sstevel@tonic-gateDRV_KMODS	+= amd64_gart
2757c478bd9Sstevel@tonic-gate
2767c478bd9Sstevel@tonic-gateDRV_KMODS	+= cpc
2777c478bd9Sstevel@tonic-gate
278fd358c0dSmyersDRV_KMODS	+= power
279fd358c0dSmyers
2807c478bd9Sstevel@tonic-gate#
2817c478bd9Sstevel@tonic-gate#	Exec Class Modules (/kernel/exec):
2827c478bd9Sstevel@tonic-gate#
2837c478bd9Sstevel@tonic-gateEXEC_KMODS	+=
2847c478bd9Sstevel@tonic-gate
2857c478bd9Sstevel@tonic-gate#
2867c478bd9Sstevel@tonic-gate#	Scheduling Class Modules (/kernel/sched):
2877c478bd9Sstevel@tonic-gate#
2887c478bd9Sstevel@tonic-gateSCHED_KMODS	+=
2897c478bd9Sstevel@tonic-gate
2907c478bd9Sstevel@tonic-gate#
2917c478bd9Sstevel@tonic-gate#	File System Modules (/kernel/fs):
2927c478bd9Sstevel@tonic-gate#
2937c478bd9Sstevel@tonic-gateFS_KMODS	+=
2947c478bd9Sstevel@tonic-gate
2957c478bd9Sstevel@tonic-gate#
2967c478bd9Sstevel@tonic-gate#	Streams Modules (/kernel/strmod):
2977c478bd9Sstevel@tonic-gate#
2987c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= vuid2ps2
2997c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= vuid3ps2
3007c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= vuidm3p
3017c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= vuidm4p
3027c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= vuidm5p
3037c478bd9Sstevel@tonic-gate
3047c478bd9Sstevel@tonic-gate#
3057c478bd9Sstevel@tonic-gate#	'System' Modules (/kernel/sys):
3067c478bd9Sstevel@tonic-gate#
3077c478bd9Sstevel@tonic-gateSYS_KMODS	+=
3087c478bd9Sstevel@tonic-gate
3097c478bd9Sstevel@tonic-gate#
3107c478bd9Sstevel@tonic-gate#	'Misc' Modules (/kernel/misc):
3117c478bd9Sstevel@tonic-gate#
312fc1821feSrugratMISC_KMODS	+= pci_autoconfig bootdev acpica pciehpc gfx_private
3137c478bd9Sstevel@tonic-gate
3147c478bd9Sstevel@tonic-gate#
3157c478bd9Sstevel@tonic-gate#	'Mach' Modules (/kernel/mach):
3167c478bd9Sstevel@tonic-gate#
3177c478bd9Sstevel@tonic-gateMACH_KMODS     	+= uppc
3187c478bd9Sstevel@tonic-gate
3197c478bd9Sstevel@tonic-gate#
3207c478bd9Sstevel@tonic-gate#	Modules excluded from the product:
3217c478bd9Sstevel@tonic-gate#
3227c478bd9Sstevel@tonic-gateXMODS		+= spwr
323