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