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