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