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