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