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