xref: /titanic_44/usr/src/uts/intel/Makefile.intel (revision c5a5e6f47e8f40ef4f4a14b199b09585e3ecf9a0)
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) 2013 Andrew Stormont.  All rights reserved.
23# Copyright 2016 Joyent, Inc.
24# Copyright 2017 Nexenta Systems, 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
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	+= bl
213DRV_KMODS	+= blkdev
214DRV_KMODS	+= bge
215DRV_KMODS	+= bofi
216DRV_KMODS	+= bpf
217DRV_KMODS	+= bridge
218DRV_KMODS	+= bscbus
219DRV_KMODS	+= bscv
220DRV_KMODS	+= chxge
221DRV_KMODS	+= cxgbe
222DRV_KMODS	+= ntxn
223DRV_KMODS	+= myri10ge
224DRV_KMODS	+= clone
225DRV_KMODS	+= cmdk
226DRV_KMODS	+= cn
227DRV_KMODS	+= conskbd
228DRV_KMODS	+= consms
229DRV_KMODS	+= cpqary3
230DRV_KMODS	+= cpuid
231DRV_KMODS	+= cpunex
232DRV_KMODS	+= crypto
233DRV_KMODS	+= cryptoadm
234DRV_KMODS	+= dca
235DRV_KMODS	+= devinfo
236DRV_KMODS	+= dld
237DRV_KMODS	+= dlpistub
238DRV_KMODS	+= dnet
239DRV_KMODS	+= dump
240DRV_KMODS	+= ecpp
241DRV_KMODS	+= emlxs
242DRV_KMODS	+= fd
243DRV_KMODS	+= fdc
244DRV_KMODS	+= fm
245DRV_KMODS	+= fssnap
246DRV_KMODS	+= hxge
247DRV_KMODS	+= i8042
248DRV_KMODS	+= i915
249DRV_KMODS	+= icmp
250DRV_KMODS	+= icmp6
251DRV_KMODS	+= intel_nb5000
252DRV_KMODS	+= intel_nhm
253DRV_KMODS	+= ip
254DRV_KMODS	+= ip6
255DRV_KMODS	+= ipd
256DRV_KMODS	+= ipf
257DRV_KMODS       += ipnet
258DRV_KMODS	+= ippctl
259DRV_KMODS	+= ipsecah
260DRV_KMODS	+= ipsecesp
261DRV_KMODS	+= ipw
262DRV_KMODS	+= iwh
263DRV_KMODS	+= iwi
264DRV_KMODS	+= iwk
265DRV_KMODS	+= iwp
266DRV_KMODS	+= iwscn
267DRV_KMODS	+= kb8042
268DRV_KMODS	+= keysock
269DRV_KMODS	+= kssl
270DRV_KMODS	+= kstat
271DRV_KMODS	+= ksyms
272DRV_KMODS	+= kmdb
273DRV_KMODS	+= llc1
274DRV_KMODS	+= lofi
275DRV_KMODS	+= log
276DRV_KMODS	+= logindmux
277DRV_KMODS	+= mega_sas
278DRV_KMODS	+= mc-amd
279DRV_KMODS	+= mm
280DRV_KMODS	+= mouse8042
281DRV_KMODS	+= mpt_sas
282DRV_KMODS	+= mr_sas
283DRV_KMODS	+= mwl
284DRV_KMODS	+= nca
285DRV_KMODS	+= nsmb
286DRV_KMODS	+= nulldriver
287DRV_KMODS	+= nv_sata
288DRV_KMODS	+= nvme
289DRV_KMODS	+= nxge
290DRV_KMODS	+= oce
291DRV_KMODS	+= openeepr
292DRV_KMODS	+= pci_pci
293DRV_KMODS	+= pcic
294DRV_KMODS	+= pcieb
295DRV_KMODS	+= physmem
296DRV_KMODS	+= pit_beep
297DRV_KMODS	+= pm
298DRV_KMODS	+= poll
299DRV_KMODS	+= pool
300DRV_KMODS	+= power
301DRV_KMODS	+= pseudo
302DRV_KMODS	+= ptc
303DRV_KMODS	+= ptm
304DRV_KMODS	+= pts
305DRV_KMODS	+= ptsl
306DRV_KMODS	+= qlge
307DRV_KMODS	+= radeon
308DRV_KMODS	+= ral
309DRV_KMODS	+= ramdisk
310DRV_KMODS	+= random
311DRV_KMODS	+= rds
312DRV_KMODS	+= rdsv3
313DRV_KMODS	+= rpcib
314DRV_KMODS	+= rsm
315DRV_KMODS	+= rts
316DRV_KMODS	+= rtw
317DRV_KMODS	+= rum
318DRV_KMODS	+= rwd
319DRV_KMODS	+= rwn
320DRV_KMODS	+= sad
321DRV_KMODS	+= sd
322DRV_KMODS	+= sdhost
323DRV_KMODS	+= sgen
324DRV_KMODS	+= si3124
325DRV_KMODS	+= smbios
326DRV_KMODS	+= skd
327DRV_KMODS	+= softmac
328DRV_KMODS	+= spdsock
329DRV_KMODS	+= smbsrv
330DRV_KMODS	+= smp
331DRV_KMODS	+= sppp
332DRV_KMODS	+= sppptun
333DRV_KMODS	+= srpt
334DRV_KMODS	+= st
335DRV_KMODS	+= sy
336DRV_KMODS	+= sysevent
337DRV_KMODS	+= sysmsg
338DRV_KMODS	+= tcp
339DRV_KMODS	+= tcp6
340DRV_KMODS	+= tl
341DRV_KMODS	+= tnf
342DRV_KMODS	+= tpm
343DRV_KMODS	+= trill
344DRV_KMODS	+= udp
345DRV_KMODS	+= udp6
346DRV_KMODS	+= ucode
347DRV_KMODS	+= ural
348DRV_KMODS	+= uath
349DRV_KMODS	+= urtw
350DRV_KMODS	+= vgatext
351DRV_KMODS	+= vnic
352DRV_KMODS	+= vscan
353DRV_KMODS	+= wc
354DRV_KMODS	+= winlock
355DRV_KMODS	+= wpi
356DRV_KMODS	+= xge
357DRV_KMODS	+= yge
358DRV_KMODS	+= zcons
359DRV_KMODS	+= zyd
360DRV_KMODS	+= simnet
361DRV_KMODS	+= smrt
362DRV_KMODS	+= stmf
363DRV_KMODS	+= stmf_sbd
364DRV_KMODS	+= fct
365DRV_KMODS	+= fcoe
366DRV_KMODS	+= fcoet
367DRV_KMODS	+= fcoei
368DRV_KMODS	+= qlt
369DRV_KMODS	+= iscsit
370DRV_KMODS	+= pppt
371DRV_KMODS	+= ncall nsctl sdbc nskern sv
372DRV_KMODS	+= ii rdc rdcsrv rdcstub
373DRV_KMODS	+= iptun
374
375#
376# Common code drivers
377#
378
379DRV_KMODS	+= afe
380DRV_KMODS	+= atge
381DRV_KMODS	+= bfe
382DRV_KMODS	+= bnxe
383DRV_KMODS	+= dmfe
384DRV_KMODS	+= e1000g
385DRV_KMODS	+= efe
386DRV_KMODS	+= elxl
387DRV_KMODS	+= hme
388DRV_KMODS	+= mxfe
389DRV_KMODS	+= nge
390DRV_KMODS	+= pcn
391DRV_KMODS	+= rge
392DRV_KMODS	+= rtls
393DRV_KMODS	+= sfe
394DRV_KMODS	+= amd8111s
395DRV_KMODS	+= igb
396DRV_KMODS	+= ipmi
397DRV_KMODS	+= iprb
398DRV_KMODS	+= ixgbe
399DRV_KMODS	+= i40e
400DRV_KMODS	+= vr
401
402#
403# Virtio drivers
404#
405
406# Virtio core
407DRV_KMODS	+= virtio
408
409# Virtio block driver
410DRV_KMODS	+= vioblk
411
412#
413#	DTrace and DTrace Providers
414#
415DRV_KMODS	+= dtrace
416DRV_KMODS	+= fbt
417DRV_KMODS	+= lockstat
418DRV_KMODS	+= profile
419DRV_KMODS	+= sdt
420DRV_KMODS	+= systrace
421DRV_KMODS	+= fasttrap
422DRV_KMODS	+= dcpc
423
424#
425#	I/O framework test drivers
426#
427DRV_KMODS	+= pshot
428DRV_KMODS	+= gen_drv
429DRV_KMODS	+= tvhci tphci tclient
430DRV_KMODS	+= emul64
431
432#
433#	Machine Specific Driver Modules (/kernel/drv):
434#
435DRV_KMODS	+= options
436DRV_KMODS	+= scsi_vhci
437DRV_KMODS	+= pmcs
438DRV_KMODS	+= pmcs8001fw
439DRV_KMODS	+= arcmsr
440DRV_KMODS	+= fcp
441DRV_KMODS	+= fcip
442DRV_KMODS	+= fcsm
443DRV_KMODS	+= fp
444DRV_KMODS	+= qlc
445DRV_KMODS	+= iscsi
446
447#
448#	PCMCIA specific module(s)
449#
450DRV_KMODS	+= pcs
451MISC_KMODS	+= cardbus
452
453#
454#	SCSI Enclosure Services driver
455#
456DRV_KMODS	+= ses
457
458#
459#	USB specific modules
460#
461DRV_KMODS	+= hid
462DRV_KMODS	+= hubd
463DRV_KMODS	+= uhci
464DRV_KMODS	+= ehci
465DRV_KMODS	+= ohci
466DRV_KMODS	+= usb_mid
467DRV_KMODS	+= usb_ia
468DRV_KMODS	+= scsa2usb
469DRV_KMODS	+= usbprn
470DRV_KMODS	+= ugen
471DRV_KMODS	+= usbser
472DRV_KMODS	+= usbsacm
473DRV_KMODS	+= usbsksp
474DRV_KMODS	+= usbsprl
475DRV_KMODS	+= usb_ac
476DRV_KMODS	+= usb_as
477DRV_KMODS	+= usbskel
478DRV_KMODS	+= usbvc
479DRV_KMODS	+= usbftdi
480DRV_KMODS	+= usbecm
481
482#
483#	1394 modules
484#
485MISC_KMODS	+= s1394 sbp2
486DRV_KMODS	+= hci1394 scsa1394
487DRV_KMODS	+= av1394
488DRV_KMODS	+= dcam1394
489
490#
491#	InfiniBand pseudo drivers
492#
493DRV_KMODS	+= ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
494DRV_KMODS	+= sol_umad
495
496#
497#	Brand modules
498#
499BRAND_KMODS	+= sn1_brand s10_brand
500
501#
502#	Exec Class Modules (/kernel/exec):
503#
504EXEC_KMODS	+= elfexec intpexec shbinexec javaexec
505
506#
507#	Scheduling Class Modules (/kernel/sched):
508#
509SCHED_KMODS	+= IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
510
511#
512#	File System Modules (/kernel/fs):
513#
514FS_KMODS	+= autofs cachefs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
515FS_KMODS	+= mntfs namefs nfs objfs zfs zut zev getgen
516FS_KMODS	+= pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
517FS_KMODS	+= smbfs
518
519#
520#	Streams Modules (/kernel/strmod):
521#
522STRMOD_KMODS	+= bufmod connld dedump ldterm pckt pfmod pipemod
523STRMOD_KMODS	+= ptem redirmod rpcmod rlmod telmod timod
524STRMOD_KMODS	+= spppasyn spppcomp
525STRMOD_KMODS	+= tirdwr ttcompat
526STRMOD_KMODS	+= usbkbm
527STRMOD_KMODS	+= usbms
528STRMOD_KMODS	+= usbwcm
529STRMOD_KMODS	+= usb_ah
530STRMOD_KMODS	+= drcompat
531STRMOD_KMODS	+= cryptmod
532STRMOD_KMODS	+= vuid2ps2
533STRMOD_KMODS	+= vuid3ps2
534STRMOD_KMODS	+= vuidm3p
535STRMOD_KMODS	+= vuidm4p
536STRMOD_KMODS	+= vuidm5p
537
538#
539#	'System' Modules (/kernel/sys):
540#
541SYS_KMODS	+= c2audit
542SYS_KMODS	+= doorfs
543SYS_KMODS	+= exacctsys
544SYS_KMODS	+= inst_sync
545SYS_KMODS	+= kaio
546SYS_KMODS	+= msgsys
547SYS_KMODS	+= pipe
548SYS_KMODS	+= portfs
549SYS_KMODS	+= pset
550SYS_KMODS	+= semsys
551SYS_KMODS	+= shmsys
552SYS_KMODS	+= sysacct
553SYS_KMODS	+= acctctl
554
555#
556#	'Misc' Modules (/kernel/misc)
557#	MISC_KMODS are built both 32-bit and 64-bit
558#	MISC_KMODS_32 are built only 32-bit
559#	MISC_KMODS_64 are built only 64-bit
560#
561MISC_KMODS	+= ac97
562MISC_KMODS	+= acpica
563MISC_KMODS	+= agpmaster
564MISC_KMODS	+= bignum
565MISC_KMODS	+= bootdev
566MISC_KMODS	+= busra
567MISC_KMODS	+= cmlb
568MISC_KMODS	+= consconfig
569MISC_KMODS	+= ctf
570MISC_KMODS	+= dadk
571MISC_KMODS	+= dcopy
572MISC_KMODS	+= dls
573MISC_KMODS	+= drm
574MISC_KMODS	+= fssnap_if
575MISC_KMODS	+= gda
576MISC_KMODS	+= gld
577MISC_KMODS	+= hidparser
578MISC_KMODS	+= hook
579MISC_KMODS	+= hpcsvc
580MISC_KMODS	+= ibcm
581MISC_KMODS	+= ibdm
582MISC_KMODS	+= ibdma
583MISC_KMODS	+= ibmf
584MISC_KMODS	+= ibtl
585MISC_KMODS	+= idm
586MISC_KMODS	+= idmap
587MISC_KMODS	+= iommulib
588MISC_KMODS	+= ipc
589MISC_KMODS	+= kbtrans
590MISC_KMODS	+= kcf
591MISC_KMODS	+= kgssapi
592MISC_KMODS	+= kmech_dummy
593MISC_KMODS	+= kmech_krb5
594MISC_KMODS	+= ksocket
595MISC_KMODS	+= mac
596MISC_KMODS	+= mii
597MISC_KMODS	+= mwlfw
598MISC_KMODS	+= net80211
599MISC_KMODS	+= nfs_dlboot
600MISC_KMODS	+= nfssrv
601MISC_KMODS	+= neti
602MISC_KMODS	+= pci_autoconfig
603MISC_KMODS	+= pcicfg
604MISC_KMODS	+= pcihp
605MISC_KMODS	+= pcmcia
606MISC_KMODS	+= rpcsec
607MISC_KMODS	+= rpcsec_gss
608MISC_KMODS	+= rsmops
609MISC_KMODS	+= sata
610MISC_KMODS	+= scsi
611MISC_KMODS	+= sda
612MISC_KMODS	+= sol_ofs
613MISC_KMODS	+= spuni
614MISC_KMODS	+= strategy
615MISC_KMODS	+= strplumb
616MISC_KMODS	+= tem
617MISC_KMODS	+= tlimod
618MISC_KMODS	+= usba usba10 usbs49_fw
619MISC_KMODS	+= scsi_vhci_f_sym_hds
620MISC_KMODS	+= scsi_vhci_f_sym
621MISC_KMODS	+= scsi_vhci_f_tpgs
622MISC_KMODS	+= scsi_vhci_f_asym_sun
623MISC_KMODS	+= scsi_vhci_f_tape
624MISC_KMODS	+= scsi_vhci_f_tpgs_tape
625MISC_KMODS	+= fctl
626MISC_KMODS	+= emlxs_fw
627MISC_KMODS	+= qlc_fw_2200
628MISC_KMODS	+= qlc_fw_2300
629MISC_KMODS	+= qlc_fw_2400
630MISC_KMODS	+= qlc_fw_2500
631MISC_KMODS	+= qlc_fw_6322
632MISC_KMODS	+= qlc_fw_8100
633MISC_KMODS	+= uathfw
634
635MISC_KMODS	+= klmmod klmops
636
637#
638#	Software Cryptographic Providers (/kernel/crypto):
639#
640CRYPTO_KMODS	+= aes
641CRYPTO_KMODS	+= arcfour
642CRYPTO_KMODS	+= blowfish
643CRYPTO_KMODS	+= des
644CRYPTO_KMODS	+= ecc
645CRYPTO_KMODS	+= md4
646CRYPTO_KMODS	+= md5
647CRYPTO_KMODS	+= rsa
648CRYPTO_KMODS	+= sha1
649CRYPTO_KMODS	+= sha2
650CRYPTO_KMODS	+= swrand
651
652#
653#	IP Policy Modules (/kernel/ipp)
654#
655IPP_KMODS	+= dlcosmk
656IPP_KMODS	+= flowacct
657IPP_KMODS	+= ipgpc
658IPP_KMODS	+= dscpmk
659IPP_KMODS	+= tokenmt
660IPP_KMODS	+= tswtclmt
661
662#
663#	generic-unix module (/kernel/genunix):
664#
665GENUNIX_KMODS	+= genunix
666
667#
668#	Modules eXcluded from the product:
669#
670
671#
672#	'Dacf' Modules (/kernel/dacf):
673#
674
675#
676#	Performance Counter BackEnd modules (/usr/kernel/pcbe)
677#
678PCBE_KMODS	+= p123_pcbe p4_pcbe opteron_pcbe core_pcbe
679
680#
681#	MAC-Type Plugin Modules (/kernel/mac)
682#
683MAC_KMODS	+= mac_6to4
684MAC_KMODS	+= mac_ether
685MAC_KMODS	+= mac_ipv4
686MAC_KMODS	+= mac_ipv6
687MAC_KMODS	+= mac_wifi
688MAC_KMODS	+= mac_ib
689
690#
691# socketmod (kernel/socketmod)
692#
693SOCKET_KMODS	+= sockpfp
694SOCKET_KMODS	+= socksctp
695SOCKET_KMODS    += socksdp
696SOCKET_KMODS	+= sockrds
697SOCKET_KMODS	+= ksslf
698
699#
700#	kiconv modules (/kernel/kiconv):
701#
702KICONV_KMODS	+= kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
703
704#
705#	'Dacf' Modules (/kernel/dacf):
706#
707DACF_KMODS	+= net_dacf
708
709#
710# Ensure that the variable member of the cpu_t (cpu_m) is defined
711# for the lint builds so as not to cause lint errors during the
712# global cross check.
713#
714LINTFLAGS	+= -D_MACHDEP -I$(UTSBASE)/i86pc
715