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