Makefile revision 285809
1# $FreeBSD: stable/10/sys/modules/Makefile 285809 2015-07-23 05:26:09Z scottl $ 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 lmc \ 201 lpt \ 202 mac_biba \ 203 mac_bsdextended \ 204 mac_ifoff \ 205 mac_lomac \ 206 mac_mls \ 207 mac_none \ 208 mac_partition \ 209 mac_portacl \ 210 mac_seeotheruids \ 211 mac_stub \ 212 mac_test \ 213 malo \ 214 mcd \ 215 md \ 216 mem \ 217 mfi \ 218 mii \ 219 mlx \ 220 ${_mlx4} \ 221 ${_mlx4ib} \ 222 ${_mlxen} \ 223 ${_mly} \ 224 mmc \ 225 mmcsd \ 226 mpr \ 227 mps \ 228 mpt \ 229 mqueue \ 230 mrsas \ 231 msdosfs \ 232 msdosfs_iconv \ 233 ${_mse} \ 234 msk \ 235 ${_mthca} \ 236 mvs \ 237 mwl \ 238 ${_mwlfw} \ 239 mxge \ 240 my \ 241 ${_nandfs} \ 242 ${_nandsim} \ 243 ${_ncp} \ 244 ${_ncv} \ 245 ${_ndis} \ 246 netfpga10g \ 247 ${_netgraph} \ 248 ${_nfe} \ 249 nfs_common \ 250 nfscl \ 251 nfsclient \ 252 nfscommon \ 253 nfsd \ 254 nfslock \ 255 nfslockd \ 256 nfsserver \ 257 nfssvc \ 258 nge \ 259 nmdm \ 260 ${_nsp} \ 261 nullfs \ 262 ${_ntb} \ 263 ${_nvd} \ 264 ${_nve} \ 265 ${_nvme} \ 266 ${_nvram} \ 267 ${_nxge} \ 268 ${_opensolaris} \ 269 oce \ 270 ${_padlock} \ 271 patm \ 272 ${_pccard} \ 273 ${_pcfclock} \ 274 pcn \ 275 ${_pf} \ 276 ${_pflog} \ 277 ${_pfsync} \ 278 plip \ 279 ${_pmc} \ 280 ${_pms} \ 281 ppbus \ 282 ppc \ 283 ppi \ 284 pps \ 285 procfs \ 286 pseudofs \ 287 ${_pst} \ 288 pty \ 289 puc \ 290 ${_qlxge} \ 291 ${_qlxgb} \ 292 ${_qlxgbe} \ 293 ral \ 294 ${_ralfw} \ 295 ${_random} \ 296 rc4 \ 297 ${_rdma} \ 298 re \ 299 reiserfs \ 300 rl \ 301 ${_s3} \ 302 ${_safe} \ 303 ${_sbni} \ 304 scc \ 305 scd \ 306 ${_scsi_low} \ 307 sdhci \ 308 sdhci_pci \ 309 sem \ 310 send \ 311 ${_sf} \ 312 ${_sfxge} \ 313 sge \ 314 siba_bwn \ 315 siftr \ 316 siis \ 317 sis \ 318 sk \ 319 ${_smbfs} \ 320 ${_sn} \ 321 ${_snc} \ 322 snp \ 323 ${_sound} \ 324 ${_speaker} \ 325 ${_splash} \ 326 ${_sppp} \ 327 ste \ 328 ${_stg} \ 329 stge \ 330 ${_streams} \ 331 ${_svr4} \ 332 ${_sym} \ 333 ${_syscons} \ 334 sysvipc \ 335 ${_ti} \ 336 tl \ 337 tmpfs \ 338 ${_toecore} \ 339 ${_tpm} \ 340 trm \ 341 ${_twa} \ 342 twe \ 343 tws \ 344 tx \ 345 ${_txp} \ 346 uart \ 347 ubsec \ 348 udf \ 349 udf_iconv \ 350 ufs \ 351 unionfs \ 352 usb \ 353 utopia \ 354 ${_vesa} \ 355 ${_virtio} \ 356 vge \ 357 ${_viawd} \ 358 vkbd \ 359 ${_vmm} \ 360 ${_vmware} \ 361 ${_vpo} \ 362 vr \ 363 vte \ 364 vx \ 365 ${_vxge} \ 366 wb \ 367 ${_wbwd} \ 368 ${_wi} \ 369 wlan \ 370 wlan_acl \ 371 wlan_amrr \ 372 wlan_ccmp \ 373 wlan_rssadapt \ 374 wlan_tkip \ 375 wlan_wep \ 376 wlan_xauth \ 377 ${_wpi} \ 378 ${_wpifw} \ 379 ${_x86bios} \ 380 ${_xe} \ 381 xl \ 382 ${_zfs} \ 383 zlib \ 384 385.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 386_filemon= filemon 387_imgact_binmisc= imgact_binmisc 388_vmware= vmware 389.endif 390 391.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \ 392 ${MACHINE_CPUARCH} != "mips" 393_syscons= syscons 394_vpo= vpo 395.endif 396 397.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 398# no BUS_SPACE_UNSPECIFIED 399# No barrier instruction support (specific to this driver) 400_sym= sym 401# intr_disable() is a macro, causes problems 402.if ${MK_SOURCELESS_UCODE} != "no" 403_cxgb= cxgb 404.endif 405.endif 406 407.if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ 408 ${MACHINE_ARCH:C/mips(el)?/mips/} != "mips" && \ 409 ${MACHINE_ARCH} != "powerpc" 410_cxgbe= cxgbe 411.endif 412 413.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES) 414_autofs= autofs 415.endif 416 417.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 418.if exists(${.CURDIR}/../opencrypto) 419_crypto= crypto 420_cryptodev= cryptodev 421.endif 422.if exists(${.CURDIR}/../crypto) 423_random= random 424.endif 425.endif 426 427.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 428 defined(ALL_MODULES) 429_carp= carp 430_toecore= toecore 431_if_gif= if_gif 432_if_gre= if_gre 433.endif 434 435.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 436_if_me= if_me 437.endif 438 439.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 440_ipfilter= ipfilter 441.endif 442 443.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 444_ipdivert= ipdivert 445_ipfw= ipfw 446.endif 447 448.if ${MK_ISCSI} != "no" || defined(ALL_MODULES) 449SUBDIR+= iscsi 450SUBDIR+= iscsi_initiator 451.endif 452 453.if ${MK_NAND} != "no" || defined(ALL_MODULES) 454_nandfs= nandfs 455_nandsim= nandsim 456.endif 457 458.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 459_netgraph= netgraph 460.endif 461 462.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 463 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 464_pf= pf 465_pflog= pflog 466.if ${MK_INET_SUPPORT} != "no" 467_pfsync= pfsync 468.endif 469.endif 470 471.if ${MK_SOURCELESS_UCODE} != "no" 472_bce= bce 473_fatm= fatm 474_fxp= fxp 475_ispfw= ispfw 476_mwlfw= mwlfw 477_ralfw= ralfw 478_sf= sf 479_sn= sn 480_ti= ti 481_txp= txp 482.endif 483 484.if ${MACHINE_CPUARCH} == "i386" 485# XXX some of these can move to the general case when de-i386'ed 486# XXX some of these can move now, but are untested on other architectures. 487_3dfx= 3dfx 488_3dfx_linux= 3dfx_linux 489_agp= agp 490_aic= aic 491_an= an 492_aout= aout 493_apm= apm 494_arcnet= arcnet 495_bktr= bktr 496_bxe= bxe 497_cardbus= cardbus 498_cbb= cbb 499.if ${MK_SOURCELESS_UCODE} != "no" 500_ce= ce 501.endif 502_coff= coff 503.if ${MK_SOURCELESS_UCODE} != "no" 504_cp= cp 505.endif 506_cpuctl= cpuctl 507_cpufreq= cpufreq 508_cs= cs 509_dpms= dpms 510_drm= drm 511_drm2= drm2 512.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 513_dtrace= dtrace 514.endif 515_ed= ed 516_elink= elink 517_em= em 518_ep= ep 519_et= et 520_exca= exca 521_ext2fs= ext2fs 522_fe= fe 523_glxiic= glxiic 524_glxsb= glxsb 525_i2c= i2c 526.if ${MK_OFED} != "no" || defined(ALL_MODULES) 527_ibcore= ibcore 528.endif 529_ibcs2= ibcs2 530_ie= ie 531_if_ndis= if_ndis 532_igb= igb 533_io= io 534.if ${MK_OFED} != "no" || defined(ALL_MODULES) 535_ipoib= ipoib 536.endif 537_lindev= lindev 538_linprocfs= linprocfs 539_linsysfs= linsysfs 540_linux= linux 541_mse= mse 542.if ${MK_OFED} != "no" || defined(ALL_MODULES) 543_mlx4= mlx4 544_mlx4ib= mlx4ib 545_mlxen= mlxen 546_mthca= mthca 547.endif 548_ncv= ncv 549_ndis= ndis 550_nsp= nsp 551.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 552_opensolaris= opensolaris 553.endif 554_pccard= pccard 555_pcfclock= pcfclock 556_pst= pst 557_rdma= rdma 558_safe= safe 559_sbni= sbni 560_scsi_low= scsi_low 561_smbfs= smbfs 562_sound= sound 563_speaker= speaker 564_splash= splash 565_sppp= sppp 566_stg= stg 567_streams= streams 568_svr4= svr4 569_vxge= vxge 570_wbwd= wbwd 571_wi= wi 572_xe= xe 573.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 574_zfs= zfs 575.endif 576.if ${MACHINE} == "i386" 577_aac= aac 578_aacraid= aacraid 579_acpi= acpi 580.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 581_aesni= aesni 582.endif 583_ahb= ahb 584_amdsbwd= amdsbwd 585_amdtemp= amdtemp 586_arcmsr= arcmsr 587_asmc= asmc 588_asr= asr 589_bios= bios 590_ciss= ciss 591_cm= cm 592_cmx= cmx 593_coretemp= coretemp 594.if ${MK_SOURCELESS_UCODE} != "no" 595_ctau= ctau 596.endif 597_dpt= dpt 598_ex= ex 599.if ${MK_SOURCELESS_HOST} != "no" 600_hpt27xx= hpt27xx 601.endif 602_hptiop= hptiop 603.if ${MK_SOURCELESS_HOST} != "no" 604_hptmv= hptmv 605_hptnr= hptnr 606_hptrr= hptrr 607.endif 608_hyperv= hyperv 609_ichwd= ichwd 610_ida= ida 611_iir= iir 612_ipmi= ipmi 613_ips= ips 614_ipw= ipw 615.if ${MK_SOURCELESS_UCODE} != "no" 616_ipwfw= ipwfw 617.endif 618_isci= isci 619_iwi= iwi 620.if ${MK_SOURCELESS_UCODE} != "no" 621_iwifw= iwifw 622.endif 623_iwn= iwn 624.if ${MK_SOURCELESS_UCODE} != "no" 625_iwnfw= iwnfw 626.endif 627_ix= ix 628_ixv= ixv 629_ixgb= ixgb 630_ixgbe= ixgbe 631_mly= mly 632_nfe= nfe 633_nvd= nvd 634.if ${MK_SOURCELESS_HOST} != "no" 635_nve= nve 636.endif 637_nvme= nvme 638_nvram= nvram 639_nxge= nxge 640_tpm= tpm 641_viawd= viawd 642_wpi= wpi 643.if ${MK_SOURCELESS_UCODE} != "no" 644_wpifw= wpifw 645.endif 646.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 647_padlock= padlock 648.endif 649_s3= s3 650_twa= twa 651_vesa= vesa 652_virtio= virtio 653_x86bios= x86bios 654.elif ${MACHINE} == "pc98" 655_canbepm= canbepm 656_canbus= canbus 657_ct= ct 658_pmc= pmc 659_snc= snc 660.endif 661.endif 662 663.if ${MACHINE_CPUARCH} == "amd64" 664_aac= aac 665_aacraid= aacraid 666_aout= aout 667_acpi= acpi 668.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 669_aesni= aesni 670.endif 671_agp= agp 672_an= an 673_amdsbwd= amdsbwd 674_amdtemp= amdtemp 675_arcmsr= arcmsr 676_asmc= asmc 677_bktr= bktr 678_bxe= bxe 679_cardbus= cardbus 680_cbb= cbb 681_cmx= cmx 682_ciss= ciss 683_coretemp= coretemp 684_cpuctl= cpuctl 685_cpufreq= cpufreq 686_dpms= dpms 687_drm= drm 688_drm2= drm2 689.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 690_dtrace= dtrace 691.endif 692_ed= ed 693_et= et 694_em= em 695_exca= exca 696_ext2fs= ext2fs 697.if ${MK_SOURCELESS_HOST} != "no" 698_hpt27xx= hpt27xx 699.endif 700_hptiop= hptiop 701.if ${MK_SOURCELESS_HOST} != "no" 702_hptmv= hptmv 703_hptnr= hptnr 704_hptrr= hptrr 705.endif 706_hyperv= hyperv 707_i2c= i2c 708.if ${MK_OFED} != "no" || defined(ALL_MODULES) 709_ibcore= ibcore 710.endif 711_ichwd= ichwd 712_ida= ida 713_if_ndis= if_ndis 714_igb= igb 715_iir= iir 716_io= io 717_ipmi= ipmi 718.if ${MK_OFED} != "no" || defined(ALL_MODULES) 719_ipoib= ipoib 720.endif 721_ips= ips 722_ipw= ipw 723.if ${MK_SOURCELESS_UCODE} != "no" 724_ipwfw= ipwfw 725.endif 726_isci= isci 727_iwi= iwi 728.if ${MK_SOURCELESS_UCODE} != "no" 729_iwifw= iwifw 730.endif 731_iwn= iwn 732.if ${MK_SOURCELESS_UCODE} != "no" 733_iwnfw= iwnfw 734.endif 735_ix= ix 736_ixv= ixv 737_ixgb= ixgb 738_ixgbe= ixgbe 739_ixl= ixl 740_ixlv= ixlv 741_lindev= lindev 742_linprocfs= linprocfs 743_linsysfs= linsysfs 744_linux= linux 745_mly= mly 746.if ${MK_OFED} != "no" || defined(ALL_MODULES) 747_mlx4= mlx4 748_mlx4ib= mlx4ib 749_mlxen= mlxen 750_mthca= mthca 751.endif 752_ndis= ndis 753_nfe= nfe 754_ntb= ntb 755_nvd= nvd 756.if ${MK_SOURCELESS_HOST} != "no" 757_nve= nve 758.endif 759_nvme= nvme 760_nvram= nvram 761_nxge= nxge 762.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 763_opensolaris= opensolaris 764.endif 765.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 766_padlock= padlock 767.endif 768_pccard= pccard 769_pms= pms 770_qlxge= qlxge 771_qlxgb= qlxgb 772_qlxgbe= qlxgbe 773_rdma= rdma 774_s3= s3 775_safe= safe 776_scsi_low= scsi_low 777_sfxge= sfxge 778_smbfs= smbfs 779_sound= sound 780_speaker= speaker 781_splash= splash 782_sppp= sppp 783_tpm= tpm 784_twa= twa 785_vesa= vesa 786_viawd= viawd 787_virtio= virtio 788.if ${MK_BHYVE} != "no" || defined(ALL_MODULES) 789_vmm= vmm 790.endif 791_vxge= vxge 792_x86bios= x86bios 793_wbwd= wbwd 794_wi= wi 795_wpi= wpi 796.if ${MK_SOURCELESS_UCODE} != "no" 797_wpifw= wpifw 798.endif 799.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 800_zfs= zfs 801.endif 802.endif 803 804.if ${MACHINE_CPUARCH} == "arm" 805_cfi= cfi 806_cpsw= cpsw 807.endif 808 809.if ${MACHINE_CPUARCH} == "ia64" 810_aac= aac 811_aacraid= aacraid 812_aic= aic 813_an= an 814_arcnet= arcnet 815_asr= asr 816_bktr= bktr 817_cardbus= cardbus 818_cbb= cbb 819_ciss= ciss 820_cm= cm 821_cmx= cmx 822_coff= coff 823_cpufreq= cpufreq 824_dpt= dpt 825_em= em 826_ep= ep 827_et= et 828_exca= exca 829_fe= fe 830_hptiop= hptiop 831_ida= ida 832_igb= igb 833_iir= iir 834_ips= ips 835_mly= mly 836_pccard= pccard 837_scsi_low= scsi_low 838_smbfs= smbfs 839_sound= sound 840_splash= splash 841_sppp= sppp 842_streams= streams 843_tpm= tpm 844_twa= twa 845_wi= wi 846_xe= xe 847.endif 848 849.if ${MACHINE_CPUARCH} == "powerpc" 850_agp= agp 851_an= an 852_bm= bm 853_cardbus= cardbus 854_cbb= cbb 855_cfi= cfi 856_cpufreq= cpufreq 857_drm= drm 858.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 859_dtrace= dtrace 860.endif 861_exca= exca 862_nvram= powermac_nvram 863_pccard= pccard 864_smbfs= smbfs 865_sound= sound 866.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 867_opensolaris= opensolaris 868.endif 869_wi= wi 870.endif 871 872.if ${MACHINE_ARCH} == "powerpc64" 873_drm2= drm2 874_i2c= i2c 875.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 876_zfs= zfs 877.endif 878.endif 879 880.if ${MACHINE_CPUARCH} == "sparc64" 881_auxio= auxio 882_em= em 883_epic= epic 884_i2c= i2c 885_igb= igb 886.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 887_opensolaris= opensolaris 888.endif 889_smbfs= smbfs 890_sound= sound 891.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 892_zfs= zfs 893.endif 894.endif 895 896.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 897SUBDIR=${MODULES_OVERRIDE} 898.endif 899 900SUBDIR+=${MODULES_EXTRA} 901 902.for reject in ${WITHOUT_MODULES} 903SUBDIR:= ${SUBDIR:N${reject}} 904.endfor 905 906# Calling kldxref(8) for each module is expensive. 907.if !defined(NO_XREF) 908.MAKEFLAGS+= -DNO_XREF 909afterinstall: 910 @if type kldxref >/dev/null 2>&1; then \ 911 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 912 kldxref ${DESTDIR}${KMODDIR}; \ 913 fi 914.endif 915 916.include <bsd.subdir.mk> 917