Makefile revision 265388
11541Srgrimes# $FreeBSD: stable/10/sys/modules/Makefile 265388 2014-05-05 20:35:35Z ken $ 21541Srgrimes 31541Srgrimes.include <bsd.own.mk> 41541Srgrimes 51541Srgrimes# Modules that include binary-only blobs of microcode should be selectable by 61541Srgrimes# MK_SOURCELESS_UCODE option (see below). 71541Srgrimes 81541SrgrimesSUBDIR= \ 91541Srgrimes ${_3dfx} \ 101541Srgrimes ${_3dfx_linux} \ 111541Srgrimes ${_aac} \ 121541Srgrimes ${_aacraid} \ 131541Srgrimes accf_data \ 141541Srgrimes accf_dns \ 151541Srgrimes accf_http \ 161541Srgrimes acl_nfs4 \ 171541Srgrimes acl_posix1e \ 181541Srgrimes ${_acpi} \ 191541Srgrimes ae \ 201541Srgrimes ${_aesni} \ 211541Srgrimes age \ 221541Srgrimes ${_agp} \ 231541Srgrimes aha \ 241541Srgrimes ${_ahb} \ 251541Srgrimes ahci \ 261541Srgrimes ${_aic} \ 271541Srgrimes aic7xxx \ 281541Srgrimes aio \ 2914482Shsu alc \ 3050477Speter ale \ 311541Srgrimes alq \ 321541Srgrimes ${_amdsbwd} \ 332165Spaul ${_amdtemp} \ 342165Spaul amr \ 352165Spaul ${_an} \ 36102325Smike ${_aout} \ 37102325Smike ${_apm} \ 3834319Sdufault ${_arcmsr} \ 39102325Smike ${_arcnet} \ 401541Srgrimes ${_asmc} \ 4182295Sdillon ${_asr} \ 4282295Sdillon ata \ 4382295Sdillon ath \ 4482295Sdillon ath_pci \ 4582295Sdillon ${_auxio} \ 46319278Sdelphij ${_bce} \ 47102325Smike bfe \ 4882295Sdillon bge \ 4982295Sdillon ${_bxe} \ 501541Srgrimes ${_bios} \ 511541Srgrimes ${_bktr} \ 5214482Shsu ${_bm} \ 531541Srgrimes bridgestp \ 541541Srgrimes bwi \ 551541Srgrimes bwn \ 561541Srgrimes cam \ 571541Srgrimes ${_canbepm} \ 581541Srgrimes ${_canbus} \ 591541Srgrimes ${_cardbus} \ 601541Srgrimes ${_carp} \ 619507Sdg cas \ 629507Sdg ${_cbb} \ 63144531Sdas cc \ 649507Sdg cd9660 \ 65144531Sdas cd9660_iconv \ 661541Srgrimes ${_ce} \ 671541Srgrimes ${_cfi} \ 681541Srgrimes ${_ciss} \ 691541Srgrimes ${_cm} \ 701541Srgrimes ${_cmx} \ 71144531Sdas ${_coff} \ 72144531Sdas ${_coretemp} \ 731541Srgrimes ${_cp} \ 741541Srgrimes ${_cpsw} \ 7582295Sdillon ${_cpuctl} \ 7682285Sdillon ${_cpufreq} \ 771541Srgrimes ${_crypto} \ 7842360Sjulian ${_cryptodev} \ 7957550Sps ${_cs} \ 801541Srgrimes ${_ct} \ 8157550Sps ${_ctau} \ 82102325Smike ctl \ 83102325Smike ${_cxgb} \ 84102325Smike ${_cxgbe} \ 85102325Smike ${_cyclic} \ 86198973Sed dc \ 87198973Sed dcons \ 88198973Sed dcons_crom \ 89102325Smike de \ 90102325Smike ${_dpms} \ 9157550Sps ${_dpt} \ 9257550Sps ${_drm} \ 93321717Skib ${_drm2} \ 94267901Skib ${_dtrace} \ 9557550Sps dummynet \ 96211937Salc ${_ed} \ 97255426Sjhb ${_elink} \ 98255426Sjhb ${_em} \ 99255426Sjhb en \ 100254430Sjhb ${_ep} \ 101254430Sjhb ${_epic} \ 102254430Sjhb esp \ 103254430Sjhb ${_et} \ 104254430Sjhb ${_ex} \ 105254430Sjhb ${_exca} \ 106254430Sjhb ${_ext2fs} \ 107254430Sjhb ${_fatm} \ 108254430Sjhb fdc \ 109254430Sjhb fdescfs \ 110254430Sjhb ${_fe} \ 111102325Smike ${_filemon} \ 11257550Sps firewire \ 113102325Smike firmware \ 1141541Srgrimes fuse \ 11534030Sdufault ${_fxp} \ 11634030Sdufault gem \ 11734030Sdufault geom \ 11834030Sdufault ${_glxiic} \ 119102325Smike ${_glxsb} \ 12034030Sdufault hatm \ 12134030Sdufault hifn \ 12220346Salex hme \ 12320346Salex ${_hpt27xx} \ 12432131Salex ${_hptiop} \ 12520346Salex ${_hptmv} \ 12620346Salex ${_hptnr} \ 1277358Sdg ${_hptrr} \ 1287358Sdg hwpmc \ 12931497Sdyson ${_hyperv} \ 1307358Sdg ${_i2c} \ 1317358Sdg ${_ibcore} \ 1327358Sdg ${_ibcs2} \ 1337358Sdg ${_ichwd} \ 1341541Srgrimes ${_ida} \ 1351541Srgrimes ${_ie} \ 136144531Sdas if_bridge \ 137144531Sdas if_disc \ 138144531Sdas if_edsc \ 139144531Sdas if_ef \ 140144531Sdas if_epair \ 141144531Sdas if_faith \ 142144531Sdas if_gif \ 143144531Sdas ${_if_gre} \ 144144531Sdas if_lagg \ 145144531Sdas ${_if_ndis} \ 146144531Sdas if_stf \ 147144531Sdas if_tap \ 14815873Sdyson if_tun \ 14954467Sdillon if_vlan \ 15054467Sdillon ${_igb} \ 15157550Sps ${_iir} \ 15257550Sps ${_io} \ 153112881Swes ${_ipoib} \ 1541541Srgrimes ${_ipdivert} \ 15515819Sdyson ${_ipfilter} \ 15615819Sdyson ${_ipfw} \ 15715819Sdyson ipfw_nat \ 15815819Sdyson ${_ipmi} \ 15915819Sdyson ip6_mroute_mod \ 16015819Sdyson ip_mroute_mod \ 16115819Sdyson ${_ips} \ 16215819Sdyson ${_ipw} \ 163177680Sps ${_ipwfw} \ 164175164Sjhb ${_isci} \ 165175164Sjhb iscsi \ 166175164Sjhb iscsi_initiator \ 167175164Sjhb isp \ 168175164Sjhb ${_ispfw} \ 169102325Smike ${_iwi} \ 17015819Sdyson ${_iwifw} \ 171102325Smike ${_iwn} \ 172118684Sbms ${_iwnfw} \ 173102325Smike ${_ixgb} \ 174102325Smike ${_ixgbe} \ 175118684Sbms jme \ 176144531Sdas joy \ 177144531Sdas kbdmux \ 178144531Sdas kgssapi \ 179144531Sdas kgssapi_krb5 \ 180144531Sdas khelp \ 181118684Sbms krpc \ 182102325Smike ksyms \ 183102325Smike le \ 184102325Smike lge \ 185102325Smike libalias \ 186102325Smike libiconv \ 187102325Smike libmbpool \ 188102325Smike libmchain \ 189102325Smike ${_lindev} \ 190102325Smike ${_linprocfs} \ 191102325Smike ${_linsysfs} \ 192102325Smike ${_linux} \ 193102325Smike lmc \ 194102325Smike lpt \ 195102325Smike mac_biba \ 196102325Smike mac_bsdextended \ 197102325Smike mac_ifoff \ 198233760Sjhb mac_lomac \ 199254603Skib mac_mls \ 200254603Skib mac_none \ 201254603Skib mac_partition \ 202254603Skib mac_portacl \ 203175164Sjhb mac_seeotheruids \ 2041541Srgrimes mac_stub \ 205228509Sjhb mac_test \ 206228509Sjhb malo \ 207175164Sjhb mcd \ 208175164Sjhb md \ 209175164Sjhb mem \ 210175164Sjhb mfi \ 211175164Sjhb mii \ 212175164Sjhb mlx \ 213175164Sjhb ${_mlx4} \ 214228509Sjhb ${_mlx4ib} \ 215175164Sjhb ${_mlxen} \ 216175164Sjhb ${_mly} \ 217175164Sjhb mmc \ 218175164Sjhb mmcsd \ 219175164Sjhb mpr \ 220175164Sjhb mps \ 221175164Sjhb mpt \ 222175164Sjhb mqueue \ 223175164Sjhb msdosfs \ 224271399Sjhb msdosfs_iconv \ 225175164Sjhb ${_mse} \ 226175164Sjhb msk \ 227233760Sjhb ${_mthca} \ 228254603Skib mvs \ 229254603Skib mwl \ 230254603Skib ${_mwlfw} \ 231175164Sjhb mxge \ 232233760Sjhb my \ 233175164Sjhb ${_nandfs} \ 234233760Sjhb ${_nandsim} \ 235175164Sjhb ${_ncp} \ 236175164Sjhb ${_ncv} \ 237228509Sjhb ${_ndis} \ 238228509Sjhb ${_netgraph} \ 239233760Sjhb ${_nfe} \ 240175164Sjhb nfs_common \ 241175164Sjhb nfscl \ 242175164Sjhb nfsclient \ 2431541Srgrimes nfscommon \ 244102325Smike nfsd \ 245128680Smux nfslock \ 246128680Smux nfslockd \ 247102325Smike nfsserver \ 248102325Smike nfssvc \ 249197331Salc nge \ 250102325Smike nmdm \ 251102325Smike ${_nsp} \ 252102325Smike nullfs \ 253102325Smike ${_ntb} \ 254102325Smike ${_nvd} \ 25524896Sbde ${_nve} \ 25624896Sbde ${_nvme} \ 25792719Salfred ${_nvram} \ 25824896Sbde ${_nxge} \ 25992719Salfred ${_opensolaris} \ 26092719Salfred oce \ 26192719Salfred ${_padlock} \ 26292719Salfred patm \ 263118684Sbms ${_pccard} \ 264118684Sbms ${_pcfclock} \ 265118684Sbms pcn \ 266102325Smike ${_pf} \ 267118771Sbms ${_pflog} \ 268118771Sbms ${_pfsync} \ 269102325Smike plip \ 270102325Smike ${_pmc} \ 27134030Sdufault ppbus \ 2721541Srgrimes ppc \ 2731541Srgrimes ppi \ 27455205Speter pps \ 2752165Spaul procfs \ 276102325Smike pseudofs \ 277 ${_pst} \ 278 pty \ 279 puc \ 280 ${_qlxge} \ 281 ${_qlxgb} \ 282 ${_qlxgbe} \ 283 ral \ 284 ${_ralfw} \ 285 ${_random} \ 286 rc4 \ 287 ${_rdma} \ 288 re \ 289 reiserfs \ 290 rl \ 291 ${_s3} \ 292 ${_safe} \ 293 ${_sbni} \ 294 scc \ 295 scd \ 296 ${_scsi_low} \ 297 sdhci \ 298 sdhci_pci \ 299 sem \ 300 send \ 301 ${_sf} \ 302 ${_sfxge} \ 303 sge \ 304 siba_bwn \ 305 siftr \ 306 siis \ 307 sis \ 308 sk \ 309 ${_smbfs} \ 310 ${_sn} \ 311 ${_snc} \ 312 snp \ 313 ${_sound} \ 314 ${_speaker} \ 315 ${_splash} \ 316 ${_sppp} \ 317 ste \ 318 ${_stg} \ 319 stge \ 320 ${_streams} \ 321 ${_svr4} \ 322 ${_sym} \ 323 ${_syscons} \ 324 sysvipc \ 325 ${_ti} \ 326 tl \ 327 tmpfs \ 328 ${_toecore} \ 329 ${_tpm} \ 330 trm \ 331 ${_twa} \ 332 twe \ 333 tws \ 334 tx \ 335 ${_txp} \ 336 uart \ 337 ubsec \ 338 udf \ 339 udf_iconv \ 340 ufs \ 341 unionfs \ 342 usb \ 343 utopia \ 344 ${_vesa} \ 345 ${_virtio} \ 346 vge \ 347 ${_viawd} \ 348 vkbd \ 349 ${_vmm} \ 350 ${_vmware} \ 351 ${_vpo} \ 352 vr \ 353 vte \ 354 vx \ 355 ${_vxge} \ 356 wb \ 357 ${_wbwd} \ 358 ${_wi} \ 359 wlan \ 360 wlan_acl \ 361 wlan_amrr \ 362 wlan_ccmp \ 363 wlan_rssadapt \ 364 wlan_tkip \ 365 wlan_wep \ 366 wlan_xauth \ 367 ${_wpi} \ 368 ${_wpifw} \ 369 ${_x86bios} \ 370 ${_xe} \ 371 xl \ 372 ${_zfs} \ 373 zlib \ 374 375.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 376_filemon= filemon 377_vmware= vmware 378.endif 379 380.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \ 381 ${MACHINE_CPUARCH} != "mips" 382_syscons= syscons 383_vpo= vpo 384.endif 385 386.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 387# no BUS_SPACE_UNSPECIFIED 388# No barrier instruction support (specific to this driver) 389_sym= sym 390# intr_disable() is a macro, causes problems 391.if ${MK_SOURCELESS_UCODE} != "no" 392_cxgb= cxgb 393.endif 394.endif 395 396.if ${MK_SOURCELESS_UCODE} != "no" 397_cxgbe= cxgbe 398.endif 399 400.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 401.if exists(${.CURDIR}/../opencrypto) 402_crypto= crypto 403_cryptodev= cryptodev 404.endif 405.if exists(${.CURDIR}/../crypto) 406_random= random 407.endif 408.endif 409 410.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 411 defined(ALL_MODULES) 412_carp= carp 413_toecore= toecore 414.endif 415 416.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 417_if_gre= if_gre 418.endif 419 420.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 421_ipfilter= ipfilter 422.endif 423 424.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 425_ipdivert= ipdivert 426_ipfw= ipfw 427.endif 428 429.if ${MK_NAND} != "no" || defined(ALL_MODULES) 430_nandfs= nandfs 431_nandsim= nandsim 432.endif 433 434.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 435_netgraph= netgraph 436.endif 437 438.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 439 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 440_pf= pf 441_pflog= pflog 442.if ${MK_INET_SUPPORT} != "no" 443_pfsync= pfsync 444.endif 445.endif 446 447.if ${MK_SOURCELESS_UCODE} != "no" 448_bce= bce 449_fatm= fatm 450_fxp= fxp 451_ispfw= ispfw 452_mwlfw= mwlfw 453_ralfw= ralfw 454_sf= sf 455_sn= sn 456_ti= ti 457_txp= txp 458.endif 459 460.if ${MACHINE_CPUARCH} == "i386" 461# XXX some of these can move to the general case when de-i386'ed 462# XXX some of these can move now, but are untested on other architectures. 463_3dfx= 3dfx 464_3dfx_linux= 3dfx_linux 465_agp= agp 466_aic= aic 467_an= an 468_aout= aout 469_apm= apm 470_arcnet= arcnet 471_bktr= bktr 472_bxe= bxe 473_cardbus= cardbus 474_cbb= cbb 475.if ${MK_SOURCELESS_UCODE} != "no" 476_ce= ce 477.endif 478_coff= coff 479.if ${MK_SOURCELESS_UCODE} != "no" 480_cp= cp 481.endif 482_cpuctl= cpuctl 483_cpufreq= cpufreq 484_cs= cs 485.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 486_cyclic= cyclic 487.endif 488_dpms= dpms 489_drm= drm 490_drm2= drm2 491.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 492_dtrace= dtrace 493.endif 494_ed= ed 495_elink= elink 496_em= em 497_ep= ep 498_et= et 499_exca= exca 500_ext2fs= ext2fs 501_fe= fe 502_glxiic= glxiic 503_glxsb= glxsb 504_i2c= i2c 505.if ${MK_OFED} != "no" || defined(ALL_MODULES) 506_ibcore= ibcore 507.endif 508_ibcs2= ibcs2 509_ie= ie 510_if_ndis= if_ndis 511_igb= igb 512_io= io 513.if ${MK_OFED} != "no" || defined(ALL_MODULES) 514_ipoib= ipoib 515.endif 516_lindev= lindev 517_linprocfs= linprocfs 518_linsysfs= linsysfs 519_linux= linux 520_mse= mse 521.if ${MK_OFED} != "no" || defined(ALL_MODULES) 522_mlx4= mlx4 523_mlx4ib= mlx4ib 524_mlxen= mlxen 525_mthca= mthca 526.endif 527_ncv= ncv 528_ndis= ndis 529_nsp= nsp 530.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 531_opensolaris= opensolaris 532.endif 533_pccard= pccard 534_pcfclock= pcfclock 535_pst= pst 536_rdma= rdma 537_safe= safe 538_sbni= sbni 539_scsi_low= scsi_low 540_smbfs= smbfs 541_sound= sound 542_speaker= speaker 543_splash= splash 544_sppp= sppp 545_stg= stg 546_streams= streams 547_svr4= svr4 548_vxge= vxge 549_wbwd= wbwd 550_wi= wi 551_xe= xe 552.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 553_zfs= zfs 554.endif 555.if ${MACHINE} == "i386" 556_aac= aac 557_aacraid= aacraid 558_acpi= acpi 559.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 560_aesni= aesni 561.endif 562_ahb= ahb 563_amdsbwd= amdsbwd 564_amdtemp= amdtemp 565_arcmsr= arcmsr 566_asmc= asmc 567_asr= asr 568_bios= bios 569_ciss= ciss 570_cm= cm 571_cmx= cmx 572_coretemp= coretemp 573.if ${MK_SOURCELESS_UCODE} != "no" 574_ctau= ctau 575.endif 576_dpt= dpt 577_ex= ex 578.if ${MK_SOURCELESS_HOST} != "no" 579_hpt27xx= hpt27xx 580.endif 581_hptiop= hptiop 582.if ${MK_SOURCELESS_HOST} != "no" 583_hptmv= hptmv 584_hptnr= hptnr 585_hptrr= hptrr 586.endif 587_hyperv= hyperv 588_ichwd= ichwd 589_ida= ida 590_iir= iir 591_ipmi= ipmi 592_ips= ips 593_ipw= ipw 594.if ${MK_SOURCELESS_UCODE} != "no" 595_ipwfw= ipwfw 596.endif 597_isci= isci 598_iwi= iwi 599.if ${MK_SOURCELESS_UCODE} != "no" 600_iwifw= iwifw 601.endif 602_iwn= iwn 603.if ${MK_SOURCELESS_UCODE} != "no" 604_iwnfw= iwnfw 605.endif 606_ixgb= ixgb 607_ixgbe= ixgbe 608_mly= mly 609_nfe= nfe 610_nvd= nvd 611.if ${MK_SOURCELESS_HOST} != "no" 612_nve= nve 613.endif 614_nvme= nvme 615_nvram= nvram 616_nxge= nxge 617_tpm= tpm 618_viawd= viawd 619_wpi= wpi 620.if ${MK_SOURCELESS_UCODE} != "no" 621_wpifw= wpifw 622.endif 623.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 624_padlock= padlock 625.endif 626_s3= s3 627_twa= twa 628_vesa= vesa 629_virtio= virtio 630_x86bios= x86bios 631.elif ${MACHINE} == "pc98" 632_canbepm= canbepm 633_canbus= canbus 634_ct= ct 635_pmc= pmc 636_snc= snc 637.endif 638.endif 639 640.if ${MACHINE_CPUARCH} == "amd64" 641_aac= aac 642_aacraid= aacraid 643_aout= aout 644_acpi= acpi 645.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 646_aesni= aesni 647.endif 648_agp= agp 649_an= an 650_amdsbwd= amdsbwd 651_amdtemp= amdtemp 652_arcmsr= arcmsr 653_asmc= asmc 654_bktr= bktr 655_bxe= bxe 656_cardbus= cardbus 657_cbb= cbb 658_cmx= cmx 659_ciss= ciss 660_coretemp= coretemp 661_cpuctl= cpuctl 662_cpufreq= cpufreq 663.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 664_cyclic= cyclic 665.endif 666_dpms= dpms 667_drm= drm 668_drm2= drm2 669.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 670_dtrace= dtrace 671.endif 672_ed= ed 673_et= et 674_em= em 675_exca= exca 676_ext2fs= ext2fs 677.if ${MK_SOURCELESS_HOST} != "no" 678_hpt27xx= hpt27xx 679.endif 680_hptiop= hptiop 681.if ${MK_SOURCELESS_HOST} != "no" 682_hptmv= hptmv 683_hptnr= hptnr 684_hptrr= hptrr 685.endif 686_hyperv= hyperv 687_i2c= i2c 688.if ${MK_OFED} != "no" || defined(ALL_MODULES) 689_ibcore= ibcore 690.endif 691_ichwd= ichwd 692_ida= ida 693_if_ndis= if_ndis 694_igb= igb 695_iir= iir 696_io= io 697_ipmi= ipmi 698.if ${MK_OFED} != "no" || defined(ALL_MODULES) 699_ipoib= ipoib 700.endif 701_ips= ips 702_ipw= ipw 703.if ${MK_SOURCELESS_UCODE} != "no" 704_ipwfw= ipwfw 705.endif 706_isci= isci 707_iwi= iwi 708.if ${MK_SOURCELESS_UCODE} != "no" 709_iwifw= iwifw 710.endif 711_iwn= iwn 712.if ${MK_SOURCELESS_UCODE} != "no" 713_iwnfw= iwnfw 714.endif 715_ixgb= ixgb 716_ixgbe= ixgbe 717_lindev= lindev 718_linprocfs= linprocfs 719_linsysfs= linsysfs 720_linux= linux 721_mly= mly 722.if ${MK_OFED} != "no" || defined(ALL_MODULES) 723_mlx4= mlx4 724_mlx4ib= mlx4ib 725_mlxen= mlxen 726_mthca= mthca 727.endif 728_ndis= ndis 729_nfe= nfe 730_ntb= ntb 731_nvd= nvd 732.if ${MK_SOURCELESS_HOST} != "no" 733_nve= nve 734.endif 735_nvme= nvme 736_nvram= nvram 737_nxge= nxge 738.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 739_opensolaris= opensolaris 740.endif 741.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 742_padlock= padlock 743.endif 744_pccard= pccard 745_qlxge= qlxge 746_qlxgb= qlxgb 747_qlxgbe= qlxgbe 748_rdma= rdma 749_s3= s3 750_safe= safe 751_scsi_low= scsi_low 752_sfxge= sfxge 753_smbfs= smbfs 754_sound= sound 755_speaker= speaker 756_splash= splash 757_sppp= sppp 758_tpm= tpm 759_twa= twa 760_vesa= vesa 761_viawd= viawd 762_virtio= virtio 763_vmm= vmm 764_vxge= vxge 765_x86bios= x86bios 766_wbwd= wbwd 767_wi= wi 768_wpi= wpi 769.if ${MK_SOURCELESS_UCODE} != "no" 770_wpifw= wpifw 771.endif 772.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 773_zfs= zfs 774.endif 775.endif 776 777.if ${MACHINE_CPUARCH} == "arm" 778_cfi= cfi 779_cpsw= cpsw 780.endif 781 782.if ${MACHINE_CPUARCH} == "ia64" 783_aac= aac 784_aacraid= aacraid 785_aic= aic 786_an= an 787_arcnet= arcnet 788_asr= asr 789_bktr= bktr 790_cardbus= cardbus 791_cbb= cbb 792_ciss= ciss 793_cm= cm 794_cmx= cmx 795_coff= coff 796_cpufreq= cpufreq 797_dpt= dpt 798_em= em 799_ep= ep 800_et= et 801_exca= exca 802_fe= fe 803_hptiop= hptiop 804_ida= ida 805_igb= igb 806_iir= iir 807_ips= ips 808_mly= mly 809_pccard= pccard 810_scsi_low= scsi_low 811_smbfs= smbfs 812_sound= sound 813_splash= splash 814_sppp= sppp 815_streams= streams 816_tpm= tpm 817_twa= twa 818_wi= wi 819_xe= xe 820.endif 821 822.if ${MACHINE_CPUARCH} == "powerpc" 823_agp= agp 824_an= an 825_bm= bm 826_cardbus= cardbus 827_cbb= cbb 828_cfi= cfi 829_cpufreq= cpufreq 830.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 831_cyclic= cyclic 832.endif 833_drm= drm 834.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 835_dtrace= dtrace 836.endif 837_exca= exca 838_nvram= powermac_nvram 839_pccard= pccard 840_smbfs= smbfs 841_sound= sound 842.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 843_opensolaris= opensolaris 844.endif 845_wi= wi 846.endif 847 848.if ${MACHINE_ARCH} == "powerpc64" 849.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 850_zfs= zfs 851.endif 852.endif 853 854.if ${MACHINE_CPUARCH} == "sparc64" 855_auxio= auxio 856_em= em 857_epic= epic 858_i2c= i2c 859_igb= igb 860.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 861_opensolaris= opensolaris 862.endif 863_smbfs= smbfs 864_sound= sound 865.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 866_zfs= zfs 867.endif 868.endif 869 870.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 871SUBDIR=${MODULES_OVERRIDE} 872.endif 873 874.for reject in ${WITHOUT_MODULES} 875SUBDIR:= ${SUBDIR:N${reject}} 876.endfor 877 878# Calling kldxref(8) for each module is expensive. 879.if !defined(NO_XREF) 880.MAKEFLAGS+= -DNO_XREF 881afterinstall: 882 @if type kldxref >/dev/null 2>&1; then \ 883 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 884 kldxref ${DESTDIR}${KMODDIR}; \ 885 fi 886.endif 887 888.include <bsd.subdir.mk> 889