xref: /illumos-gate/usr/src/uts/intel/Makefile.intel (revision 142d813a06c6f9a6142e2c276b62129a17a31a65)
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 2019 Joyent, Inc.
25# Copyright 2016 Garrett D'Amore <garrett@damore.org>
26# Copyright 2018 Nexenta Systems, Inc.
27# Copyright 2019 RackTop Systems
28#
29
30#
31#	This makefile contains the common definitions for all intel
32#	implementation architecture independent modules.
33#
34
35#
36#	Machine type (implementation architecture):
37#
38PLATFORM	 = i86pc
39
40#
41#	Everybody needs to know how to build modstubs.o and to locate unix.o.
42#	Note that unix.o must currently be selected from among the possible
43#	"implementation architectures". Note further, that unix.o is only
44#	used as an optional error check for undefines so (theoretically)
45#	any "implementation architectures" could be used. We choose i86pc
46#	because it is the reference port.
47#
48UNIX_DIR	 = $(UTSBASE)/i86pc/unix
49GENLIB_DIR	 = $(UTSBASE)/intel/genunix
50IPDRV_DIR	 = $(UTSBASE)/intel/ip
51MODSTUBS_DIR	 = $(UNIX_DIR)
52DSF_DIR		 = $(UTSBASE)/$(PLATFORM)/genassym
53LINTS_DIR	 = $(OBJS_DIR)
54LINT_LIB_DIR	 = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)
55
56UNIX_O		 = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
57GENLIB		 = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
58MODSTUBS_O	 = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
59LINT_LIB	 = $(UTSBASE)/i86pc/lint-libs/$(OBJS_DIR)/llib-lunix.ln
60GEN_LINT_LIB	 = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
61
62#
63#	Include the makefiles which define build rule templates, the
64#	collection of files per module, and a few specific flags. Note
65#	that order is significant, just as with an include path. The
66#	first build rule template which matches the files name will be
67#	used. By including these in order from most machine dependent
68#	to most machine independent, we allow a machine dependent file
69#	to be used in preference over a machine independent version
70#	(Such as a machine specific optimization, which preserves the
71#	interfaces.)
72#
73include $(UTSBASE)/intel/Makefile.files
74include $(UTSBASE)/common/Makefile.files
75
76#
77# ----- TRANSITIONAL SECTION --------------------------------------------------
78#
79
80#
81#	Not everything which *should* be a module is a module yet. The
82#	following is a list of such objects which are currently part of
83#	genunix but which might someday become kmods.  This must be
84#	defined before we include Makefile.uts, or else genunix's build
85#	won't be as parallel as we might like.
86#
87NOT_YET_KMODS	 = $(OLDPTY_OBJS) $(PTY_OBJS) $(VCONS_CONF_OBJS) $(MOD_OBJS)
88
89#
90# ----- END OF TRANSITIONAL SECTION -------------------------------------------
91#
92#	Include machine independent rules. Note that this does not imply
93#	that the resulting module from rules in Makefile.uts is	machine
94#	independent. Only that the build rules are machine independent.
95#
96include $(UTSBASE)/Makefile.uts
97
98#
99#	The following must be defined for all implementations:
100#
101MODSTUBS		= $(UTSBASE)/intel/ia32/ml/modstubs.s
102
103#
104#	Define supported builds
105#
106DEF_BUILDS		= $(DEF_BUILDS64)
107ALL_BUILDS		= $(ALL_BUILDS64)
108
109#
110#	x86 or amd64 inline templates
111#
112INLINES_32		= $(UTSBASE)/intel/ia32/ml/ia32.il
113INLINES_64		= $(UTSBASE)/intel/amd64/ml/amd64.il
114INLINES			+= $(INLINES_$(CLASS))
115
116#
117#	kernel-specific optimizations; override default in Makefile.master
118#
119
120CFLAGS_XARCH_32		= $(i386_CFLAGS)
121CFLAGS_XARCH_64		= $(amd64_CFLAGS)
122CFLAGS_XARCH		= $(CFLAGS_XARCH_$(CLASS))
123
124COPTFLAG_32		= $(COPTFLAG)
125COPTFLAG_64		= $(COPTFLAG64)
126COPTIMIZE		= $(COPTFLAG_$(CLASS))
127
128CFLAGS			= $(CFLAGS_XARCH)
129CFLAGS			+= $(COPTIMIZE)
130CFLAGS			+= $(INLINES) -D_ASM_INLINES
131CFLAGS			+= $(CCMODE)
132CFLAGS			+= $(SPACEFLAG)
133CFLAGS			+= $(CCUNBOUND)
134CFLAGS			+= $(CFLAGS_uts)
135CFLAGS			+= -xstrconst
136CFLAGS			+= -_gcc=-fstack-protector
137
138ASFLAGS_XARCH_32	= $(i386_ASFLAGS)
139ASFLAGS_XARCH_64	= $(amd64_ASFLAGS)
140ASFLAGS_XARCH		= $(ASFLAGS_XARCH_$(CLASS))
141
142ASFLAGS			+= $(ASFLAGS_XARCH)
143
144#
145#	Define the base directory for installation.
146#
147BASE_INS_DIR	= $(ROOT)
148
149#
150#	Debugging level
151#
152#	Special knowledge of which special debugging options affect which
153#	file is used to optimize the build if these flags are changed.
154#
155DEBUG_DEFS_OBJ32	=
156DEBUG_DEFS_DBG32	= -DDEBUG
157DEBUG_DEFS_OBJ64	=
158DEBUG_DEFS_DBG64	= -DDEBUG
159DEBUG_DEFS		= $(DEBUG_DEFS_$(BUILD_TYPE))
160
161DEBUG_COND_OBJ32	= $(POUND_SIGN)
162DEBUG_COND_DBG32	=
163DEBUG_COND_OBJ64	= $(POUND_SIGN)
164DEBUG_COND_DBG64	=
165IF_DEBUG_OBJ		= $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
166
167$(IF_DEBUG_OBJ)syscall.o	:=	DEBUG_DEFS	+= -DSYSCALLTRACE
168$(IF_DEBUG_OBJ)clock.o		:=	DEBUG_DEFS	+= -DKSLICE=1
169
170#
171#	Collect the preprocessor definitions to be associated with *all*
172#	files.
173#
174ALL_DEFS	 = $(DEBUG_DEFS) $(OPTION_DEFS)
175
176#
177#	The kernels modules which are "implementation architecture"
178#	specific for this machine are enumerated below. Note that most
179#	of these modules must exist (in one form or another) for each
180#	architecture.
181#
182#	Common Drivers (usually pseudo drivers) (/kernel/drv)
183#	DRV_KMODS are built both 32-bit and 64-bit
184#	DRV_KMODS_32 are built only 32-bit
185#	DRV_KMODS_64 are built only 64-bit
186#
187DRV_KMODS	+= aac
188DRV_KMODS	+= aggr
189DRV_KMODS	+= ahci
190DRV_KMODS	+= amr
191DRV_KMODS	+= srn
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	+= 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	+= 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	+= icmp
251DRV_KMODS	+= icmp6
252DRV_KMODS	+= intel_nb5000
253DRV_KMODS	+= intel_nhm
254DRV_KMODS	+= ip
255DRV_KMODS	+= ip6
256DRV_KMODS	+= ipd
257DRV_KMODS	+= ipf
258DRV_KMODS       += ipnet
259DRV_KMODS	+= ippctl
260DRV_KMODS	+= ipsecah
261DRV_KMODS	+= ipsecesp
262DRV_KMODS	+= ipw
263DRV_KMODS	+= iwh
264DRV_KMODS	+= iwi
265DRV_KMODS	+= iwn
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	+= ral
310DRV_KMODS	+= ramdisk
311DRV_KMODS	+= random
312DRV_KMODS	+= rds
313DRV_KMODS	+= rdsv3
314DRV_KMODS	+= rpcib
315DRV_KMODS	+= rsm
316DRV_KMODS	+= rts
317DRV_KMODS	+= rtw
318DRV_KMODS	+= rum
319DRV_KMODS	+= rwd
320DRV_KMODS	+= rwn
321DRV_KMODS	+= sad
322DRV_KMODS	+= sd
323DRV_KMODS	+= sdhost
324DRV_KMODS	+= sgen
325DRV_KMODS	+= si3124
326DRV_KMODS	+= signalfd
327DRV_KMODS	+= smbios
328DRV_KMODS	+= skd
329DRV_KMODS	+= softmac
330DRV_KMODS	+= spdsock
331DRV_KMODS	+= smbsrv
332DRV_KMODS	+= smp
333DRV_KMODS	+= sppp
334DRV_KMODS	+= sppptun
335DRV_KMODS	+= srpt
336DRV_KMODS	+= st
337DRV_KMODS	+= sy
338DRV_KMODS	+= sysevent
339DRV_KMODS	+= sysmsg
340DRV_KMODS	+= tcp
341DRV_KMODS	+= tcp6
342DRV_KMODS	+= timerfd
343DRV_KMODS	+= tl
344DRV_KMODS	+= tnf
345DRV_KMODS	+= tpm
346DRV_KMODS	+= trill
347DRV_KMODS	+= udp
348DRV_KMODS	+= udp6
349DRV_KMODS	+= ucode
350DRV_KMODS	+= ural
351DRV_KMODS	+= uath
352DRV_KMODS	+= urtw
353DRV_KMODS	+= vgatext
354DRV_KMODS	+= vnic
355DRV_KMODS	+= vscan
356DRV_KMODS	+= wc
357DRV_KMODS	+= winlock
358DRV_KMODS	+= wpi
359DRV_KMODS	+= xge
360DRV_KMODS	+= yge
361DRV_KMODS	+= zcons
362DRV_KMODS	+= zyd
363DRV_KMODS	+= simnet
364DRV_KMODS	+= stmf
365DRV_KMODS	+= stmf_sbd
366DRV_KMODS	+= fct
367DRV_KMODS	+= fcoe
368DRV_KMODS	+= fcoet
369DRV_KMODS	+= fcoei
370DRV_KMODS	+= qlt
371DRV_KMODS	+= iscsit
372DRV_KMODS	+= pppt
373DRV_KMODS	+= iptun
374DRV_KMODS	+= vmxnet3s
375DRV_KMODS	+= pvscsi
376
377#
378# Common code drivers
379#
380
381DRV_KMODS	+= afe
382DRV_KMODS	+= atge
383DRV_KMODS	+= bfe
384DRV_KMODS	+= bnx
385DRV_KMODS	+= bnxe
386DRV_KMODS	+= dmfe
387DRV_KMODS	+= e1000g
388DRV_KMODS	+= efe
389DRV_KMODS	+= elxl
390DRV_KMODS	+= hme
391DRV_KMODS	+= mxfe
392DRV_KMODS	+= nge
393DRV_KMODS	+= pcn
394DRV_KMODS	+= qede
395DRV_KMODS	+= rge
396DRV_KMODS	+= rtls
397DRV_KMODS	+= sfe
398DRV_KMODS	+= sfxge
399DRV_KMODS	+= amd8111s
400DRV_KMODS	+= igb
401DRV_KMODS	+= ipmi
402DRV_KMODS	+= iprb
403DRV_KMODS	+= ixgbe
404DRV_KMODS	+= i40e
405DRV_KMODS	+= vr
406
407#
408# Virtio drivers
409#
410
411# Virtio core
412DRV_KMODS	+= virtio
413
414# Virtio block driver
415DRV_KMODS	+= vioblk
416
417# Virtio network driver
418DRV_KMODS	+= vioif
419
420#
421#	DTrace and DTrace Providers
422#
423DRV_KMODS	+= dtrace
424DRV_KMODS	+= fbt
425DRV_KMODS	+= lockstat
426DRV_KMODS	+= profile
427DRV_KMODS	+= sdt
428DRV_KMODS	+= systrace
429DRV_KMODS	+= fasttrap
430DRV_KMODS	+= dcpc
431
432#
433#	I/O framework test drivers
434#
435DRV_KMODS	+= pshot
436DRV_KMODS	+= gen_drv
437DRV_KMODS	+= tvhci tphci tclient
438DRV_KMODS	+= emul64
439
440#
441#	Machine Specific Driver Modules (/kernel/drv):
442#
443DRV_KMODS	+= options
444DRV_KMODS	+= scsi_vhci
445DRV_KMODS	+= pmcs
446DRV_KMODS	+= pmcs8001fw
447DRV_KMODS	+= arcmsr
448DRV_KMODS	+= fcp
449DRV_KMODS	+= fcip
450DRV_KMODS	+= fcsm
451DRV_KMODS	+= fp
452DRV_KMODS	+= qlc
453DRV_KMODS	+= iscsi
454
455#
456#	PCMCIA specific module(s)
457#
458DRV_KMODS	+= pcs
459MISC_KMODS	+= cardbus
460
461#
462#	SCSI Enclosure Services driver
463#
464DRV_KMODS	+= ses
465
466#
467#	USB specific modules
468#
469DRV_KMODS	+= hid
470DRV_KMODS	+= hubd
471DRV_KMODS	+= uhci
472DRV_KMODS	+= ehci
473DRV_KMODS	+= ohci
474DRV_KMODS	+= usb_mid
475DRV_KMODS	+= usb_ia
476DRV_KMODS	+= scsa2usb
477DRV_KMODS	+= usbprn
478DRV_KMODS	+= ugen
479DRV_KMODS	+= usbser
480DRV_KMODS	+= usbsacm
481DRV_KMODS	+= usbsksp
482DRV_KMODS	+= usbsprl
483DRV_KMODS	+= usb_ac
484DRV_KMODS	+= usb_as
485DRV_KMODS	+= usbskel
486DRV_KMODS	+= usbvc
487DRV_KMODS	+= usbftdi
488DRV_KMODS	+= usbecm
489DRV_KMODS	+= xhci
490
491#
492#	USBGEM modules
493#
494DRV_KMODS	+= usbgem
495DRV_KMODS	+= axf
496DRV_KMODS	+= udmf
497DRV_KMODS	+= upf
498DRV_KMODS	+= urf
499
500#
501#	1394 modules
502#
503MISC_KMODS	+= s1394 sbp2
504DRV_KMODS	+= hci1394 scsa1394
505DRV_KMODS	+= av1394
506DRV_KMODS	+= dcam1394
507
508#
509#	InfiniBand pseudo drivers
510#
511DRV_KMODS	+= ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
512DRV_KMODS	+= sol_umad
513
514#
515#	Brand modules
516#
517BRAND_KMODS	+= sn1_brand s10_brand
518
519#
520#	Exec Class Modules (/kernel/exec):
521#
522EXEC_KMODS	+= elfexec intpexec shbinexec javaexec
523
524#
525#	Scheduling Class Modules (/kernel/sched):
526#
527SCHED_KMODS	+= IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
528
529#
530#	File System Modules (/kernel/fs):
531#
532FS_KMODS	+= autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
533FS_KMODS	+= mntfs namefs nfs objfs zfs zut
534FS_KMODS	+= pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
535FS_KMODS	+= smbfs bootfs
536
537#
538#	Streams Modules (/kernel/strmod):
539#
540STRMOD_KMODS	+= bufmod connld dedump ldterm pckt pfmod pipemod
541STRMOD_KMODS	+= ptem redirmod rpcmod rlmod telmod timod
542STRMOD_KMODS	+= spppasyn spppcomp
543STRMOD_KMODS	+= tirdwr ttcompat
544STRMOD_KMODS	+= usbkbm
545STRMOD_KMODS	+= usbms
546STRMOD_KMODS	+= usbwcm
547STRMOD_KMODS	+= usb_ah
548STRMOD_KMODS	+= drcompat
549STRMOD_KMODS	+= cryptmod
550STRMOD_KMODS	+= vuid2ps2
551STRMOD_KMODS	+= vuid3ps2
552STRMOD_KMODS	+= vuidm3p
553STRMOD_KMODS	+= vuidm4p
554STRMOD_KMODS	+= vuidm5p
555
556#
557#	'System' Modules (/kernel/sys):
558#
559SYS_KMODS	+= c2audit
560SYS_KMODS	+= doorfs
561SYS_KMODS	+= exacctsys
562SYS_KMODS	+= inst_sync
563SYS_KMODS	+= kaio
564SYS_KMODS	+= msgsys
565SYS_KMODS	+= pipe
566SYS_KMODS	+= portfs
567SYS_KMODS	+= pset
568SYS_KMODS	+= semsys
569SYS_KMODS	+= shmsys
570SYS_KMODS	+= sysacct
571SYS_KMODS	+= acctctl
572
573#
574#	'Misc' Modules (/kernel/misc)
575#	MISC_KMODS are built both 32-bit and 64-bit
576#	MISC_KMODS_32 are built only 32-bit
577#	MISC_KMODS_64 are built only 64-bit
578#
579MISC_KMODS	+= ac97
580MISC_KMODS	+= acpica
581MISC_KMODS	+= bignum
582MISC_KMODS	+= bootdev
583MISC_KMODS	+= busra
584MISC_KMODS	+= cmlb
585MISC_KMODS	+= consconfig
586MISC_KMODS	+= ctf
587MISC_KMODS	+= dadk
588MISC_KMODS	+= dcopy
589MISC_KMODS	+= dls
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	+= strategy
630MISC_KMODS	+= strplumb
631MISC_KMODS	+= tem
632MISC_KMODS	+= tlimod
633MISC_KMODS	+= usba usba10 usbs49_fw
634MISC_KMODS	+= scsi_vhci_f_sym_hds
635MISC_KMODS	+= scsi_vhci_f_sym
636MISC_KMODS	+= scsi_vhci_f_tpgs
637MISC_KMODS	+= scsi_vhci_f_tape
638MISC_KMODS	+= scsi_vhci_f_tpgs_tape
639MISC_KMODS	+= fctl
640MISC_KMODS	+= emlxs_fw
641MISC_KMODS	+= qlc_fw_2200
642MISC_KMODS	+= qlc_fw_2300
643MISC_KMODS	+= qlc_fw_2400
644MISC_KMODS	+= qlc_fw_2500
645MISC_KMODS	+= qlc_fw_6322
646MISC_KMODS	+= qlc_fw_8100
647MISC_KMODS	+= uathfw
648
649MISC_KMODS	+= klmmod klmops
650
651#
652#	Software Cryptographic Providers (/kernel/crypto):
653#
654CRYPTO_KMODS	+= aes
655CRYPTO_KMODS	+= arcfour
656CRYPTO_KMODS	+= blowfish
657CRYPTO_KMODS	+= des
658CRYPTO_KMODS	+= ecc
659CRYPTO_KMODS	+= edonr
660CRYPTO_KMODS	+= md4
661CRYPTO_KMODS	+= md5
662CRYPTO_KMODS	+= rsa
663CRYPTO_KMODS	+= sha1
664CRYPTO_KMODS	+= sha2
665CRYPTO_KMODS	+= skein
666CRYPTO_KMODS	+= swrand
667
668#
669#	IP Policy Modules (/kernel/ipp)
670#
671IPP_KMODS	+= dlcosmk
672IPP_KMODS	+= flowacct
673IPP_KMODS	+= ipgpc
674IPP_KMODS	+= dscpmk
675IPP_KMODS	+= tokenmt
676IPP_KMODS	+= tswtclmt
677
678#
679#	generic-unix module (/kernel/genunix):
680#
681GENUNIX_KMODS	+= genunix
682
683#
684#	Modules eXcluded from the product:
685#
686
687#
688#	'Dacf' Modules (/kernel/dacf):
689#
690
691#
692#	Performance Counter BackEnd modules (/usr/kernel/pcbe)
693#
694PCBE_KMODS	+= p4_pcbe opteron_pcbe core_pcbe
695
696#
697#	MAC-Type Plugin Modules (/kernel/mac)
698#
699MAC_KMODS	+= mac_6to4
700MAC_KMODS	+= mac_ether
701MAC_KMODS	+= mac_ipv4
702MAC_KMODS	+= mac_ipv6
703MAC_KMODS	+= mac_wifi
704MAC_KMODS	+= mac_ib
705
706#
707# socketmod (kernel/socketmod)
708#
709SOCKET_KMODS	+= sockpfp
710SOCKET_KMODS	+= socksctp
711SOCKET_KMODS    += socksdp
712SOCKET_KMODS	+= sockrds
713SOCKET_KMODS	+= ksslf
714
715#
716#	kiconv modules (/kernel/kiconv):
717#
718KICONV_KMODS	+= kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
719
720#
721#	'Dacf' Modules (/kernel/dacf):
722#
723DACF_KMODS	+= net_dacf
724
725#
726# Ensure that the variable member of the cpu_t (cpu_m) is defined
727# for the lint builds so as not to cause lint errors during the
728# global cross check.
729#
730LINTFLAGS	+= -D_MACHDEP -I$(UTSBASE)/i86pc
731
732#
733#	Sensor related drivers
734#
735DRV_KMODS	+= amdf17nbdf
736DRV_KMODS	+= coretemp
737DRV_KMODS	+= pchtemp
738