xref: /titanic_52/usr/src/uts/intel/Makefile.intel (revision e373b6e444a487df89a5dc6a4a4030b5b2aa87f9)
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#	Brand modules
507#
508BRAND_KMODS	+= sn1_brand s10_brand
509
510#
511#	Exec Class Modules (/kernel/exec):
512#
513EXEC_KMODS	+= elfexec intpexec shbinexec javaexec
514
515#
516#	Scheduling Class Modules (/kernel/sched):
517#
518SCHED_KMODS	+= IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
519
520#
521#	File System Modules (/kernel/fs):
522#
523FS_KMODS	+= autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
524FS_KMODS	+= mntfs namefs nfs objfs zfs zut zev getgen
525FS_KMODS	+= pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
526FS_KMODS	+= smbfs bootfs
527
528#
529#	Streams Modules (/kernel/strmod):
530#
531STRMOD_KMODS	+= bufmod connld dedump ldterm pckt pfmod pipemod
532STRMOD_KMODS	+= ptem redirmod rpcmod rlmod telmod timod
533STRMOD_KMODS	+= spppasyn spppcomp
534STRMOD_KMODS	+= tirdwr ttcompat
535STRMOD_KMODS	+= usbkbm
536STRMOD_KMODS	+= usbms
537STRMOD_KMODS	+= usbwcm
538STRMOD_KMODS	+= usb_ah
539STRMOD_KMODS	+= drcompat
540STRMOD_KMODS	+= cryptmod
541STRMOD_KMODS	+= vuid2ps2
542STRMOD_KMODS	+= vuid3ps2
543STRMOD_KMODS	+= vuidm3p
544STRMOD_KMODS	+= vuidm4p
545STRMOD_KMODS	+= vuidm5p
546
547#
548#	'System' Modules (/kernel/sys):
549#
550SYS_KMODS	+= c2audit
551SYS_KMODS	+= doorfs
552SYS_KMODS	+= exacctsys
553SYS_KMODS	+= inst_sync
554SYS_KMODS	+= kaio
555SYS_KMODS	+= msgsys
556SYS_KMODS	+= pipe
557SYS_KMODS	+= portfs
558SYS_KMODS	+= pset
559SYS_KMODS	+= semsys
560SYS_KMODS	+= shmsys
561SYS_KMODS	+= sysacct
562SYS_KMODS	+= acctctl
563
564#
565#	'Misc' Modules (/kernel/misc)
566#	MISC_KMODS are built both 32-bit and 64-bit
567#	MISC_KMODS_32 are built only 32-bit
568#	MISC_KMODS_64 are built only 64-bit
569#
570MISC_KMODS	+= ac97
571MISC_KMODS	+= acpica
572MISC_KMODS	+= agpmaster
573MISC_KMODS	+= bignum
574MISC_KMODS	+= bootdev
575MISC_KMODS	+= busra
576MISC_KMODS	+= cmlb
577MISC_KMODS	+= consconfig
578MISC_KMODS	+= ctf
579MISC_KMODS	+= dadk
580MISC_KMODS	+= dcopy
581MISC_KMODS	+= dls
582MISC_KMODS	+= drm
583MISC_KMODS	+= fssnap_if
584MISC_KMODS	+= gda
585MISC_KMODS	+= gld
586MISC_KMODS	+= hidparser
587MISC_KMODS	+= hook
588MISC_KMODS	+= hpcsvc
589MISC_KMODS	+= ibcm
590MISC_KMODS	+= ibdm
591MISC_KMODS	+= ibdma
592MISC_KMODS	+= ibmf
593MISC_KMODS	+= ibtl
594MISC_KMODS	+= idm
595MISC_KMODS	+= idmap
596MISC_KMODS	+= iommulib
597MISC_KMODS	+= ipc
598MISC_KMODS	+= kbtrans
599MISC_KMODS	+= kcf
600MISC_KMODS	+= kgssapi
601MISC_KMODS	+= kmech_dummy
602MISC_KMODS	+= kmech_krb5
603MISC_KMODS	+= ksocket
604MISC_KMODS	+= mac
605MISC_KMODS	+= mii
606MISC_KMODS	+= mwlfw
607MISC_KMODS	+= net80211
608MISC_KMODS	+= nfs_dlboot
609MISC_KMODS	+= nfssrv
610MISC_KMODS	+= neti
611MISC_KMODS	+= pci_autoconfig
612MISC_KMODS	+= pcicfg
613MISC_KMODS	+= pcihp
614MISC_KMODS	+= pcmcia
615MISC_KMODS	+= rpcsec
616MISC_KMODS	+= rpcsec_gss
617MISC_KMODS	+= rsmops
618MISC_KMODS	+= sata
619MISC_KMODS	+= scsi
620MISC_KMODS	+= sda
621MISC_KMODS	+= sol_ofs
622MISC_KMODS	+= spuni
623MISC_KMODS	+= strategy
624MISC_KMODS	+= strplumb
625MISC_KMODS	+= tem
626MISC_KMODS	+= tlimod
627MISC_KMODS	+= usba usba10 usbs49_fw
628MISC_KMODS	+= scsi_vhci_f_sym_hds
629MISC_KMODS	+= scsi_vhci_f_sym
630MISC_KMODS	+= scsi_vhci_f_tpgs
631MISC_KMODS	+= scsi_vhci_f_asym_sun
632MISC_KMODS	+= scsi_vhci_f_tape
633MISC_KMODS	+= scsi_vhci_f_tpgs_tape
634MISC_KMODS	+= fctl
635MISC_KMODS	+= emlxs_fw
636MISC_KMODS	+= qlc_fw_2200
637MISC_KMODS	+= qlc_fw_2300
638MISC_KMODS	+= qlc_fw_2400
639MISC_KMODS	+= qlc_fw_2500
640MISC_KMODS	+= qlc_fw_6322
641MISC_KMODS	+= qlc_fw_8100
642MISC_KMODS	+= uathfw
643
644MISC_KMODS	+= klmmod klmops
645
646#
647#	Software Cryptographic Providers (/kernel/crypto):
648#
649CRYPTO_KMODS	+= aes
650CRYPTO_KMODS	+= arcfour
651CRYPTO_KMODS	+= blowfish
652CRYPTO_KMODS	+= des
653CRYPTO_KMODS	+= ecc
654CRYPTO_KMODS	+= edonr
655CRYPTO_KMODS	+= md4
656CRYPTO_KMODS	+= md5
657CRYPTO_KMODS	+= rsa
658CRYPTO_KMODS	+= sha1
659CRYPTO_KMODS	+= sha2
660CRYPTO_KMODS	+= skein
661CRYPTO_KMODS	+= swrand
662
663#
664#	IP Policy Modules (/kernel/ipp)
665#
666IPP_KMODS	+= dlcosmk
667IPP_KMODS	+= flowacct
668IPP_KMODS	+= ipgpc
669IPP_KMODS	+= dscpmk
670IPP_KMODS	+= tokenmt
671IPP_KMODS	+= tswtclmt
672
673#
674#	generic-unix module (/kernel/genunix):
675#
676GENUNIX_KMODS	+= genunix
677
678#
679#	Modules eXcluded from the product:
680#
681
682#
683#	'Dacf' Modules (/kernel/dacf):
684#
685
686#
687#	Performance Counter BackEnd modules (/usr/kernel/pcbe)
688#
689PCBE_KMODS	+= p123_pcbe p4_pcbe opteron_pcbe core_pcbe
690
691#
692#	MAC-Type Plugin Modules (/kernel/mac)
693#
694MAC_KMODS	+= mac_6to4
695MAC_KMODS	+= mac_ether
696MAC_KMODS	+= mac_ipv4
697MAC_KMODS	+= mac_ipv6
698MAC_KMODS	+= mac_wifi
699MAC_KMODS	+= mac_ib
700
701#
702# socketmod (kernel/socketmod)
703#
704SOCKET_KMODS	+= sockpfp
705SOCKET_KMODS	+= socksctp
706SOCKET_KMODS    += socksdp
707SOCKET_KMODS	+= sockrds
708SOCKET_KMODS	+= ksslf
709
710#
711#	kiconv modules (/kernel/kiconv):
712#
713KICONV_KMODS	+= kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
714
715#
716#	'Dacf' Modules (/kernel/dacf):
717#
718DACF_KMODS	+= net_dacf
719
720#
721# Ensure that the variable member of the cpu_t (cpu_m) is defined
722# for the lint builds so as not to cause lint errors during the
723# global cross check.
724#
725LINTFLAGS	+= -D_MACHDEP -I$(UTSBASE)/i86pc
726