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) 2015 Nexenta Systems, Inc. All rights reserved.
  23 # Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  24 # Copyright (c) 2015, Joyent, Inc.  All rights reserved.
  25 # Copyright 2016 Garrett D'Amore <garrett@damore.org>
  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 #
  35 PLATFORM         = 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 #
  45 UNIX_DIR         = $(UTSBASE)/i86pc/unix
  46 GENLIB_DIR       = $(UTSBASE)/intel/genunix
  47 IPDRV_DIR        = $(UTSBASE)/intel/ip
  48 MODSTUBS_DIR     = $(UNIX_DIR)
  49 DSF_DIR          = $(UTSBASE)/$(PLATFORM)/genassym
  50 LINTS_DIR        = $(OBJS_DIR)
  51 LINT_LIB_DIR     = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)
  52 
  53 UNIX_O           = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
  54 GENLIB           = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
  55 MODSTUBS_O       = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
  56 LINT_LIB         = $(UTSBASE)/i86pc/lint-libs/$(OBJS_DIR)/llib-lunix.ln
  57 GEN_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 #
  70 include $(UTSBASE)/intel/Makefile.files
  71 include $(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 #
  84 NOT_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 #
  93 include $(UTSBASE)/Makefile.uts
  94 
  95 #
  96 #       The following must be defined for all implementations:
  97 #
  98 MODSTUBS                = $(UTSBASE)/intel/ia32/ml/modstubs.s
  99 
 100 #
 101 #       Define supported builds
 102 #
 103 DEF_BUILDS              = $(DEF_BUILDS64) $(DEF_BUILDS32)
 104 ALL_BUILDS              = $(ALL_BUILDS64) $(ALL_BUILDS32)
 105 
 106 #
 107 #       x86 or amd64 inline templates
 108 #
 109 INLINES_32              = $(UTSBASE)/intel/ia32/ml/ia32.il
 110 INLINES_64              = $(UTSBASE)/intel/amd64/ml/amd64.il
 111 INLINES                 += $(INLINES_$(CLASS))
 112 
 113 #
 114 #       kernel-specific optimizations; override default in Makefile.master
 115 #
 116 
 117 CFLAGS_XARCH_32         = $(i386_CFLAGS)
 118 CFLAGS_XARCH_64         = $(amd64_CFLAGS)
 119 CFLAGS_XARCH            = $(CFLAGS_XARCH_$(CLASS))
 120 
 121 COPTFLAG_32             = $(COPTFLAG)
 122 COPTFLAG_64             = $(COPTFLAG64)
 123 COPTIMIZE               = $(COPTFLAG_$(CLASS))
 124 
 125 CFLAGS                  = $(CFLAGS_XARCH)
 126 CFLAGS                  += $(COPTIMIZE)
 127 CFLAGS                  += $(INLINES) -D_ASM_INLINES
 128 CFLAGS                  += $(CCMODE)
 129 CFLAGS                  += $(SPACEFLAG)
 130 CFLAGS                  += $(CCUNBOUND)
 131 CFLAGS                  += $(CFLAGS_uts)
 132 CFLAGS                  += -xstrconst
 133 CFLAGS                  += -_gcc=-fstack-protector
 134 
 135 ASFLAGS_XARCH_32        = $(i386_ASFLAGS)
 136 ASFLAGS_XARCH_64        = $(amd64_ASFLAGS)
 137 ASFLAGS_XARCH           = $(ASFLAGS_XARCH_$(CLASS))
 138 
 139 ASFLAGS                 += $(ASFLAGS_XARCH)
 140 
 141 #
 142 #       Define the base directory for installation.
 143 #
 144 BASE_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 #
 152 DEBUG_DEFS_OBJ32        =
 153 DEBUG_DEFS_DBG32        = -DDEBUG
 154 DEBUG_DEFS_OBJ64        =
 155 DEBUG_DEFS_DBG64        = -DDEBUG
 156 DEBUG_DEFS              = $(DEBUG_DEFS_$(BUILD_TYPE))
 157 
 158 DEBUG_COND_OBJ32        = $(POUND_SIGN)
 159 DEBUG_COND_DBG32        =
 160 DEBUG_COND_OBJ64        = $(POUND_SIGN)
 161 DEBUG_COND_DBG64        =
 162 IF_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 #
 171 ALL_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 #
 184 DRV_KMODS       += aac
 185 DRV_KMODS       += aggr
 186 DRV_KMODS       += ahci
 187 DRV_KMODS       += amd64_gart
 188 DRV_KMODS       += amr
 189 DRV_KMODS       += agpgart
 190 DRV_KMODS       += srn
 191 DRV_KMODS       += agptarget
 192 DRV_KMODS       += arn
 193 DRV_KMODS       += arp
 194 DRV_KMODS       += asy
 195 DRV_KMODS       += ata
 196 DRV_KMODS       += ath
 197 DRV_KMODS       += atu
 198 DRV_KMODS       += audio
 199 DRV_KMODS       += audio1575
 200 DRV_KMODS       += audio810
 201 DRV_KMODS       += audiocmi
 202 DRV_KMODS       += audiocmihd
 203 DRV_KMODS       += audioemu10k
 204 DRV_KMODS       += audioens
 205 DRV_KMODS       += audiohd
 206 DRV_KMODS       += audioixp
 207 DRV_KMODS       += audiols
 208 DRV_KMODS       += audiop16x
 209 DRV_KMODS       += audiopci
 210 DRV_KMODS       += audiosolo
 211 DRV_KMODS       += audiots
 212 DRV_KMODS       += audiovia823x
 213 DRV_KMODS_32    += audiovia97
 214 DRV_KMODS       += bl 
 215 DRV_KMODS       += blkdev
 216 DRV_KMODS       += bge
 217 DRV_KMODS       += bofi
 218 DRV_KMODS       += bpf
 219 DRV_KMODS       += bridge
 220 DRV_KMODS       += bscbus
 221 DRV_KMODS       += bscv
 222 DRV_KMODS       += chxge
 223 DRV_KMODS       += cxgbe
 224 DRV_KMODS       += ntxn
 225 DRV_KMODS       += myri10ge
 226 DRV_KMODS       += clone
 227 DRV_KMODS       += cmdk
 228 DRV_KMODS       += cn
 229 DRV_KMODS       += conskbd
 230 DRV_KMODS       += consms
 231 DRV_KMODS       += cpqary3
 232 DRV_KMODS       += cpuid
 233 DRV_KMODS       += cpunex
 234 DRV_KMODS       += crypto
 235 DRV_KMODS       += cryptoadm
 236 DRV_KMODS       += dca
 237 DRV_KMODS       += devinfo
 238 DRV_KMODS       += dld
 239 DRV_KMODS       += dlpistub
 240 DRV_KMODS_32    += dnet
 241 DRV_KMODS       += dump
 242 DRV_KMODS       += ecpp
 243 DRV_KMODS       += emlxs
 244 DRV_KMODS       += eventfd
 245 DRV_KMODS       += fd
 246 DRV_KMODS       += fdc
 247 DRV_KMODS       += fm
 248 DRV_KMODS       += fssnap
 249 DRV_KMODS       += hxge
 250 DRV_KMODS       += i8042
 251 DRV_KMODS       += i915
 252 DRV_KMODS       += icmp
 253 DRV_KMODS       += icmp6
 254 DRV_KMODS       += intel_nb5000
 255 DRV_KMODS       += intel_nhm
 256 DRV_KMODS       += ip
 257 DRV_KMODS       += ip6
 258 DRV_KMODS       += ipd
 259 DRV_KMODS       += ipf
 260 DRV_KMODS       += ipnet
 261 DRV_KMODS       += ippctl
 262 DRV_KMODS       += ipsecah
 263 DRV_KMODS       += ipsecesp
 264 DRV_KMODS       += ipw
 265 DRV_KMODS       += iwh
 266 DRV_KMODS       += iwi
 267 DRV_KMODS       += iwk
 268 DRV_KMODS       += iwp
 269 DRV_KMODS       += iwscn
 270 DRV_KMODS       += kb8042
 271 DRV_KMODS       += keysock
 272 DRV_KMODS       += kssl
 273 DRV_KMODS       += kstat
 274 DRV_KMODS       += ksyms
 275 DRV_KMODS       += kmdb
 276 DRV_KMODS       += llc1
 277 DRV_KMODS       += lofi
 278 DRV_KMODS       += log
 279 DRV_KMODS       += logindmux
 280 DRV_KMODS       += mega_sas
 281 DRV_KMODS       += mc-amd
 282 DRV_KMODS       += mm
 283 DRV_KMODS       += mouse8042
 284 DRV_KMODS       += mpt_sas
 285 DRV_KMODS       += mr_sas
 286 DRV_KMODS       += mwl 
 287 DRV_KMODS       += nca
 288 DRV_KMODS       += nsmb
 289 DRV_KMODS       += nulldriver
 290 DRV_KMODS       += nv_sata
 291 DRV_KMODS       += nvme
 292 DRV_KMODS       += nxge
 293 DRV_KMODS       += oce
 294 DRV_KMODS       += openeepr
 295 DRV_KMODS       += pci_pci
 296 DRV_KMODS       += pcic
 297 DRV_KMODS       += pcieb
 298 DRV_KMODS       += physmem
 299 DRV_KMODS       += pit_beep
 300 DRV_KMODS       += pm
 301 DRV_KMODS       += poll
 302 DRV_KMODS       += pool
 303 DRV_KMODS       += power
 304 DRV_KMODS       += pseudo
 305 DRV_KMODS       += ptc
 306 DRV_KMODS       += ptm
 307 DRV_KMODS       += pts
 308 DRV_KMODS       += ptsl
 309 DRV_KMODS       += qlge
 310 DRV_KMODS       += radeon
 311 DRV_KMODS       += ral
 312 DRV_KMODS       += ramdisk
 313 DRV_KMODS       += random
 314 DRV_KMODS       += rds
 315 DRV_KMODS       += rdsv3
 316 DRV_KMODS       += rpcib
 317 DRV_KMODS       += rsm
 318 DRV_KMODS       += rts
 319 DRV_KMODS       += rtw
 320 DRV_KMODS       += rum
 321 DRV_KMODS       += rwd
 322 DRV_KMODS       += rwn
 323 DRV_KMODS       += sad
 324 DRV_KMODS       += sd
 325 DRV_KMODS       += sdhost
 326 DRV_KMODS       += sgen
 327 DRV_KMODS       += si3124
 328 DRV_KMODS       += signalfd
 329 DRV_KMODS       += smbios
 330 DRV_KMODS       += skd
 331 DRV_KMODS       += softmac
 332 DRV_KMODS       += spdsock
 333 DRV_KMODS       += smbsrv
 334 DRV_KMODS       += smp
 335 DRV_KMODS       += sppp
 336 DRV_KMODS       += sppptun
 337 DRV_KMODS       += srpt
 338 DRV_KMODS       += st
 339 DRV_KMODS       += sy
 340 DRV_KMODS       += sysevent
 341 DRV_KMODS       += sysmsg
 342 DRV_KMODS       += tcp
 343 DRV_KMODS       += tcp6
 344 DRV_KMODS       += timerfd
 345 DRV_KMODS       += tl
 346 DRV_KMODS       += tnf
 347 DRV_KMODS       += tpm
 348 DRV_KMODS       += trill
 349 DRV_KMODS       += udp
 350 DRV_KMODS       += udp6
 351 DRV_KMODS       += ucode
 352 DRV_KMODS       += ural
 353 DRV_KMODS       += uath
 354 DRV_KMODS       += urtw
 355 DRV_KMODS       += vgatext
 356 DRV_KMODS       += heci
 357 DRV_KMODS       += vnic
 358 DRV_KMODS       += vscan
 359 DRV_KMODS       += wc
 360 DRV_KMODS       += winlock
 361 DRV_KMODS       += wpi
 362 DRV_KMODS       += xge
 363 DRV_KMODS       += yge
 364 DRV_KMODS       += zcons
 365 DRV_KMODS       += zyd
 366 DRV_KMODS       += simnet
 367 DRV_KMODS       += stmf
 368 DRV_KMODS       += stmf_sbd
 369 DRV_KMODS       += fct
 370 DRV_KMODS       += fcoe
 371 DRV_KMODS       += fcoet
 372 DRV_KMODS       += fcoei
 373 DRV_KMODS       += qlt
 374 DRV_KMODS       += iscsit
 375 DRV_KMODS       += pppt
 376 DRV_KMODS       += ncall nsctl sdbc nskern sv
 377 DRV_KMODS       += ii rdc rdcsrv rdcstub
 378 DRV_KMODS       += iptun
 379 DRV_KMODS       += vmxnet3s
 380 
 381 #
 382 # Common code drivers
 383 #
 384 
 385 DRV_KMODS       += afe
 386 DRV_KMODS       += atge
 387 DRV_KMODS       += bfe
 388 DRV_KMODS       += bnxe
 389 DRV_KMODS       += dmfe
 390 DRV_KMODS       += e1000g
 391 DRV_KMODS       += efe
 392 DRV_KMODS       += elxl
 393 DRV_KMODS       += hme
 394 DRV_KMODS       += mxfe
 395 DRV_KMODS       += nge
 396 DRV_KMODS       += pcn
 397 DRV_KMODS       += rge
 398 DRV_KMODS       += rtls
 399 DRV_KMODS       += sfe
 400 DRV_KMODS       += sfxge
 401 DRV_KMODS       += amd8111s
 402 DRV_KMODS       += igb
 403 DRV_KMODS       += ipmi
 404 DRV_KMODS       += iprb
 405 DRV_KMODS       += ixgbe
 406 DRV_KMODS       += vr
 407 
 408 #
 409 # Virtio drivers
 410 #
 411 
 412 # Virtio core
 413 DRV_KMODS       += virtio
 414 
 415 # Virtio block driver
 416 DRV_KMODS       += vioblk
 417 
 418 # Virtio network driver
 419 DRV_KMODS       += vioif
 420 
 421 #
 422 #       DTrace and DTrace Providers
 423 #
 424 DRV_KMODS       += dtrace
 425 DRV_KMODS       += fbt
 426 DRV_KMODS       += lockstat
 427 DRV_KMODS       += profile
 428 DRV_KMODS       += sdt
 429 DRV_KMODS       += systrace
 430 DRV_KMODS       += fasttrap
 431 DRV_KMODS       += dcpc
 432 
 433 #
 434 #       I/O framework test drivers
 435 #
 436 DRV_KMODS       += pshot
 437 DRV_KMODS       += gen_drv
 438 DRV_KMODS       += tvhci tphci tclient
 439 DRV_KMODS       += emul64
 440 
 441 #
 442 #       Machine Specific Driver Modules (/kernel/drv):
 443 #
 444 DRV_KMODS       += options
 445 DRV_KMODS       += scsi_vhci
 446 DRV_KMODS       += pmcs
 447 DRV_KMODS       += pmcs8001fw
 448 DRV_KMODS       += arcmsr
 449 DRV_KMODS       += fcp
 450 DRV_KMODS       += fcip
 451 DRV_KMODS       += fcsm
 452 DRV_KMODS       += fp
 453 DRV_KMODS       += qlc
 454 DRV_KMODS       += iscsi
 455 
 456 #
 457 #       PCMCIA specific module(s)
 458 #
 459 DRV_KMODS       += pcs
 460 MISC_KMODS      += cardbus
 461 
 462 #
 463 #       SCSI Enclosure Services driver
 464 #
 465 DRV_KMODS       += ses
 466 
 467 #
 468 #       USB specific modules
 469 #
 470 DRV_KMODS       += hid
 471 DRV_KMODS       += hubd
 472 DRV_KMODS       += uhci
 473 DRV_KMODS       += ehci
 474 DRV_KMODS       += ohci
 475 DRV_KMODS       += usb_mid
 476 DRV_KMODS       += usb_ia
 477 DRV_KMODS       += scsa2usb
 478 DRV_KMODS       += usbprn
 479 DRV_KMODS       += ugen
 480 DRV_KMODS       += usbser
 481 DRV_KMODS       += usbsacm
 482 DRV_KMODS       += usbsksp
 483 DRV_KMODS       += usbsprl
 484 DRV_KMODS       += usb_ac
 485 DRV_KMODS       += usb_as
 486 DRV_KMODS       += usbskel
 487 DRV_KMODS       += usbvc
 488 DRV_KMODS       += usbftdi
 489 DRV_KMODS       += usbecm
 490 
 491 #
 492 #       1394 modules
 493 #
 494 MISC_KMODS      += s1394 sbp2
 495 DRV_KMODS       += hci1394 scsa1394
 496 DRV_KMODS       += av1394
 497 DRV_KMODS       += dcam1394
 498 
 499 #
 500 #       InfiniBand pseudo drivers
 501 #
 502 DRV_KMODS       += ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
 503 DRV_KMODS       += sol_umad 
 504 
 505 #
 506 #       LVM modules
 507 #
 508 DRV_KMODS       += md
 509 MISC_KMODS      += md_stripe md_hotspares md_mirror md_raid md_trans md_notify
 510 MISC_KMODS      += md_sp
 511 
 512 #
 513 #       Brand modules
 514 #
 515 BRAND_KMODS     += sn1_brand s10_brand
 516 
 517 #
 518 #       Exec Class Modules (/kernel/exec):
 519 #
 520 EXEC_KMODS      += elfexec intpexec shbinexec javaexec
 521 
 522 #
 523 #       Scheduling Class Modules (/kernel/sched):
 524 #
 525 SCHED_KMODS     += IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
 526 
 527 #
 528 #       File System Modules (/kernel/fs):
 529 #
 530 FS_KMODS        += autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
 531 FS_KMODS        += mntfs namefs nfs objfs zfs zut
 532 FS_KMODS        += pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
 533 FS_KMODS        += smbfs bootfs
 534 
 535 #
 536 #       Streams Modules (/kernel/strmod):
 537 #
 538 STRMOD_KMODS    += bufmod connld dedump ldterm pckt pfmod pipemod
 539 STRMOD_KMODS    += ptem redirmod rpcmod rlmod telmod timod
 540 STRMOD_KMODS    += spppasyn spppcomp
 541 STRMOD_KMODS    += tirdwr ttcompat
 542 STRMOD_KMODS    += usbkbm
 543 STRMOD_KMODS    += usbms
 544 STRMOD_KMODS    += usbwcm
 545 STRMOD_KMODS    += usb_ah
 546 STRMOD_KMODS    += drcompat
 547 STRMOD_KMODS    += cryptmod
 548 STRMOD_KMODS    += vuid2ps2
 549 STRMOD_KMODS    += vuid3ps2
 550 STRMOD_KMODS    += vuidm3p
 551 STRMOD_KMODS    += vuidm4p
 552 STRMOD_KMODS    += vuidm5p
 553 
 554 #
 555 #       'System' Modules (/kernel/sys):
 556 #
 557 SYS_KMODS       += c2audit
 558 SYS_KMODS       += doorfs
 559 SYS_KMODS       += exacctsys
 560 SYS_KMODS       += inst_sync
 561 SYS_KMODS       += kaio
 562 SYS_KMODS       += msgsys
 563 SYS_KMODS       += pipe
 564 SYS_KMODS       += portfs
 565 SYS_KMODS       += pset
 566 SYS_KMODS       += semsys
 567 SYS_KMODS       += shmsys
 568 SYS_KMODS       += sysacct
 569 SYS_KMODS       += acctctl
 570 
 571 #
 572 #       'Misc' Modules (/kernel/misc)
 573 #       MISC_KMODS are built both 32-bit and 64-bit
 574 #       MISC_KMODS_32 are built only 32-bit
 575 #       MISC_KMODS_64 are built only 64-bit
 576 #
 577 MISC_KMODS      += ac97
 578 MISC_KMODS      += acpica
 579 MISC_KMODS      += agpmaster
 580 MISC_KMODS      += bignum
 581 MISC_KMODS      += bootdev
 582 MISC_KMODS      += busra
 583 MISC_KMODS      += cmlb
 584 MISC_KMODS      += consconfig
 585 MISC_KMODS      += ctf
 586 MISC_KMODS      += dadk
 587 MISC_KMODS      += dcopy
 588 MISC_KMODS      += dls
 589 MISC_KMODS      += drm
 590 MISC_KMODS      += fssnap_if
 591 MISC_KMODS      += gda
 592 MISC_KMODS      += gld
 593 MISC_KMODS      += hidparser
 594 MISC_KMODS      += hook
 595 MISC_KMODS      += hpcsvc
 596 MISC_KMODS      += ibcm
 597 MISC_KMODS      += ibdm
 598 MISC_KMODS      += ibdma
 599 MISC_KMODS      += ibmf
 600 MISC_KMODS      += ibtl
 601 MISC_KMODS      += idm
 602 MISC_KMODS      += idmap
 603 MISC_KMODS      += iommulib
 604 MISC_KMODS      += ipc
 605 MISC_KMODS      += kbtrans
 606 MISC_KMODS      += kcf
 607 MISC_KMODS      += kgssapi
 608 MISC_KMODS      += kmech_dummy
 609 MISC_KMODS      += kmech_krb5
 610 MISC_KMODS      += ksocket
 611 MISC_KMODS      += mac
 612 MISC_KMODS      += mii
 613 MISC_KMODS      += mwlfw
 614 MISC_KMODS      += net80211
 615 MISC_KMODS      += nfs_dlboot
 616 MISC_KMODS      += nfssrv
 617 MISC_KMODS      += neti
 618 MISC_KMODS      += pci_autoconfig
 619 MISC_KMODS      += pcicfg
 620 MISC_KMODS      += pcihp
 621 MISC_KMODS      += pcmcia
 622 MISC_KMODS      += rpcsec
 623 MISC_KMODS      += rpcsec_gss
 624 MISC_KMODS      += rsmops
 625 MISC_KMODS      += sata
 626 MISC_KMODS      += scsi
 627 MISC_KMODS      += sda
 628 MISC_KMODS      += sol_ofs
 629 MISC_KMODS      += spuni
 630 MISC_KMODS      += strategy
 631 MISC_KMODS      += strplumb
 632 MISC_KMODS      += tem
 633 MISC_KMODS      += tlimod
 634 MISC_KMODS      += usba usba10 usbs49_fw
 635 MISC_KMODS      += scsi_vhci_f_sym_hds
 636 MISC_KMODS      += scsi_vhci_f_sym
 637 MISC_KMODS      += scsi_vhci_f_tpgs
 638 MISC_KMODS      += scsi_vhci_f_asym_sun
 639 MISC_KMODS      += scsi_vhci_f_tape
 640 MISC_KMODS      += scsi_vhci_f_tpgs_tape
 641 MISC_KMODS      += fctl
 642 MISC_KMODS      += emlxs_fw
 643 MISC_KMODS      += qlc_fw_2200
 644 MISC_KMODS      += qlc_fw_2300
 645 MISC_KMODS      += qlc_fw_2400
 646 MISC_KMODS      += qlc_fw_2500
 647 MISC_KMODS      += qlc_fw_6322
 648 MISC_KMODS      += qlc_fw_8100
 649 MISC_KMODS      += uathfw
 650 
 651 MISC_KMODS      += klmmod klmops
 652 
 653 #
 654 #       Software Cryptographic Providers (/kernel/crypto):
 655 #
 656 CRYPTO_KMODS    += aes
 657 CRYPTO_KMODS    += arcfour
 658 CRYPTO_KMODS    += blowfish
 659 CRYPTO_KMODS    += des
 660 CRYPTO_KMODS    += ecc
 661 CRYPTO_KMODS    += edonr
 662 CRYPTO_KMODS    += md4
 663 CRYPTO_KMODS    += md5
 664 CRYPTO_KMODS    += rsa
 665 CRYPTO_KMODS    += sha1
 666 CRYPTO_KMODS    += sha2
 667 CRYPTO_KMODS    += skein
 668 CRYPTO_KMODS    += swrand
 669 
 670 #
 671 #       IP Policy Modules (/kernel/ipp)
 672 #
 673 IPP_KMODS       += dlcosmk
 674 IPP_KMODS       += flowacct
 675 IPP_KMODS       += ipgpc
 676 IPP_KMODS       += dscpmk
 677 IPP_KMODS       += tokenmt
 678 IPP_KMODS       += tswtclmt
 679 
 680 #
 681 #       generic-unix module (/kernel/genunix):
 682 #
 683 GENUNIX_KMODS   += genunix
 684 
 685 #
 686 #       Modules eXcluded from the product:
 687 #
 688 
 689 #
 690 #       'Dacf' Modules (/kernel/dacf):
 691 #
 692 
 693 #
 694 #       Performance Counter BackEnd modules (/usr/kernel/pcbe)
 695 #
 696 PCBE_KMODS      += p123_pcbe p4_pcbe opteron_pcbe core_pcbe
 697 
 698 #
 699 #       MAC-Type Plugin Modules (/kernel/mac)
 700 #
 701 MAC_KMODS       += mac_6to4
 702 MAC_KMODS       += mac_ether
 703 MAC_KMODS       += mac_ipv4
 704 MAC_KMODS       += mac_ipv6
 705 MAC_KMODS       += mac_wifi
 706 MAC_KMODS       += mac_ib
 707 
 708 #
 709 # socketmod (kernel/socketmod)
 710 #
 711 SOCKET_KMODS    += sockpfp
 712 SOCKET_KMODS    += socksctp
 713 SOCKET_KMODS    += socksdp
 714 SOCKET_KMODS    += sockrds
 715 SOCKET_KMODS    += ksslf
 716 
 717 #
 718 #       kiconv modules (/kernel/kiconv):
 719 #
 720 KICONV_KMODS    += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
 721 
 722 #
 723 #       'Dacf' Modules (/kernel/dacf):
 724 #
 725 DACF_KMODS      += net_dacf
 726 
 727 #
 728 # Ensure that the variable member of the cpu_t (cpu_m) is defined
 729 # for the lint builds so as not to cause lint errors during the
 730 # global cross check.
 731 #
 732 LINTFLAGS       += -D_MACHDEP -I$(UTSBASE)/i86pc