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