Makefile revision 309842
1139969Simp# $FreeBSD: stable/10/sys/modules/Makefile 309842 2016-12-11 02:01:59Z rpokala $ 21556Srgrimes 31556Srgrimes.include <bsd.own.mk> 41556Srgrimes 51556SrgrimesSUBDIR_PARALLEL= 61556Srgrimes 71556Srgrimes# Modules that include binary-only blobs of microcode should be selectable by 81556Srgrimes# MK_SOURCELESS_UCODE option (see below). 91556Srgrimes 101556SrgrimesSUBDIR= \ 111556Srgrimes ${_3dfx} \ 121556Srgrimes ${_3dfx_linux} \ 131556Srgrimes ${_aac} \ 141556Srgrimes ${_aacraid} \ 151556Srgrimes accf_data \ 161556Srgrimes accf_dns \ 171556Srgrimes accf_http \ 181556Srgrimes acl_nfs4 \ 191556Srgrimes acl_posix1e \ 201556Srgrimes ${_acpi} \ 211556Srgrimes ae \ 221556Srgrimes ${_aesni} \ 231556Srgrimes age \ 241556Srgrimes ${_agp} \ 251556Srgrimes aha \ 261556Srgrimes ${_ahb} \ 271556Srgrimes ahci \ 281556Srgrimes ${_aic} \ 291556Srgrimes aic7xxx \ 301556Srgrimes aio \ 311556Srgrimes alc \ 321556Srgrimes ale \ 3390153Smarkm alq \ 341556Srgrimes ${_amdsbwd} \ 3527967Ssteve ${_amdtemp} \ 3690153Smarkm amr \ 3727967Ssteve ${_an} \ 38114583Smarkm ${_aout} \ 3999109Sobrien ${_apm} \ 401556Srgrimes ${_arcmsr} \ 411556Srgrimes ${_arcnet} \ 421556Srgrimes ${_asmc} \ 431556Srgrimes ${_asr} \ 441556Srgrimes ata \ 4535373Sdes ath \ 461556Srgrimes ath_pci \ 47128823Stjr ${_autofs} \ 481556Srgrimes ${_auxio} \ 491556Srgrimes ${_bce} \ 501556Srgrimes bfe \ 51128823Stjr bge \ 52128823Stjr ${_bxe} \ 531556Srgrimes ${_bios} \ 541556Srgrimes ${_bktr} \ 551556Srgrimes ${_bm} \ 561556Srgrimes bridgestp \ 5762597Sassar bwi \ 58128823Stjr bwn \ 59128823Stjr cam \ 60128823Stjr ${_canbepm} \ 61128823Stjr ${_canbus} \ 62128823Stjr ${_cardbus} \ 63128823Stjr ${_carp} \ 64128823Stjr cas \ 65128823Stjr ${_cbb} \ 66128823Stjr cc \ 67128823Stjr cd9660 \ 68128823Stjr cd9660_iconv \ 69128823Stjr ${_ce} \ 70128823Stjr ${_cfi} \ 71128823Stjr ${_ciss} \ 72128823Stjr ${_cm} \ 73128823Stjr ${_cmx} \ 74128823Stjr ${_coff} \ 75128823Stjr ${_coretemp} \ 76128823Stjr ${_cp} \ 77128823Stjr ${_cpsw} \ 78128823Stjr ${_cpuctl} \ 79128823Stjr ${_cpufreq} \ 80128823Stjr ${_crypto} \ 81128823Stjr ${_cryptodev} \ 82128868Stjr ${_cs} \ 83128868Stjr ${_ct} \ 84128823Stjr ${_ctau} \ 85128823Stjr ctl \ 86128823Stjr ${_cxgb} \ 87128823Stjr ${_cxgbe} \ 88128823Stjr dc \ 8990110Simp dcons \ 901556Srgrimes dcons_crom \ 91128823Stjr de \ 92128823Stjr ${_dpms} \ 93128823Stjr ${_dpt} \ 94128823Stjr ${_drm} \ 951556Srgrimes ${_drm2} \ 96128823Stjr ${_dtrace} \ 97128823Stjr dummynet \ 98128823Stjr ${_ed} \ 99128823Stjr ${_elink} \ 10062597Sassar ${_em} \ 101128823Stjr en \ 102128823Stjr ${_ep} \ 103128823Stjr ${_epic} \ 104128823Stjr esp \ 105128823Stjr ${_et} \ 106128823Stjr ${_ex} \ 107128823Stjr ${_exca} \ 108128823Stjr ${_ext2fs} \ 109128823Stjr ${_fatm} \ 110128823Stjr fdc \ 111128823Stjr fdescfs \ 112128823Stjr ${_fe} \ 113128823Stjr filemon \ 114128823Stjr firewire \ 115128823Stjr firmware \ 116128823Stjr fuse \ 117128823Stjr ${_fxp} \ 118128823Stjr gem \ 119128823Stjr geom \ 120128823Stjr ${_glxiic} \ 121128823Stjr ${_glxsb} \ 122128823Stjr hatm \ 1231556Srgrimes hifn \ 1241556Srgrimes hme \ 12535373Sdes ${_hpt27xx} \ 12635373Sdes ${_hptiop} \ 12735373Sdes ${_hptmv} \ 12835373Sdes ${_hptnr} \ 12935417Sdes ${_hptrr} \ 13035417Sdes hwpmc \ 13135417Sdes ${_hyperv} \ 13235417Sdes ${_i2c} \ 13335417Sdes ${_ibcore} \ 13435417Sdes ${_ibcs2} \ 135242807Sgrog ${_ichwd} \ 13635373Sdes ${_ida} \ 13735417Sdes ${_ie} \ 13890150Smarkm if_bridge \ 13990110Simp if_disc \ 14035373Sdes if_edsc \ 141128823Stjr if_ef \ 142128823Stjr if_epair \ 143128823Stjr if_faith \ 14435373Sdes ${_if_gif} \ 145128823Stjr ${_if_gre} \ 146128823Stjr ${_if_me} \ 147128823Stjr if_lagg \ 148128823Stjr ${_if_ndis} \ 149128823Stjr if_stf \ 150128823Stjr if_tap \ 151128823Stjr if_tun \ 152128823Stjr if_vlan \ 153128823Stjr if_vxlan \ 154128823Stjr ${_igb} \ 155128823Stjr ${_iir} \ 156128823Stjr ${_imgact_binmisc} \ 157128823Stjr ${_io} \ 158128823Stjr ${_ioat} \ 159128823Stjr ${_ipoib} \ 160128823Stjr ${_ipdivert} \ 161128823Stjr ${_ipfilter} \ 162128823Stjr ${_ipfw} \ 163128823Stjr ipfw_nat \ 164128823Stjr ${_ipmi} \ 165128823Stjr ip6_mroute_mod \ 16635373Sdes ip_mroute_mod \ 16735373Sdes ${_ips} \ 16835373Sdes ${_ipw} \ 16990110Simp ${_ipwfw} \ 17035373Sdes ${_isci} \ 171128823Stjr isp \ 172128823Stjr ${_ispfw} \ 173128823Stjr ${_iwi} \ 174128823Stjr ${_iwifw} \ 175128823Stjr ${_iwn} \ 176128823Stjr ${_iwnfw} \ 177128823Stjr ${_ix} \ 178242725Sgrog ${_ixv} \ 179128823Stjr ${_ixgb} \ 180128823Stjr ${_ixgbe} \ 181128823Stjr ${_ixl} \ 182128823Stjr ${_ixlv} \ 183128823Stjr jme \ 184128823Stjr joy \ 185128823Stjr kbdmux \ 186128823Stjr kgssapi \ 187245091Sandrew kgssapi_krb5 \ 188245091Sandrew khelp \ 189245091Sandrew krpc \ 190245091Sandrew ksyms \ 191128823Stjr le \ 192128823Stjr lge \ 193128823Stjr libalias \ 194128823Stjr libiconv \ 195128823Stjr libmbpool \ 196128823Stjr libmchain \ 197128823Stjr ${_lindev} \ 198128823Stjr ${_linprocfs} \ 199128823Stjr ${_linsysfs} \ 200128823Stjr ${_linux} \ 201128823Stjr ${_linux_common} \ 202128823Stjr ${_linux64} \ 203128823Stjr lmc \ 204128823Stjr lpt \ 205128823Stjr mac_biba \ 206242807Sgrog mac_bsdextended \ 207242807Sgrog mac_ifoff \ 208242807Sgrog mac_lomac \ 209128823Stjr mac_mls \ 210128823Stjr mac_none \ 21135417Sdes mac_partition \ 212128823Stjr mac_portacl \ 213128823Stjr mac_seeotheruids \ 214128823Stjr mac_stub \ 215128823Stjr mac_test \ 216128823Stjr malo \ 217128823Stjr mcd \ 218128823Stjr md \ 21935373Sdes mem \ 220128823Stjr mfi \ 22135373Sdes mii \ 22235373Sdes mlx \ 2231556Srgrimes ${_mlx4} \ 22490110Simp ${_mlx4ib} \ 2251556Srgrimes ${_mlxen} \ 22661324Sache ${_mlx5} \ 22761324Sache ${_mlx5en} \ 228242725Sgrog ${_mly} \ 22961324Sache mmc \ 230242725Sgrog mmcsd \ 23161324Sache mpr \ 23235426Sdes mps \ 2331556Srgrimes mpt \ 2341556Srgrimes mqueue \ 235 mrsas \ 236 msdosfs \ 237 msdosfs_iconv \ 238 ${_mse} \ 239 msk \ 240 ${_mthca} \ 241 mvs \ 242 mwl \ 243 ${_mwlfw} \ 244 mxge \ 245 my \ 246 ${_nandfs} \ 247 ${_nandsim} \ 248 ${_ncp} \ 249 ${_ncv} \ 250 ${_ndis} \ 251 netfpga10g \ 252 ${_netgraph} \ 253 ${_nfe} \ 254 nfs_common \ 255 nfscl \ 256 nfsclient \ 257 nfscommon \ 258 nfsd \ 259 nfslock \ 260 nfslockd \ 261 nfsserver \ 262 nfssvc \ 263 nge \ 264 nmdm \ 265 ${_nsp} \ 266 nullfs \ 267 ${_ntb} \ 268 ${_nvd} \ 269 ${_nve} \ 270 ${_nvme} \ 271 ${_nvram} \ 272 ${_nxge} \ 273 ${_opensolaris} \ 274 oce \ 275 ${_padlock} \ 276 patm \ 277 ${_pccard} \ 278 ${_pcfclock} \ 279 pcn \ 280 ${_pf} \ 281 ${_pflog} \ 282 ${_pfsync} \ 283 plip \ 284 ${_pmc} \ 285 ${_pms} \ 286 ppbus \ 287 ppc \ 288 ppi \ 289 pps \ 290 procfs \ 291 pseudofs \ 292 ${_pst} \ 293 pty \ 294 puc \ 295 ${_qlxge} \ 296 ${_qlxgb} \ 297 ${_qlxgbe} \ 298 ral \ 299 ${_ralfw} \ 300 ${_random} \ 301 rc4 \ 302 ${_rdma} \ 303 re \ 304 reiserfs \ 305 rl \ 306 ${_s3} \ 307 ${_safe} \ 308 ${_sbni} \ 309 scc \ 310 scd \ 311 ${_scsi_low} \ 312 sdhci \ 313 sdhci_pci \ 314 sem \ 315 send \ 316 ${_sf} \ 317 ${_sfxge} \ 318 sge \ 319 siba_bwn \ 320 siftr \ 321 siis \ 322 sis \ 323 sk \ 324 ${_smbfs} \ 325 ${_sn} \ 326 ${_snc} \ 327 snp \ 328 ${_sound} \ 329 ${_speaker} \ 330 ${_splash} \ 331 ${_sppp} \ 332 ste \ 333 ${_stg} \ 334 stge \ 335 ${_streams} \ 336 ${_svr4} \ 337 ${_sym} \ 338 ${_syscons} \ 339 sysvipc \ 340 ${_ti} \ 341 tl \ 342 tmpfs \ 343 ${_toecore} \ 344 ${_tpm} \ 345 trm \ 346 ${_twa} \ 347 twe \ 348 tws \ 349 tx \ 350 ${_txp} \ 351 uart \ 352 ubsec \ 353 udf \ 354 udf_iconv \ 355 ufs \ 356 unionfs \ 357 usb \ 358 utopia \ 359 ${_vesa} \ 360 ${_virtio} \ 361 vge \ 362 ${_viawd} \ 363 vkbd \ 364 ${_vmm} \ 365 ${_vmware} \ 366 ${_vpo} \ 367 vr \ 368 vte \ 369 vx \ 370 ${_vxge} \ 371 wb \ 372 ${_wbwd} \ 373 ${_wi} \ 374 wlan \ 375 wlan_acl \ 376 wlan_amrr \ 377 wlan_ccmp \ 378 wlan_rssadapt \ 379 wlan_tkip \ 380 wlan_wep \ 381 wlan_xauth \ 382 ${_wpi} \ 383 ${_wpifw} \ 384 ${_x86bios} \ 385 ${_xe} \ 386 xl \ 387 ${_zfs} \ 388 zlib \ 389 390.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 391_imgact_binmisc= imgact_binmisc 392_vmware= vmware 393.endif 394 395.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \ 396 ${MACHINE_CPUARCH} != "mips" 397_syscons= syscons 398_vpo= vpo 399.endif 400 401.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 402# no BUS_SPACE_UNSPECIFIED 403# No barrier instruction support (specific to this driver) 404_sym= sym 405# intr_disable() is a macro, causes problems 406.if ${MK_SOURCELESS_UCODE} != "no" 407_cxgb= cxgb 408.endif 409.endif 410 411.if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ 412 ${MACHINE_ARCH:C/mips(el)?/mips/} != "mips" && \ 413 ${MACHINE_ARCH} != "powerpc" 414_cxgbe= cxgbe 415.endif 416 417.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES) 418_autofs= autofs 419.endif 420 421.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 422.if exists(${.CURDIR}/../opencrypto) 423_crypto= crypto 424_cryptodev= cryptodev 425.endif 426.if exists(${.CURDIR}/../crypto) 427_random= random 428.endif 429.endif 430 431.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 432 defined(ALL_MODULES) 433_carp= carp 434_toecore= toecore 435_if_gif= if_gif 436_if_gre= if_gre 437.endif 438 439.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 440_if_me= if_me 441.endif 442 443.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 444_ipfilter= ipfilter 445.endif 446 447.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 448_ipdivert= ipdivert 449_ipfw= ipfw 450.endif 451 452.if ${MK_ISCSI} != "no" || defined(ALL_MODULES) 453SUBDIR+= iscsi 454SUBDIR+= iscsi_initiator 455.endif 456 457.if ${MK_NAND} != "no" || defined(ALL_MODULES) 458_nandfs= nandfs 459_nandsim= nandsim 460.endif 461 462.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 463_netgraph= netgraph 464.endif 465 466.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 467 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 468_pf= pf 469_pflog= pflog 470.if ${MK_INET_SUPPORT} != "no" 471_pfsync= pfsync 472.endif 473.endif 474 475.if ${MK_SOURCELESS_UCODE} != "no" 476_bce= bce 477_fatm= fatm 478_fxp= fxp 479_ispfw= ispfw 480_mwlfw= mwlfw 481_ralfw= ralfw 482_sf= sf 483_sn= sn 484_ti= ti 485_txp= txp 486.endif 487 488.if ${MACHINE_CPUARCH} == "i386" 489# XXX some of these can move to the general case when de-i386'ed 490# XXX some of these can move now, but are untested on other architectures. 491_3dfx= 3dfx 492_3dfx_linux= 3dfx_linux 493_agp= agp 494_aic= aic 495_an= an 496_aout= aout 497_apm= apm 498_arcnet= arcnet 499_bktr= bktr 500_bxe= bxe 501_cardbus= cardbus 502_cbb= cbb 503.if ${MK_SOURCELESS_UCODE} != "no" 504_ce= ce 505.endif 506_coff= coff 507.if ${MK_SOURCELESS_UCODE} != "no" 508_cp= cp 509.endif 510_cpuctl= cpuctl 511_cpufreq= cpufreq 512_cs= cs 513_dpms= dpms 514_drm= drm 515_drm2= drm2 516.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 517_dtrace= dtrace 518.endif 519_ed= ed 520_elink= elink 521_em= em 522_ep= ep 523_et= et 524_exca= exca 525_ext2fs= ext2fs 526_fe= fe 527_glxiic= glxiic 528_glxsb= glxsb 529_i2c= i2c 530.if ${MK_OFED} != "no" || defined(ALL_MODULES) 531_ibcore= ibcore 532.endif 533_ibcs2= ibcs2 534_ie= ie 535_if_ndis= if_ndis 536_igb= igb 537_io= io 538.if ${MK_OFED} != "no" || defined(ALL_MODULES) 539_ipoib= ipoib 540.endif 541_lindev= lindev 542_linprocfs= linprocfs 543_linsysfs= linsysfs 544_linux= linux 545_mse= mse 546.if ${MK_OFED} != "no" || defined(ALL_MODULES) 547_mlx4= mlx4 548_mlx4ib= mlx4ib 549_mlxen= mlxen 550_mthca= mthca 551.endif 552_mlx5= mlx5 553.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 554 defined(ALL_MODULES) 555_mlx5en= mlx5en 556.endif 557_ncv= ncv 558_ndis= ndis 559_nsp= nsp 560.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 561_opensolaris= opensolaris 562.endif 563_pccard= pccard 564_pcfclock= pcfclock 565_pst= pst 566_rdma= rdma 567_safe= safe 568_sbni= sbni 569_scsi_low= scsi_low 570_smbfs= smbfs 571_sound= sound 572_speaker= speaker 573_splash= splash 574_sppp= sppp 575_stg= stg 576_streams= streams 577_svr4= svr4 578_vxge= vxge 579_wbwd= wbwd 580_wi= wi 581_xe= xe 582.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 583_zfs= zfs 584.endif 585.if ${MACHINE} == "i386" 586_aac= aac 587_aacraid= aacraid 588_acpi= acpi 589.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 590_aesni= aesni 591.endif 592_ahb= ahb 593_amdsbwd= amdsbwd 594_amdtemp= amdtemp 595_arcmsr= arcmsr 596_asmc= asmc 597_asr= asr 598_bios= bios 599_ciss= ciss 600_cm= cm 601_cmx= cmx 602_coretemp= coretemp 603.if ${MK_SOURCELESS_UCODE} != "no" 604_ctau= ctau 605.endif 606_dpt= dpt 607_ex= ex 608.if ${MK_SOURCELESS_HOST} != "no" 609_hpt27xx= hpt27xx 610.endif 611_hptiop= hptiop 612.if ${MK_SOURCELESS_HOST} != "no" 613_hptmv= hptmv 614_hptnr= hptnr 615_hptrr= hptrr 616.endif 617_hyperv= hyperv 618_ichwd= ichwd 619_ida= ida 620_iir= iir 621_ipmi= ipmi 622_ips= ips 623_ipw= ipw 624.if ${MK_SOURCELESS_UCODE} != "no" 625_ipwfw= ipwfw 626.endif 627_isci= isci 628_iwi= iwi 629.if ${MK_SOURCELESS_UCODE} != "no" 630_iwifw= iwifw 631.endif 632_iwn= iwn 633.if ${MK_SOURCELESS_UCODE} != "no" 634_iwnfw= iwnfw 635.endif 636_ix= ix 637_ixv= ixv 638_ixgb= ixgb 639_ixgbe= ixgbe 640_mly= mly 641_nfe= nfe 642_nvd= nvd 643.if ${MK_SOURCELESS_HOST} != "no" 644_nve= nve 645.endif 646_nvme= nvme 647_nvram= nvram 648_nxge= nxge 649_tpm= tpm 650_viawd= viawd 651_wpi= wpi 652.if ${MK_SOURCELESS_UCODE} != "no" 653_wpifw= wpifw 654.endif 655.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 656_padlock= padlock 657.endif 658_s3= s3 659_twa= twa 660_vesa= vesa 661_virtio= virtio 662_x86bios= x86bios 663.elif ${MACHINE} == "pc98" 664_canbepm= canbepm 665_canbus= canbus 666_ct= ct 667_pmc= pmc 668_snc= snc 669.endif 670.endif 671 672.if ${MACHINE_CPUARCH} == "amd64" 673_aac= aac 674_aacraid= aacraid 675_aout= aout 676_acpi= acpi 677.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 678_aesni= aesni 679.endif 680_agp= agp 681_an= an 682_amdsbwd= amdsbwd 683_amdtemp= amdtemp 684_arcmsr= arcmsr 685_asmc= asmc 686_bios= bios 687_bktr= bktr 688_bxe= bxe 689_cardbus= cardbus 690_cbb= cbb 691_cmx= cmx 692_ciss= ciss 693_coretemp= coretemp 694_cpuctl= cpuctl 695_cpufreq= cpufreq 696_dpms= dpms 697_drm= drm 698_drm2= drm2 699.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 700_dtrace= dtrace 701.endif 702_ed= ed 703_et= et 704_em= em 705_exca= exca 706_ext2fs= ext2fs 707.if ${MK_SOURCELESS_HOST} != "no" 708_hpt27xx= hpt27xx 709.endif 710_hptiop= hptiop 711.if ${MK_SOURCELESS_HOST} != "no" 712_hptmv= hptmv 713_hptnr= hptnr 714_hptrr= hptrr 715.endif 716_hyperv= hyperv 717_i2c= i2c 718.if ${MK_OFED} != "no" || defined(ALL_MODULES) 719_ibcore= ibcore 720.endif 721_ichwd= ichwd 722_ida= ida 723_if_ndis= if_ndis 724_igb= igb 725_iir= iir 726_io= io 727_ioat= ioat 728_ipmi= ipmi 729.if ${MK_OFED} != "no" || defined(ALL_MODULES) 730_ipoib= ipoib 731.endif 732_ips= ips 733_ipw= ipw 734.if ${MK_SOURCELESS_UCODE} != "no" 735_ipwfw= ipwfw 736.endif 737_isci= isci 738_iwi= iwi 739.if ${MK_SOURCELESS_UCODE} != "no" 740_iwifw= iwifw 741.endif 742_iwn= iwn 743.if ${MK_SOURCELESS_UCODE} != "no" 744_iwnfw= iwnfw 745.endif 746_ix= ix 747_ixv= ixv 748_ixgb= ixgb 749_ixgbe= ixgbe 750_ixl= ixl 751_ixlv= ixlv 752_lindev= lindev 753_linprocfs= linprocfs 754_linsysfs= linsysfs 755_linux= linux 756_linux64= linux64 757_linux_common= linux_common 758_mly= mly 759.if ${MK_OFED} != "no" || defined(ALL_MODULES) 760_mlx4= mlx4 761_mlx4ib= mlx4ib 762_mlxen= mlxen 763_mthca= mthca 764.endif 765_mlx5= mlx5 766.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 767 defined(ALL_MODULES) 768_mlx5en= mlx5en 769.endif 770_ndis= ndis 771_nfe= nfe 772_ntb= ntb 773_nvd= nvd 774.if ${MK_SOURCELESS_HOST} != "no" 775_nve= nve 776.endif 777_nvme= nvme 778_nvram= nvram 779_nxge= nxge 780.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 781_opensolaris= opensolaris 782.endif 783.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 784_padlock= padlock 785.endif 786_pccard= pccard 787_pms= pms 788_qlxge= qlxge 789_qlxgb= qlxgb 790_qlxgbe= qlxgbe 791_rdma= rdma 792_s3= s3 793_safe= safe 794_scsi_low= scsi_low 795_sfxge= sfxge 796_smbfs= smbfs 797_sound= sound 798_speaker= speaker 799_splash= splash 800_sppp= sppp 801_tpm= tpm 802_twa= twa 803_vesa= vesa 804_viawd= viawd 805_virtio= virtio 806.if ${MK_BHYVE} != "no" || defined(ALL_MODULES) 807_vmm= vmm 808.endif 809_vxge= vxge 810_x86bios= x86bios 811_wbwd= wbwd 812_wi= wi 813_wpi= wpi 814.if ${MK_SOURCELESS_UCODE} != "no" 815_wpifw= wpifw 816.endif 817.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 818_zfs= zfs 819.endif 820.endif 821 822.if ${MACHINE_CPUARCH} == "arm" 823_cfi= cfi 824_cpsw= cpsw 825.endif 826 827.if ${MACHINE_CPUARCH} == "ia64" 828_aac= aac 829_aacraid= aacraid 830_aic= aic 831_an= an 832_arcnet= arcnet 833_asr= asr 834_bktr= bktr 835_cardbus= cardbus 836_cbb= cbb 837_ciss= ciss 838_cm= cm 839_cmx= cmx 840_coff= coff 841_cpufreq= cpufreq 842_dpt= dpt 843_em= em 844_ep= ep 845_et= et 846_exca= exca 847_fe= fe 848_hptiop= hptiop 849_ida= ida 850_igb= igb 851_iir= iir 852_ips= ips 853_mly= mly 854_pccard= pccard 855_scsi_low= scsi_low 856_smbfs= smbfs 857_sound= sound 858_splash= splash 859_sppp= sppp 860_streams= streams 861_tpm= tpm 862_twa= twa 863_wi= wi 864_xe= xe 865.endif 866 867.if ${MACHINE_CPUARCH} == "powerpc" 868_agp= agp 869_an= an 870_bm= bm 871_cardbus= cardbus 872_cbb= cbb 873_cfi= cfi 874_cpufreq= cpufreq 875_drm= drm 876.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 877_dtrace= dtrace 878.endif 879_exca= exca 880_nvram= powermac_nvram 881_pccard= pccard 882_smbfs= smbfs 883_sound= sound 884.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 885_opensolaris= opensolaris 886.endif 887_wi= wi 888.endif 889 890.if ${MACHINE_ARCH} == "powerpc64" 891_drm2= drm2 892_i2c= i2c 893.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 894_zfs= zfs 895.endif 896.endif 897 898.if ${MACHINE_CPUARCH} == "sparc64" 899_auxio= auxio 900_em= em 901_epic= epic 902_i2c= i2c 903_igb= igb 904.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 905_opensolaris= opensolaris 906.endif 907_smbfs= smbfs 908_sound= sound 909.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 910_zfs= zfs 911.endif 912.endif 913 914.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 915SUBDIR=${MODULES_OVERRIDE} 916.endif 917 918SUBDIR+=${MODULES_EXTRA} 919 920.for reject in ${WITHOUT_MODULES} 921SUBDIR:= ${SUBDIR:N${reject}} 922.endfor 923 924# Calling kldxref(8) for each module is expensive. 925.if !defined(NO_XREF) 926.MAKEFLAGS+= -DNO_XREF 927afterinstall: 928 @if type kldxref >/dev/null 2>&1; then \ 929 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 930 kldxref ${DESTDIR}${KMODDIR}; \ 931 fi 932.endif 933 934.include <bsd.subdir.mk> 935