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