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