xref: /titanic_52/usr/src/uts/sparc/Makefile.sparc (revision 4ab75253616c6d68e967c10221bb663c0bfa99df)
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# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
247c478bd9Sstevel@tonic-gate# Use is subject to license terms.
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate#	This makefile contains the common definitions for all sparc
297c478bd9Sstevel@tonic-gate#	implementation architecture independent modules.
307c478bd9Sstevel@tonic-gate#
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate#
347c478bd9Sstevel@tonic-gate#	Define supported builds
357c478bd9Sstevel@tonic-gate#
367c478bd9Sstevel@tonic-gateDEF_BUILDS	= $(DEF_BUILDS64)
377c478bd9Sstevel@tonic-gateALL_BUILDS	= $(ALL_BUILDS64)
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#	Note that unix.o must currently be selected from among the possible
427c478bd9Sstevel@tonic-gate#	"implementation architectures". Note further, that unix.o is only
437c478bd9Sstevel@tonic-gate#	used as an optional error check for undefines so (theoretically)
447c478bd9Sstevel@tonic-gate#	any "implementation architectures" could be used. We choose sun4u
457c478bd9Sstevel@tonic-gate#	because it is the reference port.
467c478bd9Sstevel@tonic-gate#
477c478bd9Sstevel@tonic-gateUNIX_DIR	 = $(UTSBASE)/sun4u/unix
487c478bd9Sstevel@tonic-gateGENLIB_DIR	 = $(UTSBASE)/sun4u/genunix
497c478bd9Sstevel@tonic-gateIPDRV_DIR	 = $(UTSBASE)/sparc/ip
507c478bd9Sstevel@tonic-gateMODSTUBS_DIR	 = $(UNIX_DIR)
517c478bd9Sstevel@tonic-gateDSF_DIR		 = $(UNIX_DIR)
527c478bd9Sstevel@tonic-gateLINTS_DIR	 = $(OBJS_DIR)
537c478bd9Sstevel@tonic-gateLINT_LIB_DIR	 = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR)
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		 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/libgenunix.so
587c478bd9Sstevel@tonic-gate
597c478bd9Sstevel@tonic-gateLINT_LIB_32	 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln
607c478bd9Sstevel@tonic-gateGEN_LINT_LIB_32	 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
617c478bd9Sstevel@tonic-gate
627c478bd9Sstevel@tonic-gateLINT_LIB_64	 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln
637c478bd9Sstevel@tonic-gateGEN_LINT_LIB_64	 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
647c478bd9Sstevel@tonic-gate
657c478bd9Sstevel@tonic-gateLINT_LIB	 = $(LINT_LIB_$(CLASS))
667c478bd9Sstevel@tonic-gateGEN_LINT_LIB	 = $(GEN_LINT_LIB_$(CLASS))
677c478bd9Sstevel@tonic-gate
687c478bd9Sstevel@tonic-gateLINT32_DIRS	 = $(LINT32_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
697c478bd9Sstevel@tonic-gateLINT32_FILES	 = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
707c478bd9Sstevel@tonic-gate
717c478bd9Sstevel@tonic-gateLINT64_DIRS	 = $(LINT64_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
727c478bd9Sstevel@tonic-gateLINT64_FILES	 = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln)
737c478bd9Sstevel@tonic-gate
747c478bd9Sstevel@tonic-gate#
757c478bd9Sstevel@tonic-gate#	Include the makefiles which define build rule templates, the
767c478bd9Sstevel@tonic-gate#	collection of files per module, and a few specific flags. Note
777c478bd9Sstevel@tonic-gate#	that order is significant, just as with an include path. The
787c478bd9Sstevel@tonic-gate#	first build rule template which matches the files name will be
797c478bd9Sstevel@tonic-gate#	used. By including these in order from most machine dependent
807c478bd9Sstevel@tonic-gate#	to most machine independent, we allow a machine dependent file
817c478bd9Sstevel@tonic-gate#	to be used in preference over a machine independent version
827c478bd9Sstevel@tonic-gate#	(Such as a machine specific optimization, which preserves the
837c478bd9Sstevel@tonic-gate#	interfaces.)
847c478bd9Sstevel@tonic-gate#
857c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sparc/Makefile.files
867c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sparc/v9/Makefile.files
877c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sun/Makefile.files
887c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/common/Makefile.files
897c478bd9Sstevel@tonic-gate
907c478bd9Sstevel@tonic-gate#
917c478bd9Sstevel@tonic-gate#	Include machine independent rules. Note that this does not imply
927c478bd9Sstevel@tonic-gate#	that the resulting module from rules in Makefile.uts is	machine
937c478bd9Sstevel@tonic-gate#	independent. Only that the build rules are machine independent.
947c478bd9Sstevel@tonic-gate#
957c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/Makefile.uts
967c478bd9Sstevel@tonic-gate
977c478bd9Sstevel@tonic-gate#
987c478bd9Sstevel@tonic-gate#	machine specific optimization, override default in Makefile.master
997c478bd9Sstevel@tonic-gate#
1007c478bd9Sstevel@tonic-gateXARCH_32	= -xarch=v8
1017c478bd9Sstevel@tonic-gateXARCH_64	= -xarch=v9
1027c478bd9Sstevel@tonic-gateXARCH		= $(XARCH_$(CLASS))
1037c478bd9Sstevel@tonic-gate
1047c478bd9Sstevel@tonic-gateCOPTIMIZE_32	= -xO3
1057c478bd9Sstevel@tonic-gateCOPTIMIZE_64	= -xO3
1067c478bd9Sstevel@tonic-gateCOPTIMIZE	= $(COPTIMIZE_$(CLASS))
1077c478bd9Sstevel@tonic-gate
1087c478bd9Sstevel@tonic-gateCCMODE		= -Xa
1097c478bd9Sstevel@tonic-gate
1107c478bd9Sstevel@tonic-gateCFLAGS_32	= -xcg92
1117c478bd9Sstevel@tonic-gateCFLAGS_64	= -xchip=ultra $(CCABS32) $(CCREGSYM)
1127c478bd9Sstevel@tonic-gateCFLAGS		= $(CFLAGS_$(CLASS))
1137c478bd9Sstevel@tonic-gate
1147c478bd9Sstevel@tonic-gateCFLAGS		+= $(XARCH)
1157c478bd9Sstevel@tonic-gateCFLAGS		+= $(COPTIMIZE)
1167c478bd9Sstevel@tonic-gateCFLAGS		+= $(EXTRA_CFLAGS)
1177c478bd9Sstevel@tonic-gateCFLAGS		+= $(XAOPT)
1182b616c6cSwesolowsCFLAGS		+= $(INLINES) -D_ASM_INLINES
1197c478bd9Sstevel@tonic-gateCFLAGS		+= $(CCMODE)
1207c478bd9Sstevel@tonic-gateCFLAGS		+= $(SPACEFLAG)
1217c478bd9Sstevel@tonic-gateCFLAGS		+= $(CERRWARN)
1227c478bd9Sstevel@tonic-gateCFLAGS		+= $(CTF_FLAGS)
1237c478bd9Sstevel@tonic-gateCFLAGS		+= $(C99MODE)
1247c478bd9Sstevel@tonic-gateCFLAGS		+= $(CCUNBOUND)
1257c478bd9Sstevel@tonic-gateCFLAGS		+= -xregs=no%float
1267c478bd9Sstevel@tonic-gate
1277c478bd9Sstevel@tonic-gateASFLAGS		+= $(XARCH)
1287c478bd9Sstevel@tonic-gate
1297c478bd9Sstevel@tonic-gateLINT_DEFS_32	=
1307c478bd9Sstevel@tonic-gateLINT_DEFS_64	= -Xarch=v9
1317c478bd9Sstevel@tonic-gateLINT_DEFS	+= $(LINT_DEFS_$(CLASS))
1327c478bd9Sstevel@tonic-gate
1337c478bd9Sstevel@tonic-gate#
1347c478bd9Sstevel@tonic-gate#	The following must be defined for all implementations:
1357c478bd9Sstevel@tonic-gate#
1367c478bd9Sstevel@tonic-gate#	MODSTUBS:	Module stubs source file.
1377c478bd9Sstevel@tonic-gate#
1387c478bd9Sstevel@tonic-gateMODSTUBS	 = $(UTSBASE)/sparc/ml/modstubs.s
1397c478bd9Sstevel@tonic-gate
1407c478bd9Sstevel@tonic-gate#
1417c478bd9Sstevel@tonic-gate#	Define the actual specific platforms - obviously none.
1427c478bd9Sstevel@tonic-gate#
1437c478bd9Sstevel@tonic-gateMACHINE_DEFS	 =
1447c478bd9Sstevel@tonic-gate
1457c478bd9Sstevel@tonic-gate#
1467c478bd9Sstevel@tonic-gate#	Debugging level
1477c478bd9Sstevel@tonic-gate#
1487c478bd9Sstevel@tonic-gate#	Special knowledge of which special debugging options effect which
1497c478bd9Sstevel@tonic-gate#	file is used to optimize the build if these flags are changed.
1507c478bd9Sstevel@tonic-gate#
1517c478bd9Sstevel@tonic-gate#	XXX: The above could possibly be done for more flags and files, but
1527c478bd9Sstevel@tonic-gate#	     is left as an experiment to the interested reader. Be forewarned,
1537c478bd9Sstevel@tonic-gate#	     that excessive use could lead to maintenance difficulties.
1547c478bd9Sstevel@tonic-gate#
1557c478bd9Sstevel@tonic-gateDEBUG_DEFS_OBJ32	=
1567c478bd9Sstevel@tonic-gateDEBUG_DEFS_DBG32	= -DDEBUG
1577c478bd9Sstevel@tonic-gateDEBUG_DEFS_OBJ64	=
1587c478bd9Sstevel@tonic-gateDEBUG_DEFS_DBG64	= -DDEBUG
1597c478bd9Sstevel@tonic-gateDEBUG_DEFS		= $(DEBUG_DEFS_$(BUILD_TYPE))
1607c478bd9Sstevel@tonic-gate
1617c478bd9Sstevel@tonic-gateDEBUG_COND_OBJ32	:sh = echo \\043
1627c478bd9Sstevel@tonic-gateDEBUG_COND_DBG32	=
1637c478bd9Sstevel@tonic-gateDEBUG_COND_OBJ64	:sh = echo \\043
1647c478bd9Sstevel@tonic-gateDEBUG_COND_DBG64	=
1657c478bd9Sstevel@tonic-gateIF_DEBUG_OBJ		= $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
1667c478bd9Sstevel@tonic-gate
1677c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)syscall.o	:=	DEBUG_DEFS	+= -DSYSCALLTRACE
1687c478bd9Sstevel@tonic-gate$(IF_DEBUG_OBJ)clock.o		:=	DEBUG_DEFS	+= -DKSLICE=1
1697c478bd9Sstevel@tonic-gate
1707c478bd9Sstevel@tonic-gate# Comment these out if you don't want dispatcher lock statistics.
1717c478bd9Sstevel@tonic-gate
1727c478bd9Sstevel@tonic-gate# $(IF_DEBUG_OBJ)disp_lock.o	:= DEBUG_DEFS	+= -DDISP_LOCK_STATS
1737c478bd9Sstevel@tonic-gate
1747c478bd9Sstevel@tonic-gate#
1757c478bd9Sstevel@tonic-gate# This rather strange collection of definitions ensures that lint sees
1767c478bd9Sstevel@tonic-gate# 'struct cpu' containing a fully declared embedded 'struct machcpu'
1777c478bd9Sstevel@tonic-gate#
1787c478bd9Sstevel@tonic-gate# There's something deeply dissatisfying about this.
1797c478bd9Sstevel@tonic-gate#
1807c478bd9Sstevel@tonic-gateLINTMACHFLAGS = -D_MACHDEP -I../../sun4 -I../../$(PLATFORM) -I../../sfmmu
1817c478bd9Sstevel@tonic-gate$(LINTS_DIR)/kcpc.ln	:=	LINTFLAGS += $(LINTMACHFLAGS)
1827c478bd9Sstevel@tonic-gate$(LINTS_DIR)/kdi.ln	:=	LINTFLAGS += $(LINTMACHFLAGS)
1837c478bd9Sstevel@tonic-gate$(LINTS_DIR)/msacct.ln	:=	LINTFLAGS += $(LINTMACHFLAGS)
1847c478bd9Sstevel@tonic-gate$(LINTS_DIR)/thread.ln	:=	LINTFLAGS += $(LINTMACHFLAGS)
1857c478bd9Sstevel@tonic-gate
1867c478bd9Sstevel@tonic-gate#
1877c478bd9Sstevel@tonic-gate#	Build `options'. These are mostly historical and the need for these
1887c478bd9Sstevel@tonic-gate#	is largely removed by the module technology. However, the static
1897c478bd9Sstevel@tonic-gate#	build will continue to require these.
1907c478bd9Sstevel@tonic-gate#
1917c478bd9Sstevel@tonic-gateOPTION_DEFS	 = -DC2_AUDIT
1927c478bd9Sstevel@tonic-gate
1937c478bd9Sstevel@tonic-gate#
1947c478bd9Sstevel@tonic-gate#	Collect the preprocessor definitions to be associated with *all*
1957c478bd9Sstevel@tonic-gate#	files.
1967c478bd9Sstevel@tonic-gate#
1977c478bd9Sstevel@tonic-gateALL_DEFS	 = $(MACHINE_DEFS) $(DEBUG_DEFS) $(OPTION_DEFS)
1987c478bd9Sstevel@tonic-gate#
1997c478bd9Sstevel@tonic-gate# ----- TRANSITIONAL SECTION --------------------------------------------------
2007c478bd9Sstevel@tonic-gate#
2017c478bd9Sstevel@tonic-gate
2027c478bd9Sstevel@tonic-gate#
2037c478bd9Sstevel@tonic-gate#	Not everything which *should* be a module is a module yet. The
2047c478bd9Sstevel@tonic-gate#	following is a list of such objects which are currently part of
2057c478bd9Sstevel@tonic-gate#	the base kernel but should soon become kmods.
2067c478bd9Sstevel@tonic-gate#
2077c478bd9Sstevel@tonic-gateNOT_YET_KMODS	 = $(OLDPTY_OBJS) $(PTY_OBJS) $(MOD_OBJS)
2087c478bd9Sstevel@tonic-gate
2097c478bd9Sstevel@tonic-gate#
2107c478bd9Sstevel@tonic-gate# ----- END OF TRANSITIONAL SECTION -------------------------------------------
2117c478bd9Sstevel@tonic-gate
2127c478bd9Sstevel@tonic-gate#
2137c478bd9Sstevel@tonic-gate#	The kernels modules which are "implementation architecture"
2147c478bd9Sstevel@tonic-gate#	specific for this machine are enumerated below. Note that most
2157c478bd9Sstevel@tonic-gate#	of these modules must exist (in one form or another) for each
2167c478bd9Sstevel@tonic-gate#	architecture.
2177c478bd9Sstevel@tonic-gate#
2187c478bd9Sstevel@tonic-gate#	Common Drivers (usually pseudo drivers) (/kernel/drv):
2197c478bd9Sstevel@tonic-gate#
2207c478bd9Sstevel@tonic-gateDRV_KMODS	+= aggr arp bl bofi clone cn conskbd consms cpuid
2210ace5881Sgm89044DRV_KMODS	+= crypto cryptoadm dca devinfo dump
2227c478bd9Sstevel@tonic-gateDRV_KMODS	+= dtrace fasttrap fbt lockstat profile sdt systrace
2237c478bd9Sstevel@tonic-gateDRV_KMODS	+= fssnap glm icmp icmp6 ip ip6 ipsecah
2247c478bd9Sstevel@tonic-gateDRV_KMODS	+= ipsecesp isp iwscn keysock kmdb kstat ksyms llc1 llc2
2257c478bd9Sstevel@tonic-gateDRV_KMODS	+= lofi
226c28749e9SkaisDRV_KMODS	+= log logindmux kssl mm mpt nca pm poll pool
2277c478bd9Sstevel@tonic-gateDRV_KMODS	+= pseudo ptc ptm pts ptsl ramdisk random rsm rts sad se
2287c478bd9Sstevel@tonic-gateDRV_KMODS	+= spdsock sppp sppptun sy sysevent sysmsg
2297c478bd9Sstevel@tonic-gateDRV_KMODS	+= tcp tcp6 tl tnf ttymux udp udp6 vol wc winlock zcons
2307c478bd9Sstevel@tonic-gateDRV_KMODS	+= ippctl sctp sctp6
2317c478bd9Sstevel@tonic-gateDRV_KMODS	+= dld
2327c478bd9Sstevel@tonic-gateDRV_KMODS	+= ipf pfil
2337c478bd9Sstevel@tonic-gateDRV_KMODS	+= rpcib
2347c478bd9Sstevel@tonic-gateDRV_KMODS	+= vni
2357c478bd9Sstevel@tonic-gate
2367c478bd9Sstevel@tonic-gate#
2377c478bd9Sstevel@tonic-gate#       Hardware Drivers in common space
2387c478bd9Sstevel@tonic-gate#
2397c478bd9Sstevel@tonic-gateDRV_KMODS       += ixgb
240c7fd2ed0Sgs150176DRV_KMODS	+= rge
2417c478bd9Sstevel@tonic-gate
2427c478bd9Sstevel@tonic-gate#
2437c478bd9Sstevel@tonic-gate#	Machine Specific Driver Modules (/kernel/drv):
2447c478bd9Sstevel@tonic-gate#
245*4ab75253SmrjDRV_KMODS	+= audio1575 audiovia823x audio810 audiocs audioens audiots
2467c478bd9Sstevel@tonic-gateDRV_KMODS	+= bge bpp eri esp fas hme
2477c478bd9Sstevel@tonic-gateDRV_KMODS	+= openeepr options sd ses sgen st
2487c478bd9Sstevel@tonic-gateDRV_KMODS	+= ssd socal
2497c478bd9Sstevel@tonic-gateDRV_KMODS	+= ecpp
2507c478bd9Sstevel@tonic-gateDRV_KMODS	+= uata dad ifp
2517c478bd9Sstevel@tonic-gateDRV_KMODS	+= hid hubd ehci ohci uhci usb_mid scsa2usb usbprn ugen
2524de26129Sxs156463DRV_KMODS	+= usbser usbser_edge usbsksp usbsprl
2537c478bd9Sstevel@tonic-gateDRV_KMODS	+= usb_as usb_ac
2547c478bd9Sstevel@tonic-gateDRV_KMODS	+= usbskel
2558eea8e29Sap25164DRV_KMODS	+= hci1394 av1394 scsa1394 dcam1394
2567c478bd9Sstevel@tonic-gateDRV_KMODS	+= sbp2
2577c478bd9Sstevel@tonic-gateDRV_KMODS	+= scsi_vhci
2587c478bd9Sstevel@tonic-gateDRV_KMODS	+= ib ibd
2597c478bd9Sstevel@tonic-gateDRV_KMODS	+= xge
2607c478bd9Sstevel@tonic-gateDRV_KMODS	+= chxge
261f8d2de6bSjchuDRV_KMODS	+= pci_pci px_pci pcie
262fd9cb95cSsethgDRV_KMODS	+= i8042 kb8042 mouse8042
2637c478bd9Sstevel@tonic-gate
2647c478bd9Sstevel@tonic-gate#
2657c478bd9Sstevel@tonic-gate#	I/O framework test drivers
2667c478bd9Sstevel@tonic-gate#
2677c478bd9Sstevel@tonic-gateDRV_KMODS	+= pshot
2687c478bd9Sstevel@tonic-gateDRV_KMODS	+= gen_drv
2697c478bd9Sstevel@tonic-gateDRV_KMODS	+= tvhci tphci tclient
270b1dd958fScthDRV_KMODS	+= emul64
2717c478bd9Sstevel@tonic-gate
2727c478bd9Sstevel@tonic-gate#
2737c478bd9Sstevel@tonic-gate# PCMCIA specific module(s)
2747c478bd9Sstevel@tonic-gate#
2757c478bd9Sstevel@tonic-gateDRV_KMODS	+= pem stp4020 pcs pcic
2767c478bd9Sstevel@tonic-gateMISC_KMODS	+= busra dada pcmcia
2777c478bd9Sstevel@tonic-gateDRV_KMODS	+= pcata pcelx pcmem pcram pcser
2787c478bd9Sstevel@tonic-gate
2797c478bd9Sstevel@tonic-gate# Add lvm
2807c478bd9Sstevel@tonic-gate#
2817c478bd9Sstevel@tonic-gateDRV_KMODS       += md
2827c478bd9Sstevel@tonic-gateMISC_KMODS      += md_mirror md_stripe md_hotspares md_raid md_trans md_notify
2837c478bd9Sstevel@tonic-gateMISC_KMODS      += md_sp
2847c478bd9Sstevel@tonic-gate
2857c478bd9Sstevel@tonic-gate#
2867c478bd9Sstevel@tonic-gate#	Exec Class Modules (/kernel/exec):
2877c478bd9Sstevel@tonic-gate#
2887c478bd9Sstevel@tonic-gateEXEC_KMODS	+= aoutexec elfexec intpexec javaexec
2897c478bd9Sstevel@tonic-gate
2907c478bd9Sstevel@tonic-gate#
2917c478bd9Sstevel@tonic-gate#	Scheduling Class Modules (/kernel/sched):
2927c478bd9Sstevel@tonic-gate#
2937c478bd9Sstevel@tonic-gateSCHED_KMODS	+= RT TS RT_DPTBL TS_DPTBL IA FSS FX FX_DPTBL
2947c478bd9Sstevel@tonic-gate
2957c478bd9Sstevel@tonic-gate#
2967c478bd9Sstevel@tonic-gate#	File System Modules (/kernel/fs):
2977c478bd9Sstevel@tonic-gate#
298fa9e4066SahrensFS_KMODS	+= devfs fdfs fifofs hsfs lofs namefs nfs pcfs tmpfs zfs
2997c478bd9Sstevel@tonic-gateFS_KMODS	+= specfs udfs ufs autofs cachefs procfs sockfs mntfs
3007c478bd9Sstevel@tonic-gateFS_KMODS	+= ctfs objfs
3017c478bd9Sstevel@tonic-gate
3027c478bd9Sstevel@tonic-gate#
3037c478bd9Sstevel@tonic-gate#	Streams Modules (/kernel/strmod):
3047c478bd9Sstevel@tonic-gate#
3057c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= 6to4tun atun bufmod connld dedump ldterm ms pckt pfmod
3067c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= pipemod ptem redirmod rpcmod rlmod telmod timod
3077c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= spppasyn spppcomp
3087c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= tirdwr ttcompat tun
3097c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= usbkbm usbms usb_ah
3107c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= drcompat
3117c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= nattymod
3127c478bd9Sstevel@tonic-gateSTRMOD_KMODS	+= cryptmod
313fd9cb95cSsethgSTRMOD_KMODS	+= vuid3ps2
3147c478bd9Sstevel@tonic-gate
3157c478bd9Sstevel@tonic-gate#
3167c478bd9Sstevel@tonic-gate#	'System' Modules (/kernel/sys):
3177c478bd9Sstevel@tonic-gate#
3187c478bd9Sstevel@tonic-gateSYS_KMODS	+= c2audit
3197c478bd9Sstevel@tonic-gateSYS_KMODS	+= exacctsys
3207c478bd9Sstevel@tonic-gateSYS_KMODS	+= inst_sync kaio msgsys semsys shmsys sysacct pipe
3217c478bd9Sstevel@tonic-gateSYS_KMODS	+= doorfs pset acctctl portfs
3227c478bd9Sstevel@tonic-gate
3237c478bd9Sstevel@tonic-gate#
3247c478bd9Sstevel@tonic-gate#	'User' Modules (/kernel/misc):
3257c478bd9Sstevel@tonic-gate#
3267c478bd9Sstevel@tonic-gateMISC_KMODS	+= amsrc1 amsrc2 audiosup diaudio mixer
3277c478bd9Sstevel@tonic-gateMISC_KMODS	+= consconfig gld ipc nfs_dlboot nfssrv scsi
3287c478bd9Sstevel@tonic-gateMISC_KMODS	+= strplumb swapgeneric klmmod klmops tlimod
3297c478bd9Sstevel@tonic-gateMISC_KMODS	+= krtld
3307c478bd9Sstevel@tonic-gateMISC_KMODS	+= rpcsec rpcsec_gss kgssapi kmech_dummy
3317c478bd9Sstevel@tonic-gateMISC_KMODS	+= kmech_krb5
3327c478bd9Sstevel@tonic-gateMISC_KMODS	+= fssnap_if
3337c478bd9Sstevel@tonic-gateMISC_KMODS	+= hidparser kbtrans usba usba10
3347c478bd9Sstevel@tonic-gateMISC_KMODS	+= s1394
3357c478bd9Sstevel@tonic-gateMISC_KMODS	+= hpcsvc pcicfg pcihp
3367c478bd9Sstevel@tonic-gateMISC_KMODS	+= rsmops
3377c478bd9Sstevel@tonic-gateMISC_KMODS	+= phx
3387c478bd9Sstevel@tonic-gateMISC_KMODS	+= kcf
3397c478bd9Sstevel@tonic-gateMISC_KMODS	+= ibcm
3407c478bd9Sstevel@tonic-gateMISC_KMODS	+= ibdm
3417c478bd9Sstevel@tonic-gateMISC_KMODS	+= ibmf
3427c478bd9Sstevel@tonic-gateMISC_KMODS	+= ibtl
3437c478bd9Sstevel@tonic-gateMISC_KMODS	+= ctf
3447c478bd9Sstevel@tonic-gateMISC_KMODS	+= zmod
345210db224SerichengMISC_KMODS	+= mac dls
3463ccda647SlcleeMISC_KMODS	+= cmlb
3477c478bd9Sstevel@tonic-gate
3487c478bd9Sstevel@tonic-gate#
3497c478bd9Sstevel@tonic-gate#	Software Cryptographic Providers (/kernel/crypto):
3507c478bd9Sstevel@tonic-gate#
3517c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= aes
3527c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= arcfour
3537c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= blowfish
3547c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= des
3557c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= md5
3567c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= rsa
3577c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= sha1
3587c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= sha2
3597c478bd9Sstevel@tonic-gateCRYPTO_KMODS	+= swrand
3607c478bd9Sstevel@tonic-gate
3617c478bd9Sstevel@tonic-gate#
3627c478bd9Sstevel@tonic-gate# IP Policy Modules (/kernel/ipp):
3637c478bd9Sstevel@tonic-gate#
3647c478bd9Sstevel@tonic-gateIPP_KMODS	+= dlcosmk
3657c478bd9Sstevel@tonic-gateIPP_KMODS	+= flowacct
3667c478bd9Sstevel@tonic-gateIPP_KMODS	+= ipgpc
3677c478bd9Sstevel@tonic-gateIPP_KMODS	+= dscpmk
3687c478bd9Sstevel@tonic-gateIPP_KMODS	+= tokenmt
3697c478bd9Sstevel@tonic-gateIPP_KMODS	+= tswtclmt
3707c478bd9Sstevel@tonic-gate
3717c478bd9Sstevel@tonic-gate#
3727c478bd9Sstevel@tonic-gate# 'Dacf' modules (/kernel/dacf)
3737c478bd9Sstevel@tonic-gateDACF_KMODS	+= consconfig_dacf
3747c478bd9Sstevel@tonic-gate
3757c478bd9Sstevel@tonic-gate#
3767c478bd9Sstevel@tonic-gate#	SVVS Testing Modules (/kernel/strmod):
3777c478bd9Sstevel@tonic-gate#
3787c478bd9Sstevel@tonic-gate#	These are streams and driver modules which are not to be
3797c478bd9Sstevel@tonic-gate#	delivered with a released system. However, during development
3807c478bd9Sstevel@tonic-gate#	it is convenient to build and install the SVVS kernel modules.
3817c478bd9Sstevel@tonic-gate#
3827c478bd9Sstevel@tonic-gateSVVS_KMODS	+= lmodb lmode lmodr lmodt lo tidg tivc tmux
3837c478bd9Sstevel@tonic-gate
3847c478bd9Sstevel@tonic-gateSVVS		+= svvs
3857c478bd9Sstevel@tonic-gate
3867c478bd9Sstevel@tonic-gate#
3877c478bd9Sstevel@tonic-gate#	Modules eXcluded from the product:
3887c478bd9Sstevel@tonic-gate#
3895e2b915aSxy150489XMODS		+= wsdrv tavor daplt e1000g
3907c478bd9Sstevel@tonic-gate
3917c478bd9Sstevel@tonic-gate#
3927c478bd9Sstevel@tonic-gate#	'Dacf' Modules (/kernel/dacf):
3937c478bd9Sstevel@tonic-gate#
3947c478bd9Sstevel@tonic-gateDACF_KMODS	+= usb_ac_dacf
395