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