xref: /titanic_52/usr/src/uts/intel/Makefile.intel (revision ccdeb6b6d71f3c9aa7e78b688f7b34fff109a817)
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	+= skd
325DRV_KMODS	+= smartpqi
326DRV_KMODS	+= smbios
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	+= timerfd
341DRV_KMODS	+= tl
342DRV_KMODS	+= tnf
343DRV_KMODS	+= tpm
344DRV_KMODS	+= trill
345DRV_KMODS	+= udp
346DRV_KMODS	+= udp6
347DRV_KMODS	+= ucode
348DRV_KMODS	+= ural
349DRV_KMODS	+= uath
350DRV_KMODS	+= urtw
351DRV_KMODS	+= vgatext
352DRV_KMODS	+= vnic
353DRV_KMODS	+= vscan
354DRV_KMODS	+= wc
355DRV_KMODS	+= winlock
356DRV_KMODS	+= wpi
357DRV_KMODS	+= xge
358DRV_KMODS	+= yge
359DRV_KMODS	+= zcons
360DRV_KMODS	+= zyd
361DRV_KMODS	+= simnet
362DRV_KMODS	+= smrt
363DRV_KMODS	+= stmf
364DRV_KMODS	+= stmf_sbd
365DRV_KMODS	+= fct
366DRV_KMODS	+= fcoe
367DRV_KMODS	+= fcoet
368DRV_KMODS	+= fcoei
369DRV_KMODS	+= qlt
370DRV_KMODS	+= iscsit
371DRV_KMODS	+= pppt
372DRV_KMODS	+= ncall nsctl sdbc nskern sv
373DRV_KMODS	+= ii rdc rdcsrv rdcstub
374DRV_KMODS	+= iptun
375DRV_KMODS	+= pvscsi
376
377#
378# Common code drivers
379#
380
381DRV_KMODS	+= afe
382DRV_KMODS	+= atge
383DRV_KMODS	+= bfe
384DRV_KMODS	+= bnxe
385DRV_KMODS	+= dmfe
386DRV_KMODS	+= e1000g
387DRV_KMODS	+= efe
388DRV_KMODS	+= elxl
389DRV_KMODS	+= hme
390DRV_KMODS	+= mxfe
391DRV_KMODS	+= nge
392DRV_KMODS	+= pcn
393DRV_KMODS	+= rge
394DRV_KMODS	+= rtls
395DRV_KMODS	+= sfe
396DRV_KMODS	+= amd8111s
397DRV_KMODS	+= igb
398DRV_KMODS	+= ipmi
399DRV_KMODS	+= iprb
400DRV_KMODS	+= ixgbe
401DRV_KMODS	+= i40e
402DRV_KMODS	+= vr
403
404#
405# Virtio drivers
406#
407
408# Virtio core
409DRV_KMODS	+= virtio
410
411# Virtio block driver
412DRV_KMODS	+= vioblk
413
414# Virtio network driver
415DRV_KMODS	+= vioif
416
417#
418#	DTrace and DTrace Providers
419#
420DRV_KMODS	+= dtrace
421DRV_KMODS	+= fbt
422DRV_KMODS	+= lockstat
423DRV_KMODS	+= profile
424DRV_KMODS	+= sdt
425DRV_KMODS	+= systrace
426DRV_KMODS	+= fasttrap
427DRV_KMODS	+= dcpc
428
429#
430#	I/O framework test drivers
431#
432DRV_KMODS	+= pshot
433DRV_KMODS	+= gen_drv
434DRV_KMODS	+= tvhci tphci tclient
435DRV_KMODS	+= emul64
436
437#
438#	Machine Specific Driver Modules (/kernel/drv):
439#
440DRV_KMODS	+= options
441DRV_KMODS	+= scsi_vhci
442DRV_KMODS	+= pmcs
443DRV_KMODS	+= pmcs8001fw
444DRV_KMODS	+= arcmsr
445DRV_KMODS	+= fcp
446DRV_KMODS	+= fcip
447DRV_KMODS	+= fcsm
448DRV_KMODS	+= fp
449DRV_KMODS	+= qlc
450DRV_KMODS	+= iscsi
451
452#
453#	PCMCIA specific module(s)
454#
455DRV_KMODS	+= pcs
456MISC_KMODS	+= cardbus
457
458#
459#	SCSI Enclosure Services driver
460#
461DRV_KMODS	+= ses
462
463#
464#	USB specific modules
465#
466DRV_KMODS	+= hid
467DRV_KMODS	+= hubd
468DRV_KMODS	+= uhci
469DRV_KMODS	+= ehci
470DRV_KMODS	+= ohci
471DRV_KMODS	+= usb_mid
472DRV_KMODS	+= usb_ia
473DRV_KMODS	+= scsa2usb
474DRV_KMODS	+= usbprn
475DRV_KMODS	+= ugen
476DRV_KMODS	+= usbser
477DRV_KMODS	+= usbsacm
478DRV_KMODS	+= usbsksp
479DRV_KMODS	+= usbsprl
480DRV_KMODS	+= usb_ac
481DRV_KMODS	+= usb_as
482DRV_KMODS	+= usbskel
483DRV_KMODS	+= usbvc
484DRV_KMODS	+= usbftdi
485DRV_KMODS	+= usbecm
486
487#
488#	1394 modules
489#
490MISC_KMODS	+= s1394 sbp2
491DRV_KMODS	+= hci1394 scsa1394
492DRV_KMODS	+= av1394
493DRV_KMODS	+= dcam1394
494
495#
496#	InfiniBand pseudo drivers
497#
498DRV_KMODS	+= ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
499DRV_KMODS	+= sol_umad
500
501#
502#	Brand modules
503#
504BRAND_KMODS	+= sn1_brand s10_brand
505
506#
507#	Exec Class Modules (/kernel/exec):
508#
509EXEC_KMODS	+= elfexec intpexec shbinexec javaexec
510
511#
512#	Scheduling Class Modules (/kernel/sched):
513#
514SCHED_KMODS	+= IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
515
516#
517#	File System Modules (/kernel/fs):
518#
519FS_KMODS	+= autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
520FS_KMODS	+= mntfs namefs nfs objfs zfs zut zev getgen arcflush
521FS_KMODS	+= pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
522FS_KMODS	+= smbfs bootfs
523
524#
525#	Streams Modules (/kernel/strmod):
526#
527STRMOD_KMODS	+= bufmod connld dedump ldterm pckt pfmod pipemod
528STRMOD_KMODS	+= ptem redirmod rpcmod rlmod telmod timod
529STRMOD_KMODS	+= spppasyn spppcomp
530STRMOD_KMODS	+= tirdwr ttcompat
531STRMOD_KMODS	+= usbkbm
532STRMOD_KMODS	+= usbms
533STRMOD_KMODS	+= usbwcm
534STRMOD_KMODS	+= usb_ah
535STRMOD_KMODS	+= drcompat
536STRMOD_KMODS	+= cryptmod
537STRMOD_KMODS	+= vuid2ps2
538STRMOD_KMODS	+= vuid3ps2
539STRMOD_KMODS	+= vuidm3p
540STRMOD_KMODS	+= vuidm4p
541STRMOD_KMODS	+= vuidm5p
542
543#
544#	'System' Modules (/kernel/sys):
545#
546SYS_KMODS	+= c2audit
547SYS_KMODS	+= doorfs
548SYS_KMODS	+= exacctsys
549SYS_KMODS	+= inst_sync
550SYS_KMODS	+= kaio
551SYS_KMODS	+= msgsys
552SYS_KMODS	+= pipe
553SYS_KMODS	+= portfs
554SYS_KMODS	+= pset
555SYS_KMODS	+= semsys
556SYS_KMODS	+= shmsys
557SYS_KMODS	+= sysacct
558SYS_KMODS	+= acctctl
559
560#
561#	'Misc' Modules (/kernel/misc)
562#	MISC_KMODS are built both 32-bit and 64-bit
563#	MISC_KMODS_32 are built only 32-bit
564#	MISC_KMODS_64 are built only 64-bit
565#
566MISC_KMODS	+= ac97
567MISC_KMODS	+= acpica
568MISC_KMODS	+= bignum
569MISC_KMODS	+= bootdev
570MISC_KMODS	+= busra
571MISC_KMODS	+= cmlb
572MISC_KMODS	+= consconfig
573MISC_KMODS	+= ctf
574MISC_KMODS	+= dadk
575MISC_KMODS	+= dcopy
576MISC_KMODS	+= dls
577MISC_KMODS	+= fssnap_if
578MISC_KMODS	+= gda
579MISC_KMODS	+= gld
580MISC_KMODS	+= hidparser
581MISC_KMODS	+= hook
582MISC_KMODS	+= hpcsvc
583MISC_KMODS	+= ibcm
584MISC_KMODS	+= ibdm
585MISC_KMODS	+= ibdma
586MISC_KMODS	+= ibmf
587MISC_KMODS	+= ibtl
588MISC_KMODS	+= idm
589MISC_KMODS	+= idmap
590MISC_KMODS	+= iommulib
591MISC_KMODS	+= ipc
592MISC_KMODS	+= kbtrans
593MISC_KMODS	+= kcf
594MISC_KMODS	+= kgssapi
595MISC_KMODS	+= kmech_dummy
596MISC_KMODS	+= kmech_krb5
597MISC_KMODS	+= ksocket
598MISC_KMODS	+= mac
599MISC_KMODS	+= mii
600MISC_KMODS	+= mwlfw
601MISC_KMODS	+= net80211
602MISC_KMODS	+= nfs_dlboot
603MISC_KMODS	+= nfssrv
604MISC_KMODS	+= neti
605MISC_KMODS	+= pci_autoconfig
606MISC_KMODS	+= pcicfg
607MISC_KMODS	+= pcihp
608MISC_KMODS	+= pcmcia
609MISC_KMODS	+= rpcsec
610MISC_KMODS	+= rpcsec_gss
611MISC_KMODS	+= rsmops
612MISC_KMODS	+= sata
613MISC_KMODS	+= scsi
614MISC_KMODS	+= sda
615MISC_KMODS	+= sol_ofs
616MISC_KMODS	+= spuni
617MISC_KMODS	+= strategy
618MISC_KMODS	+= strplumb
619MISC_KMODS	+= tem
620MISC_KMODS	+= tlimod
621MISC_KMODS	+= usba usba10 usbs49_fw
622MISC_KMODS	+= scsi_vhci_f_sym_hds
623MISC_KMODS	+= scsi_vhci_f_sym
624MISC_KMODS	+= scsi_vhci_f_tpgs
625MISC_KMODS	+= scsi_vhci_f_asym_sun
626MISC_KMODS	+= scsi_vhci_f_tape
627MISC_KMODS	+= scsi_vhci_f_tpgs_tape
628MISC_KMODS	+= fctl
629MISC_KMODS	+= emlxs_fw
630MISC_KMODS	+= qlc_fw_2200
631MISC_KMODS	+= qlc_fw_2300
632MISC_KMODS	+= qlc_fw_2400
633MISC_KMODS	+= qlc_fw_2500
634MISC_KMODS	+= qlc_fw_6322
635MISC_KMODS	+= qlc_fw_8100
636MISC_KMODS	+= uathfw
637
638MISC_KMODS	+= klmmod klmops
639
640#
641#	Software Cryptographic Providers (/kernel/crypto):
642#
643CRYPTO_KMODS	+= aes
644CRYPTO_KMODS	+= arcfour
645CRYPTO_KMODS	+= blowfish
646CRYPTO_KMODS	+= des
647CRYPTO_KMODS	+= ecc
648CRYPTO_KMODS	+= edonr
649CRYPTO_KMODS	+= md4
650CRYPTO_KMODS	+= md5
651CRYPTO_KMODS	+= rsa
652CRYPTO_KMODS	+= sha1
653CRYPTO_KMODS	+= sha2
654CRYPTO_KMODS	+= skein
655CRYPTO_KMODS	+= swrand
656
657#
658#	IP Policy Modules (/kernel/ipp)
659#
660IPP_KMODS	+= dlcosmk
661IPP_KMODS	+= flowacct
662IPP_KMODS	+= ipgpc
663IPP_KMODS	+= dscpmk
664IPP_KMODS	+= tokenmt
665IPP_KMODS	+= tswtclmt
666
667#
668#	generic-unix module (/kernel/genunix):
669#
670GENUNIX_KMODS	+= genunix
671
672#
673#	Modules eXcluded from the product:
674#
675
676#
677#	'Dacf' Modules (/kernel/dacf):
678#
679
680#
681#	Performance Counter BackEnd modules (/usr/kernel/pcbe)
682#
683PCBE_KMODS	+= p4_pcbe opteron_pcbe core_pcbe
684
685#
686#	MAC-Type Plugin Modules (/kernel/mac)
687#
688MAC_KMODS	+= mac_6to4
689MAC_KMODS	+= mac_ether
690MAC_KMODS	+= mac_ipv4
691MAC_KMODS	+= mac_ipv6
692MAC_KMODS	+= mac_wifi
693MAC_KMODS	+= mac_ib
694
695#
696# socketmod (kernel/socketmod)
697#
698SOCKET_KMODS	+= sockpfp
699SOCKET_KMODS	+= socksctp
700SOCKET_KMODS    += socksdp
701SOCKET_KMODS	+= sockrds
702SOCKET_KMODS	+= ksslf
703
704#
705#	kiconv modules (/kernel/kiconv):
706#
707KICONV_KMODS	+= kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
708
709#
710#	'Dacf' Modules (/kernel/dacf):
711#
712DACF_KMODS	+= net_dacf
713
714#
715# Ensure that the variable member of the cpu_t (cpu_m) is defined
716# for the lint builds so as not to cause lint errors during the
717# global cross check.
718#
719LINTFLAGS	+= -D_MACHDEP -I$(UTSBASE)/i86pc
720