Makefile revision 293602
1# $FreeBSD: stable/10/sys/modules/Makefile 293602 2016-01-09 18:16:36Z dchagin $ 2 3.include <bsd.own.mk> 4 5SUBDIR_PARALLEL= 6 7# Modules that include binary-only blobs of microcode should be selectable by 8# MK_SOURCELESS_UCODE option (see below). 9 10SUBDIR= \ 11 ${_3dfx} \ 12 ${_3dfx_linux} \ 13 ${_aac} \ 14 ${_aacraid} \ 15 accf_data \ 16 accf_dns \ 17 accf_http \ 18 acl_nfs4 \ 19 acl_posix1e \ 20 ${_acpi} \ 21 ae \ 22 ${_aesni} \ 23 age \ 24 ${_agp} \ 25 aha \ 26 ${_ahb} \ 27 ahci \ 28 ${_aic} \ 29 aic7xxx \ 30 aio \ 31 alc \ 32 ale \ 33 alq \ 34 ${_amdsbwd} \ 35 ${_amdtemp} \ 36 amr \ 37 ${_an} \ 38 ${_aout} \ 39 ${_apm} \ 40 ${_arcmsr} \ 41 ${_arcnet} \ 42 ${_asmc} \ 43 ${_asr} \ 44 ata \ 45 ath \ 46 ath_pci \ 47 ${_autofs} \ 48 ${_auxio} \ 49 ${_bce} \ 50 bfe \ 51 bge \ 52 ${_bxe} \ 53 ${_bios} \ 54 ${_bktr} \ 55 ${_bm} \ 56 bridgestp \ 57 bwi \ 58 bwn \ 59 cam \ 60 ${_canbepm} \ 61 ${_canbus} \ 62 ${_cardbus} \ 63 ${_carp} \ 64 cas \ 65 ${_cbb} \ 66 cc \ 67 cd9660 \ 68 cd9660_iconv \ 69 ${_ce} \ 70 ${_cfi} \ 71 ${_ciss} \ 72 ${_cm} \ 73 ${_cmx} \ 74 ${_coff} \ 75 ${_coretemp} \ 76 ${_cp} \ 77 ${_cpsw} \ 78 ${_cpuctl} \ 79 ${_cpufreq} \ 80 ${_crypto} \ 81 ${_cryptodev} \ 82 ${_cs} \ 83 ${_ct} \ 84 ${_ctau} \ 85 ctl \ 86 ${_cxgb} \ 87 ${_cxgbe} \ 88 dc \ 89 dcons \ 90 dcons_crom \ 91 de \ 92 ${_dpms} \ 93 ${_dpt} \ 94 ${_drm} \ 95 ${_drm2} \ 96 ${_dtrace} \ 97 dummynet \ 98 ${_ed} \ 99 ${_elink} \ 100 ${_em} \ 101 en \ 102 ${_ep} \ 103 ${_epic} \ 104 esp \ 105 ${_et} \ 106 ${_ex} \ 107 ${_exca} \ 108 ${_ext2fs} \ 109 ${_fatm} \ 110 fdc \ 111 fdescfs \ 112 ${_fe} \ 113 ${_filemon} \ 114 firewire \ 115 firmware \ 116 fuse \ 117 ${_fxp} \ 118 gem \ 119 geom \ 120 ${_glxiic} \ 121 ${_glxsb} \ 122 hatm \ 123 hifn \ 124 hme \ 125 ${_hpt27xx} \ 126 ${_hptiop} \ 127 ${_hptmv} \ 128 ${_hptnr} \ 129 ${_hptrr} \ 130 hwpmc \ 131 ${_hyperv} \ 132 ${_i2c} \ 133 ${_ibcore} \ 134 ${_ibcs2} \ 135 ${_ichwd} \ 136 ${_ida} \ 137 ${_ie} \ 138 if_bridge \ 139 if_disc \ 140 if_edsc \ 141 if_ef \ 142 if_epair \ 143 if_faith \ 144 ${_if_gif} \ 145 ${_if_gre} \ 146 ${_if_me} \ 147 if_lagg \ 148 ${_if_ndis} \ 149 if_stf \ 150 if_tap \ 151 if_tun \ 152 if_vlan \ 153 if_vxlan \ 154 ${_igb} \ 155 ${_iir} \ 156 ${_imgact_binmisc} \ 157 ${_io} \ 158 ${_ipoib} \ 159 ${_ipdivert} \ 160 ${_ipfilter} \ 161 ${_ipfw} \ 162 ipfw_nat \ 163 ${_ipmi} \ 164 ip6_mroute_mod \ 165 ip_mroute_mod \ 166 ${_ips} \ 167 ${_ipw} \ 168 ${_ipwfw} \ 169 ${_isci} \ 170 isp \ 171 ${_ispfw} \ 172 ${_iwi} \ 173 ${_iwifw} \ 174 ${_iwn} \ 175 ${_iwnfw} \ 176 ${_ix} \ 177 ${_ixv} \ 178 ${_ixgb} \ 179 ${_ixgbe} \ 180 ${_ixl} \ 181 ${_ixlv} \ 182 jme \ 183 joy \ 184 kbdmux \ 185 kgssapi \ 186 kgssapi_krb5 \ 187 khelp \ 188 krpc \ 189 ksyms \ 190 le \ 191 lge \ 192 libalias \ 193 libiconv \ 194 libmbpool \ 195 libmchain \ 196 ${_lindev} \ 197 ${_linprocfs} \ 198 ${_linsysfs} \ 199 ${_linux} \ 200 ${_linux_common} \ 201 ${_linux64} \ 202 lmc \ 203 lpt \ 204 mac_biba \ 205 mac_bsdextended \ 206 mac_ifoff \ 207 mac_lomac \ 208 mac_mls \ 209 mac_none \ 210 mac_partition \ 211 mac_portacl \ 212 mac_seeotheruids \ 213 mac_stub \ 214 mac_test \ 215 malo \ 216 mcd \ 217 md \ 218 mem \ 219 mfi \ 220 mii \ 221 mlx \ 222 ${_mlx4} \ 223 ${_mlx4ib} \ 224 ${_mlxen} \ 225 ${_mlx5} \ 226 ${_mlx5en} \ 227 ${_mly} \ 228 mmc \ 229 mmcsd \ 230 mpr \ 231 mps \ 232 mpt \ 233 mqueue \ 234 mrsas \ 235 msdosfs \ 236 msdosfs_iconv \ 237 ${_mse} \ 238 msk \ 239 ${_mthca} \ 240 mvs \ 241 mwl \ 242 ${_mwlfw} \ 243 mxge \ 244 my \ 245 ${_nandfs} \ 246 ${_nandsim} \ 247 ${_ncp} \ 248 ${_ncv} \ 249 ${_ndis} \ 250 netfpga10g \ 251 ${_netgraph} \ 252 ${_nfe} \ 253 nfs_common \ 254 nfscl \ 255 nfsclient \ 256 nfscommon \ 257 nfsd \ 258 nfslock \ 259 nfslockd \ 260 nfsserver \ 261 nfssvc \ 262 nge \ 263 nmdm \ 264 ${_nsp} \ 265 nullfs \ 266 ${_ntb} \ 267 ${_nvd} \ 268 ${_nve} \ 269 ${_nvme} \ 270 ${_nvram} \ 271 ${_nxge} \ 272 ${_opensolaris} \ 273 oce \ 274 ${_padlock} \ 275 patm \ 276 ${_pccard} \ 277 ${_pcfclock} \ 278 pcn \ 279 ${_pf} \ 280 ${_pflog} \ 281 ${_pfsync} \ 282 plip \ 283 ${_pmc} \ 284 ${_pms} \ 285 ppbus \ 286 ppc \ 287 ppi \ 288 pps \ 289 procfs \ 290 pseudofs \ 291 ${_pst} \ 292 pty \ 293 puc \ 294 ${_qlxge} \ 295 ${_qlxgb} \ 296 ${_qlxgbe} \ 297 ral \ 298 ${_ralfw} \ 299 ${_random} \ 300 rc4 \ 301 ${_rdma} \ 302 re \ 303 reiserfs \ 304 rl \ 305 ${_s3} \ 306 ${_safe} \ 307 ${_sbni} \ 308 scc \ 309 scd \ 310 ${_scsi_low} \ 311 sdhci \ 312 sdhci_pci \ 313 sem \ 314 send \ 315 ${_sf} \ 316 ${_sfxge} \ 317 sge \ 318 siba_bwn \ 319 siftr \ 320 siis \ 321 sis \ 322 sk \ 323 ${_smbfs} \ 324 ${_sn} \ 325 ${_snc} \ 326 snp \ 327 ${_sound} \ 328 ${_speaker} \ 329 ${_splash} \ 330 ${_sppp} \ 331 ste \ 332 ${_stg} \ 333 stge \ 334 ${_streams} \ 335 ${_svr4} \ 336 ${_sym} \ 337 ${_syscons} \ 338 sysvipc \ 339 ${_ti} \ 340 tl \ 341 tmpfs \ 342 ${_toecore} \ 343 ${_tpm} \ 344 trm \ 345 ${_twa} \ 346 twe \ 347 tws \ 348 tx \ 349 ${_txp} \ 350 uart \ 351 ubsec \ 352 udf \ 353 udf_iconv \ 354 ufs \ 355 unionfs \ 356 usb \ 357 utopia \ 358 ${_vesa} \ 359 ${_virtio} \ 360 vge \ 361 ${_viawd} \ 362 vkbd \ 363 ${_vmm} \ 364 ${_vmware} \ 365 ${_vpo} \ 366 vr \ 367 vte \ 368 vx \ 369 ${_vxge} \ 370 wb \ 371 ${_wbwd} \ 372 ${_wi} \ 373 wlan \ 374 wlan_acl \ 375 wlan_amrr \ 376 wlan_ccmp \ 377 wlan_rssadapt \ 378 wlan_tkip \ 379 wlan_wep \ 380 wlan_xauth \ 381 ${_wpi} \ 382 ${_wpifw} \ 383 ${_x86bios} \ 384 ${_xe} \ 385 xl \ 386 ${_zfs} \ 387 zlib \ 388 389.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 390_filemon= filemon 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_bktr= bktr 687_bxe= bxe 688_cardbus= cardbus 689_cbb= cbb 690_cmx= cmx 691_ciss= ciss 692_coretemp= coretemp 693_cpuctl= cpuctl 694_cpufreq= cpufreq 695_dpms= dpms 696_drm= drm 697_drm2= drm2 698.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 699_dtrace= dtrace 700.endif 701_ed= ed 702_et= et 703_em= em 704_exca= exca 705_ext2fs= ext2fs 706.if ${MK_SOURCELESS_HOST} != "no" 707_hpt27xx= hpt27xx 708.endif 709_hptiop= hptiop 710.if ${MK_SOURCELESS_HOST} != "no" 711_hptmv= hptmv 712_hptnr= hptnr 713_hptrr= hptrr 714.endif 715_hyperv= hyperv 716_i2c= i2c 717.if ${MK_OFED} != "no" || defined(ALL_MODULES) 718_ibcore= ibcore 719.endif 720_ichwd= ichwd 721_ida= ida 722_if_ndis= if_ndis 723_igb= igb 724_iir= iir 725_io= io 726_ipmi= ipmi 727.if ${MK_OFED} != "no" || defined(ALL_MODULES) 728_ipoib= ipoib 729.endif 730_ips= ips 731_ipw= ipw 732.if ${MK_SOURCELESS_UCODE} != "no" 733_ipwfw= ipwfw 734.endif 735_isci= isci 736_iwi= iwi 737.if ${MK_SOURCELESS_UCODE} != "no" 738_iwifw= iwifw 739.endif 740_iwn= iwn 741.if ${MK_SOURCELESS_UCODE} != "no" 742_iwnfw= iwnfw 743.endif 744_ix= ix 745_ixv= ixv 746_ixgb= ixgb 747_ixgbe= ixgbe 748_ixl= ixl 749_ixlv= ixlv 750_lindev= lindev 751_linprocfs= linprocfs 752_linsysfs= linsysfs 753_linux= linux 754_linux64= linux64 755_linux_common= linux_common 756_mly= mly 757.if ${MK_OFED} != "no" || defined(ALL_MODULES) 758_mlx4= mlx4 759_mlx4ib= mlx4ib 760_mlxen= mlxen 761_mthca= mthca 762.endif 763_mlx5= mlx5 764.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 765 defined(ALL_MODULES) 766_mlx5en= mlx5en 767.endif 768_ndis= ndis 769_nfe= nfe 770_ntb= ntb 771_nvd= nvd 772.if ${MK_SOURCELESS_HOST} != "no" 773_nve= nve 774.endif 775_nvme= nvme 776_nvram= nvram 777_nxge= nxge 778.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 779_opensolaris= opensolaris 780.endif 781.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 782_padlock= padlock 783.endif 784_pccard= pccard 785_pms= pms 786_qlxge= qlxge 787_qlxgb= qlxgb 788_qlxgbe= qlxgbe 789_rdma= rdma 790_s3= s3 791_safe= safe 792_scsi_low= scsi_low 793_sfxge= sfxge 794_smbfs= smbfs 795_sound= sound 796_speaker= speaker 797_splash= splash 798_sppp= sppp 799_tpm= tpm 800_twa= twa 801_vesa= vesa 802_viawd= viawd 803_virtio= virtio 804.if ${MK_BHYVE} != "no" || defined(ALL_MODULES) 805_vmm= vmm 806.endif 807_vxge= vxge 808_x86bios= x86bios 809_wbwd= wbwd 810_wi= wi 811_wpi= wpi 812.if ${MK_SOURCELESS_UCODE} != "no" 813_wpifw= wpifw 814.endif 815.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 816_zfs= zfs 817.endif 818.endif 819 820.if ${MACHINE_CPUARCH} == "arm" 821_cfi= cfi 822_cpsw= cpsw 823.endif 824 825.if ${MACHINE_CPUARCH} == "ia64" 826_aac= aac 827_aacraid= aacraid 828_aic= aic 829_an= an 830_arcnet= arcnet 831_asr= asr 832_bktr= bktr 833_cardbus= cardbus 834_cbb= cbb 835_ciss= ciss 836_cm= cm 837_cmx= cmx 838_coff= coff 839_cpufreq= cpufreq 840_dpt= dpt 841_em= em 842_ep= ep 843_et= et 844_exca= exca 845_fe= fe 846_hptiop= hptiop 847_ida= ida 848_igb= igb 849_iir= iir 850_ips= ips 851_mly= mly 852_pccard= pccard 853_scsi_low= scsi_low 854_smbfs= smbfs 855_sound= sound 856_splash= splash 857_sppp= sppp 858_streams= streams 859_tpm= tpm 860_twa= twa 861_wi= wi 862_xe= xe 863.endif 864 865.if ${MACHINE_CPUARCH} == "powerpc" 866_agp= agp 867_an= an 868_bm= bm 869_cardbus= cardbus 870_cbb= cbb 871_cfi= cfi 872_cpufreq= cpufreq 873_drm= drm 874.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 875_dtrace= dtrace 876.endif 877_exca= exca 878_nvram= powermac_nvram 879_pccard= pccard 880_smbfs= smbfs 881_sound= sound 882.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 883_opensolaris= opensolaris 884.endif 885_wi= wi 886.endif 887 888.if ${MACHINE_ARCH} == "powerpc64" 889_drm2= drm2 890_i2c= i2c 891.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 892_zfs= zfs 893.endif 894.endif 895 896.if ${MACHINE_CPUARCH} == "sparc64" 897_auxio= auxio 898_em= em 899_epic= epic 900_i2c= i2c 901_igb= igb 902.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 903_opensolaris= opensolaris 904.endif 905_smbfs= smbfs 906_sound= sound 907.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 908_zfs= zfs 909.endif 910.endif 911 912.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 913SUBDIR=${MODULES_OVERRIDE} 914.endif 915 916SUBDIR+=${MODULES_EXTRA} 917 918.for reject in ${WITHOUT_MODULES} 919SUBDIR:= ${SUBDIR:N${reject}} 920.endfor 921 922# Calling kldxref(8) for each module is expensive. 923.if !defined(NO_XREF) 924.MAKEFLAGS+= -DNO_XREF 925afterinstall: 926 @if type kldxref >/dev/null 2>&1; then \ 927 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 928 kldxref ${DESTDIR}${KMODDIR}; \ 929 fi 930.endif 931 932.include <bsd.subdir.mk> 933