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