FreeBSD/Linux Kernel Cross Reference
sys/modules/Makefile
1 # $FreeBSD: releng/10.4/sys/modules/Makefile 323223 2017-09-06 15:33:23Z hselasky $
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 _bxe= bxe
504 _cardbus= cardbus
505 _cbb= cbb
506 .if ${MK_SOURCELESS_UCODE} != "no"
507 _ce= ce
508 .endif
509 _coff= coff
510 .if ${MK_SOURCELESS_UCODE} != "no"
511 _cp= cp
512 .endif
513 _cpuctl= cpuctl
514 _cpufreq= cpufreq
515 _cs= cs
516 _dpms= dpms
517 _drm= drm
518 _drm2= drm2
519 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
520 _dtrace= dtrace
521 .endif
522 _ed= ed
523 _elink= elink
524 _em= em
525 _ep= ep
526 _et= et
527 _exca= exca
528 _ext2fs= ext2fs
529 _fe= fe
530 _glxiic= glxiic
531 _glxsb= glxsb
532 _i2c= i2c
533 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
534 _ibcore= ibcore
535 .endif
536 _ibcs2= ibcs2
537 _ie= ie
538 _if_ndis= if_ndis
539 _igb= igb
540 _io= io
541 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
542 _ipoib= ipoib
543 .endif
544 _lindev= lindev
545 _linprocfs= linprocfs
546 _linsysfs= linsysfs
547 _linux= linux
548 _mse= mse
549 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
550 _mlx4= mlx4
551 _mlx4ib= mlx4ib
552 _mlxen= mlxen
553 _mthca= mthca
554 .endif
555 _mlx5= mlx5
556 .if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \
557 defined(ALL_MODULES)
558 _mlx5en= mlx5en
559 .endif
560 _ncv= ncv
561 _ndis= ndis
562 _nsp= nsp
563 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
564 _opensolaris= opensolaris
565 .endif
566 _pccard= pccard
567 _pcfclock= pcfclock
568 _pst= pst
569 _rdma= rdma
570 _safe= safe
571 _sbni= sbni
572 _scsi_low= scsi_low
573 _smbfs= smbfs
574 _sound= sound
575 _speaker= speaker
576 _splash= splash
577 _sppp= sppp
578 _stg= stg
579 _streams= streams
580 _svr4= svr4
581 _vxge= vxge
582 _wbwd= wbwd
583 _wi= wi
584 _xe= xe
585 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
586 _zfs= zfs
587 .endif
588 .if ${MACHINE} == "i386"
589 _aac= aac
590 _aacraid= aacraid
591 _acpi= acpi
592 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
593 _aesni= aesni
594 .endif
595 _ahb= ahb
596 _amdsbwd= amdsbwd
597 _amdtemp= amdtemp
598 _arcmsr= arcmsr
599 _asmc= asmc
600 _asr= asr
601 _bios= bios
602 _ciss= ciss
603 _cm= cm
604 _cmx= cmx
605 _coretemp= coretemp
606 .if ${MK_SOURCELESS_UCODE} != "no"
607 _ctau= ctau
608 .endif
609 _dpt= dpt
610 _ex= ex
611 .if ${MK_SOURCELESS_HOST} != "no"
612 _hpt27xx= hpt27xx
613 .endif
614 _hptiop= hptiop
615 .if ${MK_SOURCELESS_HOST} != "no"
616 _hptmv= hptmv
617 _hptnr= hptnr
618 _hptrr= hptrr
619 .endif
620 _hyperv= hyperv
621 _ichwd= ichwd
622 _ida= ida
623 _iir= iir
624 _ipmi= ipmi
625 _ips= ips
626 _ipw= ipw
627 .if ${MK_SOURCELESS_UCODE} != "no"
628 _ipwfw= ipwfw
629 .endif
630 _isci= isci
631 _iwi= iwi
632 .if ${MK_SOURCELESS_UCODE} != "no"
633 _iwifw= iwifw
634 .endif
635 _iwn= iwn
636 .if ${MK_SOURCELESS_UCODE} != "no"
637 _iwnfw= iwnfw
638 .endif
639 _ix= ix
640 _ixv= ixv
641 _ixgb= ixgb
642 _ixgbe= ixgbe
643 _mly= mly
644 _nfe= nfe
645 _nvd= nvd
646 .if ${MK_SOURCELESS_HOST} != "no"
647 _nve= nve
648 .endif
649 _nvme= nvme
650 _nvram= nvram
651 _nxge= nxge
652 _tpm= tpm
653 _viawd= viawd
654 _wpi= wpi
655 .if ${MK_SOURCELESS_UCODE} != "no"
656 _wpifw= wpifw
657 .endif
658 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
659 _padlock= padlock
660 .endif
661 _s3= s3
662 _sdhci_acpi= sdhci_acpi
663 _twa= twa
664 _vesa= vesa
665 _virtio= virtio
666 _x86bios= x86bios
667 .elif ${MACHINE} == "pc98"
668 _canbepm= canbepm
669 _canbus= canbus
670 _ct= ct
671 _pmc= pmc
672 _snc= snc
673 .endif
674 .endif
675
676 .if ${MACHINE_CPUARCH} == "amd64"
677 _aac= aac
678 _aacraid= aacraid
679 _aout= aout
680 _acpi= acpi
681 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
682 _aesni= aesni
683 .endif
684 _agp= agp
685 _an= an
686 _amdsbwd= amdsbwd
687 _amdtemp= amdtemp
688 _arcmsr= arcmsr
689 _asmc= asmc
690 _bios= bios
691 _bktr= bktr
692 _bxe= bxe
693 _cardbus= cardbus
694 _cbb= cbb
695 _cmx= cmx
696 _ciss= ciss
697 _coretemp= coretemp
698 _cpuctl= cpuctl
699 _cpufreq= cpufreq
700 _dpms= dpms
701 _drm= drm
702 _drm2= drm2
703 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
704 _dtrace= dtrace
705 .endif
706 _ed= ed
707 _et= et
708 _em= em
709 _exca= exca
710 _ext2fs= ext2fs
711 .if ${MK_SOURCELESS_HOST} != "no"
712 _hpt27xx= hpt27xx
713 .endif
714 _hptiop= hptiop
715 .if ${MK_SOURCELESS_HOST} != "no"
716 _hptmv= hptmv
717 _hptnr= hptnr
718 _hptrr= hptrr
719 .endif
720 _hyperv= hyperv
721 _i2c= i2c
722 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
723 _ibcore= ibcore
724 .endif
725 _ichwd= ichwd
726 _ida= ida
727 _if_ndis= if_ndis
728 _igb= igb
729 _iir= iir
730 _io= io
731 _ioat= ioat
732 _ipmi= ipmi
733 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
734 _ipoib= ipoib
735 .endif
736 _ips= ips
737 _ipw= ipw
738 .if ${MK_SOURCELESS_UCODE} != "no"
739 _ipwfw= ipwfw
740 .endif
741 _isci= isci
742 _iwi= iwi
743 .if ${MK_SOURCELESS_UCODE} != "no"
744 _iwifw= iwifw
745 .endif
746 _iwn= iwn
747 .if ${MK_SOURCELESS_UCODE} != "no"
748 _iwnfw= iwnfw
749 .endif
750 _ix= ix
751 _ixv= ixv
752 _ixgb= ixgb
753 _ixgbe= ixgbe
754 _ixl= ixl
755 _ixlv= ixlv
756 _lindev= lindev
757 _linprocfs= linprocfs
758 _linsysfs= linsysfs
759 _linux= linux
760 _linux64= linux64
761 _linux_common= linux_common
762 _mly= mly
763 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
764 _mlx4= mlx4
765 _mlx4ib= mlx4ib
766 _mlx5ib= mlx5ib
767 _mlxen= mlxen
768 _mthca= mthca
769 .endif
770 _mlx5= mlx5
771 .if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \
772 defined(ALL_MODULES)
773 _mlx5en= mlx5en
774 .endif
775 _ndis= ndis
776 _nfe= nfe
777 _ntb= ntb
778 _nvd= nvd
779 .if ${MK_SOURCELESS_HOST} != "no"
780 _nve= nve
781 .endif
782 _nvme= nvme
783 _nvram= nvram
784 _nxge= nxge
785 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
786 _opensolaris= opensolaris
787 .endif
788 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
789 _padlock= padlock
790 .endif
791 _pccard= pccard
792 _pms= pms
793 _qlxge= qlxge
794 _qlxgb= qlxgb
795 _qlxgbe= qlxgbe
796 _qlnx= qlnx
797 _rdma= rdma
798 _s3= s3
799 _safe= safe
800 _scsi_low= scsi_low
801 _sfxge= sfxge
802 _smbfs= smbfs
803 _sound= sound
804 _speaker= speaker
805 _splash= splash
806 _sppp= sppp
807 _tpm= tpm
808 _twa= twa
809 _vesa= vesa
810 _viawd= viawd
811 _virtio= virtio
812 .if ${MK_BHYVE} != "no" || defined(ALL_MODULES)
813 _vmm= vmm
814 .endif
815 _vxge= vxge
816 _x86bios= x86bios
817 _wbwd= wbwd
818 _wi= wi
819 _wpi= wpi
820 .if ${MK_SOURCELESS_UCODE} != "no"
821 _wpifw= wpifw
822 .endif
823 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
824 _zfs= zfs
825 .endif
826 .endif
827
828 .if ${MACHINE_CPUARCH} == "arm"
829 _cfi= cfi
830 _cpsw= cpsw
831 .endif
832
833 .if ${MACHINE_CPUARCH} == "ia64"
834 _aac= aac
835 _aacraid= aacraid
836 _aic= aic
837 _an= an
838 _arcnet= arcnet
839 _asr= asr
840 _bktr= bktr
841 _cardbus= cardbus
842 _cbb= cbb
843 _ciss= ciss
844 _cm= cm
845 _cmx= cmx
846 _coff= coff
847 _cpufreq= cpufreq
848 _dpt= dpt
849 _em= em
850 _ep= ep
851 _et= et
852 _exca= exca
853 _fe= fe
854 _hptiop= hptiop
855 _ida= ida
856 _igb= igb
857 _iir= iir
858 _ips= ips
859 _mly= mly
860 _pccard= pccard
861 _scsi_low= scsi_low
862 _smbfs= smbfs
863 _sound= sound
864 _splash= splash
865 _sppp= sppp
866 _streams= streams
867 _tpm= tpm
868 _twa= twa
869 _wi= wi
870 _xe= xe
871 .endif
872
873 .if ${MACHINE_CPUARCH} == "powerpc"
874 _agp= agp
875 _an= an
876 _bm= bm
877 _cardbus= cardbus
878 _cbb= cbb
879 _cfi= cfi
880 _cpufreq= cpufreq
881 _drm= drm
882 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
883 _dtrace= dtrace
884 .endif
885 _exca= exca
886 _nvram= powermac_nvram
887 _pccard= pccard
888 _smbfs= smbfs
889 _sound= sound
890 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
891 _opensolaris= opensolaris
892 .endif
893 _wi= wi
894 .endif
895
896 .if ${MACHINE_ARCH} == "powerpc64"
897 _drm2= drm2
898 _i2c= i2c
899 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
900 _zfs= zfs
901 .endif
902 .endif
903
904 .if ${MACHINE_CPUARCH} == "sparc64"
905 _auxio= auxio
906 _em= em
907 _epic= epic
908 _i2c= i2c
909 _igb= igb
910 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
911 _opensolaris= opensolaris
912 .endif
913 _smbfs= smbfs
914 _sound= sound
915 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
916 _zfs= zfs
917 .endif
918 .endif
919
920 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
921 SUBDIR=${MODULES_OVERRIDE}
922 .endif
923
924 SUBDIR+=${MODULES_EXTRA}
925
926 .for reject in ${WITHOUT_MODULES}
927 SUBDIR:= ${SUBDIR:N${reject}}
928 .endfor
929
930 # Calling kldxref(8) for each module is expensive.
931 .if !defined(NO_XREF)
932 .MAKEFLAGS+= -DNO_XREF
933 afterinstall:
934 @if type kldxref >/dev/null 2>&1; then \
935 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
936 kldxref ${DESTDIR}${KMODDIR}; \
937 fi
938 .endif
939
940 .include <bsd.subdir.mk>
Cache object: d77537abc295767e7de02ed16f721251
|