1# $FreeBSD$ 2 3SYSDIR?=${SRCTOP}/sys 4.include "${SYSDIR}/conf/kern.opts.mk" 5 6SUBDIR_PARALLEL= 7 8# Modules that include binary-only blobs of microcode should be selectable by 9# MK_SOURCELESS_UCODE option (see below). 10 11.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) 12SUBDIR=${MODULES_OVERRIDE} 13.else 14SUBDIR= \ 15 ${_3dfx} \ 16 ${_3dfx_linux} \ 17 ${_aac} \ 18 ${_aacraid} \ 19 accf_data \ 20 accf_dns \ 21 accf_http \ 22 acl_nfs4 \ 23 acl_posix1e \ 24 ${_acpi} \ 25 ae \ 26 ${_aesni} \ 27 age \ 28 ${_agp} \ 29 aha \ 30 ahci \ 31 ${_aic} \ 32 aic7xxx \ 33 alc \ 34 ale \ 35 alq \ 36 ${_amd_ecc_inject} \ 37 ${_amdsbwd} \ 38 ${_amdsmn} \ 39 ${_amdtemp} \ 40 amr \ 41 ${_an} \ 42 ${_aout} \ 43 ${_apm} \ 44 ${_arcmsr} \ 45 ${_allwinner} \ 46 ${_armv8crypto} \ 47 ${_asmc} \ 48 ata \ 49 ath \ 50 ath_dfs \ 51 ath_hal \ 52 ath_hal_ar5210 \ 53 ath_hal_ar5211 \ 54 ath_hal_ar5212 \ 55 ath_hal_ar5416 \ 56 ath_hal_ar9300 \ 57 ath_main \ 58 ath_rate \ 59 ath_pci \ 60 ${_autofs} \ 61 ${_auxio} \ 62 ${_bce} \ 63 ${_bcm283x_clkman} \ 64 ${_bcm283x_pwm} \ 65 bfe \ 66 bge \ 67 bhnd \ 68 ${_bxe} \ 69 ${_bios} \ 70 ${_bktr} \ 71 ${_blake2} \ 72 ${_bm} \ 73 bnxt \ 74 bridgestp \ 75 bwi \ 76 bwn \ 77 ${_bytgpio} \ 78 ${_chvgpio} \ 79 cam \ 80 ${_cardbus} \ 81 ${_carp} \ 82 cas \ 83 ${_cbb} \ 84 cc \ 85 ${_ccp} \ 86 cd9660 \ 87 cd9660_iconv \ 88 ${_ce} \ 89 ${_cfi} \ 90 ${_chromebook_platform} \ 91 ${_ciss} \ 92 cloudabi \ 93 ${_cloudabi32} \ 94 ${_cloudabi64} \ 95 ${_cmx} \ 96 ${_coff} \ 97 ${_coretemp} \ 98 ${_cp} \ 99 ${_cpsw} \ 100 ${_cpuctl} \ 101 ${_cpufreq} \ 102 ${_crypto} \ 103 ${_cryptodev} \ 104 ${_cs} \ 105 ${_ctau} \ 106 ctl \ 107 ${_cxgb} \ 108 ${_cxgbe} \ 109 dc \ 110 dcons \ 111 dcons_crom \ 112 de \ 113 ${_dpms} \ 114 ${_dpt} \ 115 ${_drm} \ 116 ${_drm2} \ 117 dummynet \ 118 ${_ed} \ 119 ${_efirt} \ 120 ${_em} \ 121 ${_ena} \ 122 ${_ep} \ 123 ${_epic} \ 124 esp \ 125 ${_et} \ 126 evdev \ 127 ${_ex} \ 128 ${_exca} \ 129 ext2fs \ 130 fdc \ 131 fdescfs \ 132 ${_fe} \ 133 ${_ffec} \ 134 filemon \ 135 firewire \ 136 firmware \ 137 fuse \ 138 ${_fxp} \ 139 gem \ 140 geom \ 141 ${_glxiic} \ 142 ${_glxsb} \ 143 gpio \ 144 hifn \ 145 hme \ 146 ${_hpt27xx} \ 147 ${_hptiop} \ 148 ${_hptmv} \ 149 ${_hptnr} \ 150 ${_hptrr} \ 151 hwpmc \ 152 ${_hwpmc_mips24k} \ 153 ${_hwpmc_mips74k} \ 154 ${_hyperv} \ 155 i2c \ 156 ${_ibcore} \ 157 ${_ibcs2} \ 158 ${_ichwd} \ 159 ${_ida} \ 160 if_bridge \ 161 if_disc \ 162 if_edsc \ 163 ${_if_enc} \ 164 if_epair \ 165 ${_if_gif} \ 166 ${_if_gre} \ 167 ${_if_me} \ 168 if_lagg \ 169 ${_if_ndis} \ 170 ${_if_stf} \ 171 if_tap \ 172 if_tun \ 173 if_vlan \ 174 if_vxlan \ 175 ${_iir} \ 176 imgact_binmisc \ 177 ${_intelspi} \ 178 ${_io} \ 179 ${_ioat} \ 180 ${_ipoib} \ 181 ${_ipdivert} \ 182 ${_ipfilter} \ 183 ${_ipfw} \ 184 ipfw_nat \ 185 ${_ipfw_nat64} \ 186 ${_ipfw_nptv6} \ 187 ${_ipfw_pmod} \ 188 ${_ipmi} \ 189 ip6_mroute_mod \ 190 ip_mroute_mod \ 191 ${_ips} \ 192 ${_ipsec} \ 193 ${_ipw} \ 194 ${_ipwfw} \ 195 ${_isci} \ 196 ${_iser} \ 197 isp \ 198 ${_ispfw} \ 199 ${_iwi} \ 200 ${_iwifw} \ 201 ${_iwm} \ 202 ${_iwmfw} \ 203 ${_iwn} \ 204 ${_iwnfw} \ 205 ${_ix} \ 206 ${_ixv} \ 207 ${_ixl} \ 208 jme \ 209 joy \ 210 kbdmux \ 211 kgssapi \ 212 kgssapi_krb5 \ 213 khelp \ 214 krpc \ 215 ksyms \ 216 le \ 217 lge \ 218 libalias \ 219 libiconv \ 220 libmchain \ 221 ${_linprocfs} \ 222 ${_linsysfs} \ 223 ${_linux} \ 224 ${_linux_common} \ 225 ${_linux64} \ 226 linuxkpi \ 227 ${_lio} \ 228 lpt \ 229 mac_biba \ 230 mac_bsdextended \ 231 mac_ifoff \ 232 mac_lomac \ 233 mac_mls \ 234 mac_none \ 235 mac_partition \ 236 mac_portacl \ 237 mac_seeotheruids \ 238 mac_stub \ 239 mac_test \ 240 mac_veriexec \ 241 mac_veriexec_rmd160 \ 242 mac_veriexec_sha1 \ 243 mac_veriexec_sha256 \ 244 mac_veriexec_sha384 \ 245 mac_veriexec_sha512 \ 246 malo \ 247 md \ 248 mdio \ 249 mem \ 250 mfi \ 251 mii \ 252 mlx \ 253 ${_mlx4} \ 254 ${_mlx4ib} \ 255 ${_mlx4en} \ 256 ${_mlx5} \ 257 ${_mlx5en} \ 258 ${_mlx5ib} \ 259 ${_mly} \ 260 mmc \ 261 mmcsd \ 262 mpr \ 263 mps \ 264 mpt \ 265 mqueue \ 266 mrsas \ 267 msdosfs \ 268 msdosfs_iconv \ 269 ${_mse} \ 270 msk \ 271 ${_mthca} \ 272 mvs \ 273 mwl \ 274 ${_mwlfw} \ 275 mxge \ 276 my \ 277 ${_nandfs} \ 278 ${_nandsim} \ 279 ${_ncr} \ 280 ${_nctgpio} \ 281 ${_ncv} \ 282 ${_ndis} \ 283 ${_netgraph} \ 284 ${_nfe} \ 285 nfscl \ 286 nfscommon \ 287 nfsd \ 288 nfslock \ 289 nfslockd \ 290 nfssvc \ 291 nge \ 292 nmdm \ 293 ${_nsp} \ 294 nullfs \ 295 ${_ntb} \ 296 ${_nvd} \ 297 ${_nvme} \ 298 ${_nvram} \ 299 oce \ 300 ${_ocs_fc} \ 301 otus \ 302 ${_otusfw} \ 303 ow \ 304 ${_padlock} \ 305 ${_padlock_rng} \ 306 ${_pccard} \ 307 ${_pcfclock} \ 308 pcn \ 309 ${_pf} \ 310 ${_pflog} \ 311 ${_pfsync} \ 312 plip \ 313 ${_pms} \ 314 ppbus \ 315 ppc \ 316 ppi \ 317 pps \ 318 procfs \ 319 proto \ 320 pseudofs \ 321 ${_pst} \ 322 pty \ 323 puc \ 324 ${_qlxge} \ 325 ${_qlxgb} \ 326 ${_qlxgbe} \ 327 ${_qlnx} \ 328 ral \ 329 ${_ralfw} \ 330 ${_random_fortuna} \ 331 ${_random_yarrow} \ 332 ${_random_other} \ 333 rc4 \ 334 ${_rdma} \ 335 ${_rdrand_rng} \ 336 re \ 337 rl \ 338 ${_rockchip} \ 339 rtwn \ 340 rtwn_pci \ 341 rtwn_usb \ 342 ${_rtwnfw} \ 343 ${_s3} \ 344 ${_safe} \ 345 ${_sbni} \ 346 scc \ 347 ${_scsi_low} \ 348 sdhci \ 349 ${_sdhci_acpi} \ 350 sdhci_pci \ 351 sem \ 352 send \ 353 ${_sf} \ 354 ${_sfxge} \ 355 sge \ 356 ${_sgx} \ 357 ${_sgx_linux} \ 358 siftr \ 359 siis \ 360 sis \ 361 sk \ 362 ${_smartpqi} \ 363 smbfs \ 364 sn \ 365 snp \ 366 sound \ 367 ${_speaker} \ 368 spi \ 369 ${_splash} \ 370 ${_sppp} \ 371 ste \ 372 ${_stg} \ 373 stge \ 374 ${_sym} \ 375 ${_syscons} \ 376 sysvipc \ 377 tcp \ 378 ${_ti} \ 379 tl \ 380 tmpfs \ 381 ${_toecore} \ 382 ${_tpm} \ 383 trm \ 384 ${_twa} \ 385 twe \ 386 tws \ 387 tx \ 388 ${_txp} \ 389 uart \ 390 ubsec \ 391 udf \ 392 udf_iconv \ 393 ufs \ 394 uinput \ 395 unionfs \ 396 usb \ 397 veriexec \ 398 ${_vesa} \ 399 ${_virtio} \ 400 vge \ 401 ${_viawd} \ 402 videomode \ 403 vkbd \ 404 ${_vmm} \ 405 ${_vmware} \ 406 ${_vpo} \ 407 vr \ 408 vte \ 409 vx \ 410 wb \ 411 ${_wbwd} \ 412 ${_wi} \ 413 wlan \ 414 wlan_acl \ 415 wlan_amrr \ 416 wlan_ccmp \ 417 wlan_rssadapt \ 418 wlan_tkip \ 419 wlan_wep \ 420 wlan_xauth \ 421 ${_wpi} \ 422 ${_wpifw} \ 423 ${_x86bios} \ 424 ${_xe} \ 425 xl \ 426 zlib 427 428.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES) 429_autofs= autofs 430.endif 431 432.if ${MK_CDDL} != "no" || defined(ALL_MODULES) 433.if (${MACHINE_CPUARCH} != "arm" || ${MACHINE_ARCH:Marmv[67]*} != "") && \ 434 ${MACHINE_CPUARCH} != "mips" && \ 435 ${MACHINE_CPUARCH} != "sparc64" 436SUBDIR+= dtrace 437.endif 438SUBDIR+= opensolaris 439.endif 440 441.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 442.if exists(${SRCTOP}/sys/opencrypto) 443_crypto= crypto 444_cryptodev= cryptodev 445_random_fortuna=random_fortuna 446_random_yarrow= random_yarrow 447_random_other= random_other 448.endif 449.endif 450 451.if ${MK_CUSE} != "no" || defined(ALL_MODULES) 452SUBDIR+= cuse 453.endif 454 455.if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \ 456 defined(ALL_MODULES) 457_carp= carp 458_toecore= toecore 459_if_enc= if_enc 460_if_gif= if_gif 461_if_gre= if_gre 462_ipfw_pmod= ipfw_pmod 463.if ${MK_IPSEC_SUPPORT} != "no" 464_ipsec= ipsec 465.endif 466.endif 467 468.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 469 defined(ALL_MODULES) 470_if_stf= if_stf 471.endif 472 473.if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES) 474_if_me= if_me 475_ipdivert= ipdivert 476_ipfw= ipfw 477.if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES) 478_ipfw_nat64= ipfw_nat64 479.endif 480.endif 481 482.if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES) 483_ipfw_nptv6= ipfw_nptv6 484.endif 485 486.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES) 487_ipfilter= ipfilter 488.endif 489 490.if ${MK_ISCSI} != "no" || defined(ALL_MODULES) 491SUBDIR+= cfiscsi 492SUBDIR+= iscsi 493SUBDIR+= iscsi_initiator 494.endif 495 496.if ${MK_NAND} != "no" || defined(ALL_MODULES) 497_nandfs= nandfs 498_nandsim= nandsim 499.endif 500 501.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES) 502_netgraph= netgraph 503.endif 504 505.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \ 506 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES) 507_pf= pf 508_pflog= pflog 509.if ${MK_INET_SUPPORT} != "no" 510_pfsync= pfsync 511.endif 512.endif 513 514.if ${MK_SOURCELESS_UCODE} != "no" 515_bce= bce 516_fxp= fxp 517_ispfw= ispfw 518_sf= sf 519_ti= ti 520_txp= txp 521 522.if ${MACHINE_CPUARCH} != "mips" 523_mwlfw= mwlfw 524_otusfw= otusfw 525_ralfw= ralfw 526_rtwnfw= rtwnfw 527.endif 528.endif 529 530.if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ 531 ${MACHINE_CPUARCH} != "mips" && \ 532 ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" && \ 533 ${MACHINE_CPUARCH} != "riscv" 534_cxgbe= cxgbe 535.endif 536 537.if ${MK_TESTS} != "no" || defined(ALL_MODULES) 538SUBDIR+= tests 539.endif 540 541.if ${MK_ZFS} != "no" || defined(ALL_MODULES) 542SUBDIR+= zfs 543.endif 544 545.if (${MACHINE_CPUARCH} == "mips" && ${MACHINE_ARCH:Mmips64} == "") 546_hwpmc_mips24k= hwpmc_mips24k 547_hwpmc_mips74k= hwpmc_mips74k 548.endif 549 550.if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "arm" && \ 551 ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "powerpc" && \ 552 ${MACHINE_CPUARCH} != "riscv" 553_syscons= syscons 554_vpo= vpo 555.endif 556 557.if ${MACHINE_CPUARCH} != "mips" 558# no BUS_SPACE_UNSPECIFIED 559# No barrier instruction support (specific to this driver) 560_sym= sym 561# intr_disable() is a macro, causes problems 562.if ${MK_SOURCELESS_UCODE} != "no" 563_cxgb= cxgb 564.endif 565.endif 566 567.if ${MACHINE_CPUARCH} == "aarch64" 568_allwinner= allwinner 569_armv8crypto= armv8crypto 570_efirt= efirt 571_em= em 572_rockchip= rockchip 573.endif 574 575.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 576_agp= agp 577_an= an 578_aout= aout 579_bios= bios 580_bktr= bktr 581.if ${MK_SOURCELESS_UCODE} != "no" 582_bxe= bxe 583.endif 584_cardbus= cardbus 585_cbb= cbb 586_cpuctl= cpuctl 587_cpufreq= cpufreq 588_cs= cs 589_dpms= dpms 590_drm= drm 591_drm2= drm2 592_ed= ed 593_em= em 594_ena= ena 595_ep= ep 596_et= et 597_exca= exca 598_fe= fe 599.if ${MK_OFED} != "no" || defined(ALL_MODULES) 600_ibcore= ibcore 601.endif 602_if_ndis= if_ndis 603_io= io 604.if ${MK_OFED} != "no" || defined(ALL_MODULES) 605_ipoib= ipoib 606_iser= iser 607.endif 608_ix= ix 609_ixv= ixv 610_linprocfs= linprocfs 611_linsysfs= linsysfs 612_linux= linux 613.if ${MK_SOURCELESS_UCODE} != "no" 614_lio= lio 615.endif 616_nctgpio= nctgpio 617_ndis= ndis 618_ocs_fc= ocs_fc 619_pccard= pccard 620.if ${MK_OFED} != "no" || defined(ALL_MODULES) 621_rdma= rdma 622.endif 623_safe= safe 624_scsi_low= scsi_low 625_speaker= speaker 626_splash= splash 627_sppp= sppp 628_vmware= vmware 629_wbwd= wbwd 630_wi= wi 631_xe= xe 632 633_aac= aac 634_aacraid= aacraid 635_acpi= acpi 636.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 637.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} > 40201 638_aesni= aesni 639.endif 640.endif 641_amd_ecc_inject=amd_ecc_inject 642_amdsbwd= amdsbwd 643_amdsmn= amdsmn 644_amdtemp= amdtemp 645_arcmsr= arcmsr 646_asmc= asmc 647.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 648_blake2= blake2 649.endif 650_bytgpio= bytgpio 651_chvgpio= chvgpio 652_ciss= ciss 653_chromebook_platform= chromebook_platform 654_cmx= cmx 655_coretemp= coretemp 656.if ${MK_SOURCELESS_HOST} != "no" 657_hpt27xx= hpt27xx 658.endif 659_hptiop= hptiop 660.if ${MK_SOURCELESS_HOST} != "no" 661_hptmv= hptmv 662_hptnr= hptnr 663_hptrr= hptrr 664.endif 665_hyperv= hyperv 666_ichwd= ichwd 667_ida= ida 668_iir= iir 669_intelspi= intelspi 670_ipmi= ipmi 671_ips= ips 672_isci= isci 673_ipw= ipw 674_iwi= iwi 675_iwm= iwm 676_iwn= iwn 677.if ${MK_SOURCELESS_UCODE} != "no" 678_ipwfw= ipwfw 679_iwifw= iwifw 680_iwmfw= iwmfw 681_iwnfw= iwnfw 682.endif 683_mlx4= mlx4 684_mlx5= mlx5 685.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ 686 defined(ALL_MODULES) 687_mlx4en= mlx4en 688_mlx5en= mlx5en 689.endif 690.if ${MK_OFED} != "no" || defined(ALL_MODULES) 691_mthca= mthca 692_mlx4ib= mlx4ib 693_mlx5ib= mlx5ib 694.endif 695_mly= mly 696_nfe= nfe 697_nvd= nvd 698_nvme= nvme 699_nvram= nvram 700.if ${MK_CRYPT} != "no" || defined(ALL_MODULES) 701_padlock= padlock 702_padlock_rng= padlock_rng 703_rdrand_rng= rdrand_rng 704.endif 705_s3= s3 706_sdhci_acpi= sdhci_acpi 707_tpm= tpm 708_twa= twa 709_vesa= vesa 710_viawd= viawd 711_virtio= virtio 712_wpi= wpi 713.if ${MK_SOURCELESS_UCODE} != "no" 714_wpifw= wpifw 715.endif 716_x86bios= x86bios 717.endif 718 719.if ${MACHINE_CPUARCH} == "amd64" 720_ccp= ccp 721_efirt= efirt 722_ioat= ioat 723_ixl= ixl 724_ixlv= ixlv 725_linux64= linux64 726_linux_common= linux_common 727_ntb= ntb 728_pms= pms 729_qlxge= qlxge 730_qlxgb= qlxgb 731.if ${MK_SOURCELESS_UCODE} != "no" 732_qlxgbe= qlxgbe 733_qlnx= qlnx 734.endif 735_sfxge= sfxge 736_sgx= sgx 737_sgx_linux= sgx_linux 738_smartpqi= smartpqi 739 740.if ${MK_BHYVE} != "no" || defined(ALL_MODULES) 741_vmm= vmm 742.endif 743.endif 744 745.if ${MACHINE_CPUARCH} == "i386" 746# XXX some of these can move to the general case when de-i386'ed 747# XXX some of these can move now, but are untested on other architectures. 748_3dfx= 3dfx 749_3dfx_linux= 3dfx_linux 750_aic= aic 751_apm= apm 752.if ${MK_SOURCELESS_UCODE} != "no" 753_ce= ce 754.endif 755_coff= coff 756.if ${MK_SOURCELESS_UCODE} != "no" 757_cp= cp 758.endif 759_glxiic= glxiic 760_glxsb= glxsb 761#_ibcs2= ibcs2 762_mse= mse 763_ncr= ncr 764_ncv= ncv 765_nsp= nsp 766_pcfclock= pcfclock 767_pst= pst 768_sbni= sbni 769_stg= stg 770.if ${MK_SOURCELESS_UCODE} != "no" 771_ctau= ctau 772.endif 773_dpt= dpt 774_ex= ex 775.endif 776 777.if ${MACHINE_CPUARCH} == "arm" 778_cfi= cfi 779_cpsw= cpsw 780.endif 781 782.if ${MACHINE_CPUARCH} == "powerpc" 783_agp= agp 784_an= an 785_bm= bm 786_cardbus= cardbus 787_cbb= cbb 788_cfi= cfi 789_cpufreq= cpufreq 790_drm= drm 791_exca= exca 792_ffec= ffec 793_nvd= nvd 794_nvme= nvme 795_pccard= pccard 796_wi= wi 797.endif 798 799.if ${MACHINE_ARCH} == "powerpc64" 800_drm2= drm2 801.endif 802.if ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc" 803# Don't build powermac_nvram for powerpcspe, it's never supported. 804_nvram= powermac_nvram 805.endif 806 807.if ${MACHINE_CPUARCH} == "sparc64" 808_auxio= auxio 809_em= em 810_epic= epic 811.endif 812 813.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 814 ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "i386") 815_cloudabi32= cloudabi32 816.endif 817.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" 818_cloudabi64= cloudabi64 819.endif 820 821.endif 822 823.if ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "aarch64" 824_bcm283x_clkman= bcm283x_clkman 825_bcm283x_pwm= bcm283x_pwm 826.endif 827 828SUBDIR+=${MODULES_EXTRA} 829 830.for reject in ${WITHOUT_MODULES} 831SUBDIR:= ${SUBDIR:N${reject}} 832.endfor 833 834# Calling kldxref(8) for each module is expensive. 835.if !defined(NO_XREF) 836.MAKEFLAGS+= -DNO_XREF 837afterinstall: .PHONY 838 @if type kldxref >/dev/null 2>&1; then \ 839 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \ 840 kldxref ${DESTDIR}${KMODDIR}; \ 841 fi 842.endif 843 844.include "${SYSDIR}/conf/config.mk" 845 846SUBDIR:= ${SUBDIR:u:O} 847 848.include <bsd.subdir.mk> 849