xref: /illumos-gate/usr/src/uts/intel/Makefile.intel (revision 31358b0d3ea5b07f4167f88ac393a5eb2a2249d6)
1# CDDL HEADER START
2#
3# The contents of this file are subject to the terms of the
4# Common Development and Distribution License (the "License").
5# You may not use this file except in compliance with the License.
6#
7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8# or http://www.opensolaris.org/os/licensing.
9# See the License for the specific language governing permissions
10# and limitations under the License.
11#
12# When distributing Covered Code, include this CDDL HEADER in each
13# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14# If applicable, add the following below this CDDL HEADER, with the
15# fields enclosed by brackets "[]" replaced with your own identifying
16# information: Portions Copyright [yyyy] [name of copyright owner]
17#
18# CDDL HEADER END
19#
20
21#
22# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright (c) 2013 Andrew Stormont.  All rights reserved.
24# Copyright 2016 Joyent, Inc.
25# Copyright 2016 Garrett D'Amore <garrett@damore.org>
26# Copyright 2017 Nexenta Systems, Inc.
27#
28
29#
30#	This makefile contains the common definitions for all intel
31#	implementation architecture independent modules.
32#
33
34#
35#	Machine type (implementation architecture):
36#
37PLATFORM	 = i86pc
38
39#
40#	Everybody needs to know how to build modstubs.o and to locate unix.o.
41#	Note that unix.o must currently be selected from among the possible
42#	"implementation architectures". Note further, that unix.o is only
43#	used as an optional error check for undefines so (theoretically)
44#	any "implementation architectures" could be used. We choose i86pc
45#	because it is the reference port.
46#
47UNIX_DIR	 = $(UTSBASE)/i86pc/unix
48GENLIB_DIR	 = $(UTSBASE)/intel/genunix
49IPDRV_DIR	 = $(UTSBASE)/intel/ip
50MODSTUBS_DIR	 = $(UNIX_DIR)
51DSF_DIR		 = $(UTSBASE)/$(PLATFORM)/genassym
52LINTS_DIR	 = $(OBJS_DIR)
53LINT_LIB_DIR	 = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)
54
55UNIX_O		 = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
56GENLIB		 = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
57MODSTUBS_O	 = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
58LINT_LIB	 = $(UTSBASE)/i86pc/lint-libs/$(OBJS_DIR)/llib-lunix.ln
59GEN_LINT_LIB	 = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
60
61#
62#	Include the makefiles which define build rule templates, the
63#	collection of files per module, and a few specific flags. Note
64#	that order is significant, just as with an include path. The
65#	first build rule template which matches the files name will be
66#	used. By including these in order from most machine dependent
67#	to most machine independent, we allow a machine dependent file
68#	to be used in preference over a machine independent version
69#	(Such as a machine specific optimization, which preserves the
70#	interfaces.)
71#
72include $(UTSBASE)/intel/Makefile.files
73include $(UTSBASE)/common/Makefile.files
74
75#
76# ----- TRANSITIONAL SECTION --------------------------------------------------
77#
78
79#
80#	Not everything which *should* be a module is a module yet. The
81#	following is a list of such objects which are currently part of
82#	genunix but which might someday become kmods.  This must be
83#	defined before we include Makefile.uts, or else genunix's build
84#	won't be as parallel as we might like.
85#
86NOT_YET_KMODS	 = $(OLDPTY_OBJS) $(PTY_OBJS) $(VCONS_CONF_OBJS) $(MOD_OBJS)
87
88#
89# ----- END OF TRANSITIONAL SECTION -------------------------------------------
90#
91#	Include machine independent rules. Note that this does not imply
92#	that the resulting module from rules in Makefile.uts is	machine
93#	independent. Only that the build rules are machine independent.
94#
95include $(UTSBASE)/Makefile.uts
96
97#
98#	The following must be defined for all implementations:
99#
100MODSTUBS		= $(UTSBASE)/intel/ia32/ml/modstubs.s
101
102#
103#	Define supported builds
104#
105DEF_BUILDS		= $(DEF_BUILDS64) $(DEF_BUILDS32)
106ALL_BUILDS		= $(ALL_BUILDS64) $(ALL_BUILDS32)
107
108#
109#	x86 or amd64 inline templates
110#
111INLINES_32		= $(UTSBASE)/intel/ia32/ml/ia32.il
112INLINES_64		= $(UTSBASE)/intel/amd64/ml/amd64.il
113INLINES			+= $(INLINES_$(CLASS))
114
115#
116#	kernel-specific optimizations; override default in Makefile.master
117#
118
119CFLAGS_XARCH_32		= $(i386_CFLAGS)
120CFLAGS_XARCH_64		= $(amd64_CFLAGS)
121CFLAGS_XARCH		= $(CFLAGS_XARCH_$(CLASS))
122
123COPTFLAG_32		= $(COPTFLAG)
124COPTFLAG_64		= $(COPTFLAG64)
125COPTIMIZE		= $(COPTFLAG_$(CLASS))
126
127CFLAGS			= $(CFLAGS_XARCH)
128CFLAGS			+= $(COPTIMIZE)
129CFLAGS			+= $(INLINES) -D_ASM_INLINES
130CFLAGS			+= $(CCMODE)
131CFLAGS			+= $(SPACEFLAG)
132CFLAGS			+= $(CCUNBOUND)
133CFLAGS			+= $(CFLAGS_uts)
134CFLAGS			+= -xstrconst
135CFLAGS			+= -_gcc=-fstack-protector
136
137ASFLAGS_XARCH_32	= $(i386_ASFLAGS)
138ASFLAGS_XARCH_64	= $(amd64_ASFLAGS)
139ASFLAGS_XARCH		= $(ASFLAGS_XARCH_$(CLASS))
140
141ASFLAGS			+= $(ASFLAGS_XARCH)
142
143#
144#	Define the base directory for installation.
145#
146BASE_INS_DIR	= $(ROOT)
147
148#
149#	Debugging level
150#
151#	Special knowledge of which special debugging options affect which
152#	file is used to optimize the build if these flags are changed.
153#
154DEBUG_DEFS_OBJ32	=
155DEBUG_DEFS_DBG32	= -DDEBUG
156DEBUG_DEFS_OBJ64	=
157DEBUG_DEFS_DBG64	= -DDEBUG
158DEBUG_DEFS		= $(DEBUG_DEFS_$(BUILD_TYPE))
159
160DEBUG_COND_OBJ32	= $(POUND_SIGN)
161DEBUG_COND_DBG32	=
162DEBUG_COND_OBJ64	= $(POUND_SIGN)
163DEBUG_COND_DBG64	=
164IF_DEBUG_OBJ		= $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
165
166$(IF_DEBUG_OBJ)syscall.o	:=	DEBUG_DEFS	+= -DSYSCALLTRACE
167$(IF_DEBUG_OBJ)clock.o		:=	DEBUG_DEFS	+= -DKSLICE=1
168
169#
170#	Collect the preprocessor definitions to be associated with *all*
171#	files.
172#
173ALL_DEFS	 = $(DEBUG_DEFS) $(OPTION_DEFS)
174
175#
176#	The kernels modules which are "implementation architecture"
177#	specific for this machine are enumerated below. Note that most
178#	of these modules must exist (in one form or another) for each
179#	architecture.
180#
181#	Common Drivers (usually pseudo drivers) (/kernel/drv)
182#	DRV_KMODS are built both 32-bit and 64-bit
183#	DRV_KMODS_32 are built only 32-bit
184#	DRV_KMODS_64 are built only 64-bit
185#
186DRV_KMODS	+= aac
187DRV_KMODS	+= aggr
188DRV_KMODS	+= ahci
189DRV_KMODS	+= amd64_gart
190DRV_KMODS	+= amr
191DRV_KMODS	+= agpgart
192DRV_KMODS	+= srn
193DRV_KMODS	+= agptarget
194DRV_KMODS       += arn
195DRV_KMODS	+= arp
196DRV_KMODS	+= asy
197DRV_KMODS	+= ata
198DRV_KMODS	+= ath
199DRV_KMODS	+= atu
200DRV_KMODS	+= audio
201DRV_KMODS	+= audio1575
202DRV_KMODS	+= audio810
203DRV_KMODS	+= audiocmi
204DRV_KMODS	+= audiocmihd
205DRV_KMODS	+= audioemu10k
206DRV_KMODS	+= audioens
207DRV_KMODS	+= audiohd
208DRV_KMODS	+= audioixp
209DRV_KMODS	+= audiols
210DRV_KMODS	+= audiop16x
211DRV_KMODS	+= audiopci
212DRV_KMODS	+= audiosolo
213DRV_KMODS	+= audiots
214DRV_KMODS	+= audiovia823x
215DRV_KMODS_32	+= audiovia97
216DRV_KMODS	+= bl
217DRV_KMODS	+= blkdev
218DRV_KMODS	+= bge
219DRV_KMODS	+= bofi
220DRV_KMODS	+= bpf
221DRV_KMODS	+= bridge
222DRV_KMODS	+= bscbus
223DRV_KMODS	+= bscv
224DRV_KMODS	+= chxge
225DRV_KMODS	+= cxgbe
226DRV_KMODS	+= ntxn
227DRV_KMODS	+= myri10ge
228DRV_KMODS	+= clone
229DRV_KMODS	+= cmdk
230DRV_KMODS	+= cn
231DRV_KMODS	+= conskbd
232DRV_KMODS	+= consms
233DRV_KMODS	+= cpqary3
234DRV_KMODS	+= cpuid
235DRV_KMODS	+= cpunex
236DRV_KMODS	+= crypto
237DRV_KMODS	+= cryptoadm
238DRV_KMODS	+= dca
239DRV_KMODS	+= devinfo
240DRV_KMODS	+= dld
241DRV_KMODS	+= dlpistub
242DRV_KMODS_32	+= dnet
243DRV_KMODS	+= dump
244DRV_KMODS	+= ecpp
245DRV_KMODS	+= emlxs
246DRV_KMODS	+= eventfd
247DRV_KMODS	+= fd
248DRV_KMODS	+= fdc
249DRV_KMODS	+= fm
250DRV_KMODS	+= fssnap
251DRV_KMODS	+= hxge
252DRV_KMODS	+= i8042
253DRV_KMODS	+= i915
254DRV_KMODS	+= icmp
255DRV_KMODS	+= icmp6
256DRV_KMODS	+= intel_nb5000
257DRV_KMODS	+= intel_nhm
258DRV_KMODS	+= ip
259DRV_KMODS	+= ip6
260DRV_KMODS	+= ipd
261DRV_KMODS	+= ipf
262DRV_KMODS       += ipnet
263DRV_KMODS	+= ippctl
264DRV_KMODS	+= ipsecah
265DRV_KMODS	+= ipsecesp
266DRV_KMODS	+= ipw
267DRV_KMODS	+= iwh
268DRV_KMODS	+= iwi
269DRV_KMODS	+= iwn
270DRV_KMODS	+= iwk
271DRV_KMODS	+= iwp
272DRV_KMODS	+= iwscn
273DRV_KMODS	+= kb8042
274DRV_KMODS	+= keysock
275DRV_KMODS	+= kssl
276DRV_KMODS	+= kstat
277DRV_KMODS	+= ksyms
278DRV_KMODS	+= kmdb
279DRV_KMODS	+= llc1
280DRV_KMODS	+= lofi
281DRV_KMODS	+= log
282DRV_KMODS	+= logindmux
283DRV_KMODS	+= mega_sas
284DRV_KMODS	+= mc-amd
285DRV_KMODS	+= mm
286DRV_KMODS	+= mouse8042
287DRV_KMODS	+= mpt_sas
288DRV_KMODS	+= mr_sas
289DRV_KMODS	+= mwl
290DRV_KMODS	+= nca
291DRV_KMODS	+= nsmb
292DRV_KMODS	+= nulldriver
293DRV_KMODS	+= nv_sata
294DRV_KMODS	+= nvme
295DRV_KMODS	+= nxge
296DRV_KMODS	+= oce
297DRV_KMODS	+= openeepr
298DRV_KMODS	+= pci_pci
299DRV_KMODS	+= pcic
300DRV_KMODS	+= pcieb
301DRV_KMODS	+= physmem
302DRV_KMODS	+= pit_beep
303DRV_KMODS	+= pm
304DRV_KMODS	+= poll
305DRV_KMODS	+= pool
306DRV_KMODS	+= power
307DRV_KMODS	+= pseudo
308DRV_KMODS	+= ptc
309DRV_KMODS	+= ptm
310DRV_KMODS	+= pts
311DRV_KMODS	+= ptsl
312DRV_KMODS	+= qlge
313DRV_KMODS	+= radeon
314DRV_KMODS	+= ral
315DRV_KMODS	+= ramdisk
316DRV_KMODS	+= random
317DRV_KMODS	+= rds
318DRV_KMODS	+= rdsv3
319DRV_KMODS	+= rpcib
320DRV_KMODS	+= rsm
321DRV_KMODS	+= rts
322DRV_KMODS	+= rtw
323DRV_KMODS	+= rum
324DRV_KMODS	+= rwd
325DRV_KMODS	+= rwn
326DRV_KMODS	+= sad
327DRV_KMODS	+= sd
328DRV_KMODS	+= sdhost
329DRV_KMODS	+= sgen
330DRV_KMODS	+= si3124
331DRV_KMODS	+= signalfd
332DRV_KMODS	+= smbios
333DRV_KMODS	+= skd
334DRV_KMODS	+= softmac
335DRV_KMODS	+= spdsock
336DRV_KMODS	+= smbsrv
337DRV_KMODS	+= smp
338DRV_KMODS	+= sppp
339DRV_KMODS	+= sppptun
340DRV_KMODS	+= srpt
341DRV_KMODS	+= st
342DRV_KMODS	+= sy
343DRV_KMODS	+= sysevent
344DRV_KMODS	+= sysmsg
345DRV_KMODS	+= tcp
346DRV_KMODS	+= tcp6
347DRV_KMODS	+= timerfd
348DRV_KMODS	+= tl
349DRV_KMODS	+= tnf
350DRV_KMODS	+= tpm
351DRV_KMODS	+= trill
352DRV_KMODS	+= udp
353DRV_KMODS	+= udp6
354DRV_KMODS	+= ucode
355DRV_KMODS	+= ural
356DRV_KMODS	+= uath
357DRV_KMODS	+= urtw
358DRV_KMODS	+= vgatext
359DRV_KMODS	+= vnic
360DRV_KMODS	+= vscan
361DRV_KMODS	+= wc
362DRV_KMODS	+= winlock
363DRV_KMODS	+= wpi
364DRV_KMODS	+= xge
365DRV_KMODS	+= yge
366DRV_KMODS	+= zcons
367DRV_KMODS	+= zyd
368DRV_KMODS	+= simnet
369DRV_KMODS	+= stmf
370DRV_KMODS	+= stmf_sbd
371DRV_KMODS	+= fct
372DRV_KMODS	+= fcoe
373DRV_KMODS	+= fcoet
374DRV_KMODS	+= fcoei
375DRV_KMODS	+= qlt
376DRV_KMODS	+= iscsit
377DRV_KMODS	+= pppt
378DRV_KMODS	+= ncall nsctl sdbc nskern sv
379DRV_KMODS	+= ii rdc rdcsrv rdcstub
380DRV_KMODS	+= iptun
381DRV_KMODS	+= vmxnet3s
382DRV_KMODS	+= pvscsi
383
384#
385# Common code drivers
386#
387
388DRV_KMODS	+= afe
389DRV_KMODS	+= atge
390DRV_KMODS	+= bfe
391DRV_KMODS	+= bnxe
392DRV_KMODS	+= dmfe
393DRV_KMODS	+= e1000g
394DRV_KMODS	+= efe
395DRV_KMODS	+= elxl
396DRV_KMODS	+= hme
397DRV_KMODS	+= mxfe
398DRV_KMODS	+= nge
399DRV_KMODS	+= pcn
400DRV_KMODS	+= rge
401DRV_KMODS	+= rtls
402DRV_KMODS	+= sfe
403DRV_KMODS	+= sfxge
404DRV_KMODS	+= amd8111s
405DRV_KMODS	+= igb
406DRV_KMODS	+= ipmi
407DRV_KMODS	+= iprb
408DRV_KMODS	+= ixgbe
409DRV_KMODS	+= i40e
410DRV_KMODS	+= vr
411
412#
413# Virtio drivers
414#
415
416# Virtio core
417DRV_KMODS	+= virtio
418
419# Virtio block driver
420DRV_KMODS	+= vioblk
421
422# Virtio network driver
423DRV_KMODS	+= vioif
424
425#
426#	DTrace and DTrace Providers
427#
428DRV_KMODS	+= dtrace
429DRV_KMODS	+= fbt
430DRV_KMODS	+= lockstat
431DRV_KMODS	+= profile
432DRV_KMODS	+= sdt
433DRV_KMODS	+= systrace
434DRV_KMODS	+= fasttrap
435DRV_KMODS	+= dcpc
436
437#
438#	I/O framework test drivers
439#
440DRV_KMODS	+= pshot
441DRV_KMODS	+= gen_drv
442DRV_KMODS	+= tvhci tphci tclient
443DRV_KMODS	+= emul64
444
445#
446#	Machine Specific Driver Modules (/kernel/drv):
447#
448DRV_KMODS	+= options
449DRV_KMODS	+= scsi_vhci
450DRV_KMODS	+= pmcs
451DRV_KMODS	+= pmcs8001fw
452DRV_KMODS	+= arcmsr
453DRV_KMODS	+= fcp
454DRV_KMODS	+= fcip
455DRV_KMODS	+= fcsm
456DRV_KMODS	+= fp
457DRV_KMODS	+= qlc
458DRV_KMODS	+= iscsi
459
460#
461#	PCMCIA specific module(s)
462#
463DRV_KMODS	+= pcs
464MISC_KMODS	+= cardbus
465
466#
467#	SCSI Enclosure Services driver
468#
469DRV_KMODS	+= ses
470
471#
472#	USB specific modules
473#
474DRV_KMODS	+= hid
475DRV_KMODS	+= hubd
476DRV_KMODS	+= uhci
477DRV_KMODS	+= ehci
478DRV_KMODS	+= ohci
479DRV_KMODS	+= usb_mid
480DRV_KMODS	+= usb_ia
481DRV_KMODS	+= scsa2usb
482DRV_KMODS	+= usbprn
483DRV_KMODS	+= ugen
484DRV_KMODS	+= usbser
485DRV_KMODS	+= usbsacm
486DRV_KMODS	+= usbsksp
487DRV_KMODS	+= usbsprl
488DRV_KMODS	+= usb_ac
489DRV_KMODS	+= usb_as
490DRV_KMODS	+= usbskel
491DRV_KMODS	+= usbvc
492DRV_KMODS	+= usbftdi
493DRV_KMODS	+= usbecm
494DRV_KMODS	+= xhci
495
496#
497#	USBGEM modules
498#
499DRV_KMODS	+= usbgem
500DRV_KMODS	+= axf
501DRV_KMODS	+= udmf
502DRV_KMODS	+= upf
503DRV_KMODS	+= urf
504
505#
506#	1394 modules
507#
508MISC_KMODS	+= s1394 sbp2
509DRV_KMODS	+= hci1394 scsa1394
510DRV_KMODS	+= av1394
511DRV_KMODS	+= dcam1394
512
513#
514#	InfiniBand pseudo drivers
515#
516DRV_KMODS	+= ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
517DRV_KMODS	+= sol_umad
518
519#
520#	Brand modules
521#
522BRAND_KMODS	+= sn1_brand s10_brand
523
524#
525#	Exec Class Modules (/kernel/exec):
526#
527EXEC_KMODS	+= elfexec intpexec shbinexec javaexec
528
529#
530#	Scheduling Class Modules (/kernel/sched):
531#
532SCHED_KMODS	+= IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
533
534#
535#	File System Modules (/kernel/fs):
536#
537FS_KMODS	+= autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
538FS_KMODS	+= mntfs namefs nfs objfs zfs zut
539FS_KMODS	+= pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
540FS_KMODS	+= smbfs bootfs
541
542#
543#	Streams Modules (/kernel/strmod):
544#
545STRMOD_KMODS	+= bufmod connld dedump ldterm pckt pfmod pipemod
546STRMOD_KMODS	+= ptem redirmod rpcmod rlmod telmod timod
547STRMOD_KMODS	+= spppasyn spppcomp
548STRMOD_KMODS	+= tirdwr ttcompat
549STRMOD_KMODS	+= usbkbm
550STRMOD_KMODS	+= usbms
551STRMOD_KMODS	+= usbwcm
552STRMOD_KMODS	+= usb_ah
553STRMOD_KMODS	+= drcompat
554STRMOD_KMODS	+= cryptmod
555STRMOD_KMODS	+= vuid2ps2
556STRMOD_KMODS	+= vuid3ps2
557STRMOD_KMODS	+= vuidm3p
558STRMOD_KMODS	+= vuidm4p
559STRMOD_KMODS	+= vuidm5p
560
561#
562#	'System' Modules (/kernel/sys):
563#
564SYS_KMODS	+= c2audit
565SYS_KMODS	+= doorfs
566SYS_KMODS	+= exacctsys
567SYS_KMODS	+= inst_sync
568SYS_KMODS	+= kaio
569SYS_KMODS	+= msgsys
570SYS_KMODS	+= pipe
571SYS_KMODS	+= portfs
572SYS_KMODS	+= pset
573SYS_KMODS	+= semsys
574SYS_KMODS	+= shmsys
575SYS_KMODS	+= sysacct
576SYS_KMODS	+= acctctl
577
578#
579#	'Misc' Modules (/kernel/misc)
580#	MISC_KMODS are built both 32-bit and 64-bit
581#	MISC_KMODS_32 are built only 32-bit
582#	MISC_KMODS_64 are built only 64-bit
583#
584MISC_KMODS	+= ac97
585MISC_KMODS	+= acpica
586MISC_KMODS	+= agpmaster
587MISC_KMODS	+= bignum
588MISC_KMODS	+= bootdev
589MISC_KMODS	+= busra
590MISC_KMODS	+= cmlb
591MISC_KMODS	+= consconfig
592MISC_KMODS	+= ctf
593MISC_KMODS	+= dadk
594MISC_KMODS	+= dcopy
595MISC_KMODS	+= dls
596MISC_KMODS	+= drm
597MISC_KMODS	+= fssnap_if
598MISC_KMODS	+= gda
599MISC_KMODS	+= gld
600MISC_KMODS	+= hidparser
601MISC_KMODS	+= hook
602MISC_KMODS	+= hpcsvc
603MISC_KMODS	+= ibcm
604MISC_KMODS	+= ibdm
605MISC_KMODS	+= ibdma
606MISC_KMODS	+= ibmf
607MISC_KMODS	+= ibtl
608MISC_KMODS	+= idm
609MISC_KMODS	+= idmap
610MISC_KMODS	+= iommulib
611MISC_KMODS	+= ipc
612MISC_KMODS	+= kbtrans
613MISC_KMODS	+= kcf
614MISC_KMODS	+= kgssapi
615MISC_KMODS	+= kmech_dummy
616MISC_KMODS	+= kmech_krb5
617MISC_KMODS	+= ksocket
618MISC_KMODS	+= mac
619MISC_KMODS	+= mii
620MISC_KMODS	+= mwlfw
621MISC_KMODS	+= net80211
622MISC_KMODS	+= nfs_dlboot
623MISC_KMODS	+= nfssrv
624MISC_KMODS	+= neti
625MISC_KMODS	+= pci_autoconfig
626MISC_KMODS	+= pcicfg
627MISC_KMODS	+= pcihp
628MISC_KMODS	+= pcmcia
629MISC_KMODS	+= rpcsec
630MISC_KMODS	+= rpcsec_gss
631MISC_KMODS	+= rsmops
632MISC_KMODS	+= sata
633MISC_KMODS	+= scsi
634MISC_KMODS	+= sda
635MISC_KMODS	+= sol_ofs
636MISC_KMODS	+= spuni
637MISC_KMODS	+= strategy
638MISC_KMODS	+= strplumb
639MISC_KMODS	+= tem
640MISC_KMODS	+= tlimod
641MISC_KMODS	+= usba usba10 usbs49_fw
642MISC_KMODS	+= scsi_vhci_f_sym_hds
643MISC_KMODS	+= scsi_vhci_f_sym
644MISC_KMODS	+= scsi_vhci_f_tpgs
645MISC_KMODS	+= scsi_vhci_f_asym_sun
646MISC_KMODS	+= scsi_vhci_f_tape
647MISC_KMODS	+= scsi_vhci_f_tpgs_tape
648MISC_KMODS	+= fctl
649MISC_KMODS	+= emlxs_fw
650MISC_KMODS	+= qlc_fw_2200
651MISC_KMODS	+= qlc_fw_2300
652MISC_KMODS	+= qlc_fw_2400
653MISC_KMODS	+= qlc_fw_2500
654MISC_KMODS	+= qlc_fw_6322
655MISC_KMODS	+= qlc_fw_8100
656MISC_KMODS	+= uathfw
657
658MISC_KMODS	+= klmmod klmops
659
660#
661#	Software Cryptographic Providers (/kernel/crypto):
662#
663CRYPTO_KMODS	+= aes
664CRYPTO_KMODS	+= arcfour
665CRYPTO_KMODS	+= blowfish
666CRYPTO_KMODS	+= des
667CRYPTO_KMODS	+= ecc
668CRYPTO_KMODS	+= edonr
669CRYPTO_KMODS	+= md4
670CRYPTO_KMODS	+= md5
671CRYPTO_KMODS	+= rsa
672CRYPTO_KMODS	+= sha1
673CRYPTO_KMODS	+= sha2
674CRYPTO_KMODS	+= skein
675CRYPTO_KMODS	+= swrand
676
677#
678#	IP Policy Modules (/kernel/ipp)
679#
680IPP_KMODS	+= dlcosmk
681IPP_KMODS	+= flowacct
682IPP_KMODS	+= ipgpc
683IPP_KMODS	+= dscpmk
684IPP_KMODS	+= tokenmt
685IPP_KMODS	+= tswtclmt
686
687#
688#	generic-unix module (/kernel/genunix):
689#
690GENUNIX_KMODS	+= genunix
691
692#
693#	Modules eXcluded from the product:
694#
695
696#
697#	'Dacf' Modules (/kernel/dacf):
698#
699
700#
701#	Performance Counter BackEnd modules (/usr/kernel/pcbe)
702#
703PCBE_KMODS	+= p123_pcbe p4_pcbe opteron_pcbe core_pcbe
704
705#
706#	MAC-Type Plugin Modules (/kernel/mac)
707#
708MAC_KMODS	+= mac_6to4
709MAC_KMODS	+= mac_ether
710MAC_KMODS	+= mac_ipv4
711MAC_KMODS	+= mac_ipv6
712MAC_KMODS	+= mac_wifi
713MAC_KMODS	+= mac_ib
714
715#
716# socketmod (kernel/socketmod)
717#
718SOCKET_KMODS	+= sockpfp
719SOCKET_KMODS	+= socksctp
720SOCKET_KMODS    += socksdp
721SOCKET_KMODS	+= sockrds
722SOCKET_KMODS	+= ksslf
723
724#
725#	kiconv modules (/kernel/kiconv):
726#
727KICONV_KMODS	+= kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
728
729#
730#	'Dacf' Modules (/kernel/dacf):
731#
732DACF_KMODS	+= net_dacf
733
734#
735# Ensure that the variable member of the cpu_t (cpu_m) is defined
736# for the lint builds so as not to cause lint errors during the
737# global cross check.
738#
739LINTFLAGS	+= -D_MACHDEP -I$(UTSBASE)/i86pc
740