FreeBSD/Linux Kernel Cross Reference
sys/modules/Makefile
1 # $FreeBSD: releng/12.0/sys/modules/Makefile 339391 2018-10-16 20:12:35Z kib $
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 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 ${_iavf} \
157 ${_ibcore} \
158 ${_ibcs2} \
159 ${_ichwd} \
160 ${_ida} \
161 if_bridge \
162 if_disc \
163 if_edsc \
164 ${_if_enc} \
165 if_epair \
166 ${_if_gif} \
167 ${_if_gre} \
168 ${_if_me} \
169 if_lagg \
170 ${_if_ndis} \
171 ${_if_stf} \
172 if_tap \
173 if_tun \
174 if_vlan \
175 if_vxlan \
176 ${_iir} \
177 imgact_binmisc \
178 ${_intelspi} \
179 ${_io} \
180 ${_ioat} \
181 ${_ipoib} \
182 ${_ipdivert} \
183 ${_ipfilter} \
184 ${_ipfw} \
185 ipfw_nat \
186 ${_ipfw_nat64} \
187 ${_ipfw_nptv6} \
188 ${_ipfw_pmod} \
189 ${_ipmi} \
190 ip6_mroute_mod \
191 ip_mroute_mod \
192 ${_ips} \
193 ${_ipsec} \
194 ${_ipw} \
195 ${_ipwfw} \
196 ${_isci} \
197 ${_iser} \
198 isp \
199 ${_ispfw} \
200 ${_iwi} \
201 ${_iwifw} \
202 ${_iwm} \
203 ${_iwmfw} \
204 ${_iwn} \
205 ${_iwnfw} \
206 ${_ix} \
207 ${_ixv} \
208 ${_ixl} \
209 jme \
210 joy \
211 kbdmux \
212 kgssapi \
213 kgssapi_krb5 \
214 khelp \
215 krpc \
216 ksyms \
217 le \
218 lge \
219 libalias \
220 libiconv \
221 libmchain \
222 ${_linux} \
223 ${_linux_common} \
224 ${_linux64} \
225 linuxkpi \
226 ${_lio} \
227 lpt \
228 mac_biba \
229 mac_bsdextended \
230 mac_ifoff \
231 mac_lomac \
232 mac_mls \
233 mac_none \
234 mac_ntpd \
235 mac_partition \
236 mac_portacl \
237 mac_seeotheruids \
238 mac_stub \
239 mac_test \
240 malo \
241 md \
242 mdio \
243 mem \
244 mfi \
245 mii \
246 mlx \
247 ${_mlx4} \
248 ${_mlx4ib} \
249 ${_mlx4en} \
250 ${_mlx5} \
251 ${_mlx5en} \
252 ${_mlx5ib} \
253 ${_mly} \
254 mmc \
255 mmcsd \
256 mpr \
257 mps \
258 mpt \
259 mqueue \
260 mrsas \
261 msdosfs \
262 msdosfs_iconv \
263 ${_mse} \
264 msk \
265 ${_mthca} \
266 mvs \
267 mwl \
268 ${_mwlfw} \
269 mxge \
270 my \
271 ${_nandfs} \
272 ${_nandsim} \
273 ${_ncr} \
274 ${_nctgpio} \
275 ${_ncv} \
276 ${_ndis} \
277 ${_netgraph} \
278 ${_nfe} \
279 nfscl \
280 nfscommon \
281 nfsd \
282 nfslock \
283 nfslockd \
284 nfssvc \
285 nge \
286 nmdm \
287 ${_nsp} \
288 nullfs \
289 ${_ntb} \
290 ${_nvd} \
291 ${_nvdimm} \
292 ${_nvme} \
293 ${_nvram} \
294 oce \
295 ${_ocs_fc} \
296 otus \
297 ${_otusfw} \
298 ow \
299 ${_padlock} \
300 ${_padlock_rng} \
301 ${_pccard} \
302 ${_pcfclock} \
303 pcn \
304 ${_pf} \
305 ${_pflog} \
306 ${_pfsync} \
307 plip \
308 ${_pms} \
309 ppbus \
310 ppc \
311 ppi \
312 pps \
313 procfs \
314 proto \
315 pseudofs \
316 ${_pst} \
317 pty \
318 puc \
319 ${_qlxge} \
320 ${_qlxgb} \
321 ${_qlxgbe} \
322 ${_qlnx} \
323 ral \
324 ${_ralfw} \
325 ${_random_fortuna} \
326 ${_random_other} \
327 rc4 \
328 ${_rdma} \
329 ${_rdrand_rng} \
330 re \
331 rl \
332 ${_rockchip} \
333 rtwn \
334 rtwn_pci \
335 rtwn_usb \
336 ${_rtwnfw} \
337 ${_s3} \
338 ${_safe} \
339 ${_sbni} \
340 scc \
341 ${_scsi_low} \
342 sdhci \
343 ${_sdhci_acpi} \
344 sdhci_pci \
345 sem \
346 send \
347 ${_sf} \
348 ${_sfxge} \
349 sge \
350 ${_sgx} \
351 ${_sgx_linux} \
352 siftr \
353 siis \
354 sis \
355 sk \
356 ${_smartpqi} \
357 smbfs \
358 sn \
359 snp \
360 sound \
361 ${_speaker} \
362 spi \
363 ${_splash} \
364 ${_sppp} \
365 ste \
366 ${_stg} \
367 stge \
368 ${_sym} \
369 ${_syscons} \
370 sysvipc \
371 tcp \
372 ${_ti} \
373 tl \
374 tmpfs \
375 ${_toecore} \
376 ${_tpm} \
377 trm \
378 ${_twa} \
379 twe \
380 tws \
381 tx \
382 ${_txp} \
383 uart \
384 ubsec \
385 udf \
386 udf_iconv \
387 ufs \
388 uinput \
389 unionfs \
390 usb \
391 ${_vesa} \
392 ${_virtio} \
393 vge \
394 ${_viawd} \
395 videomode \
396 vkbd \
397 ${_vmm} \
398 ${_vmware} \
399 ${_vpo} \
400 vr \
401 vte \
402 vx \
403 wb \
404 ${_wbwd} \
405 ${_wi} \
406 wlan \
407 wlan_acl \
408 wlan_amrr \
409 wlan_ccmp \
410 wlan_rssadapt \
411 wlan_tkip \
412 wlan_wep \
413 wlan_xauth \
414 ${_wpi} \
415 ${_wpifw} \
416 ${_x86bios} \
417 ${_xe} \
418 xl \
419 zlib
420
421 .if ${MK_AUTOFS} != "no" || defined(ALL_MODULES)
422 _autofs= autofs
423 .endif
424
425 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
426 .if (${MACHINE_CPUARCH} != "arm" || ${MACHINE_ARCH:Marmv[67]*} != "") && \
427 ${MACHINE_CPUARCH} != "mips" && \
428 ${MACHINE_CPUARCH} != "sparc64"
429 SUBDIR+= dtrace
430 .endif
431 SUBDIR+= opensolaris
432 .endif
433
434 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
435 .if exists(${SRCTOP}/sys/opencrypto)
436 _crypto= crypto
437 _cryptodev= cryptodev
438 _random_fortuna=random_fortuna
439 _random_other= random_other
440 .endif
441 .endif
442
443 .if ${MK_CUSE} != "no" || defined(ALL_MODULES)
444 SUBDIR+= cuse
445 .endif
446
447 .if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \
448 defined(ALL_MODULES)
449 _carp= carp
450 _toecore= toecore
451 _if_enc= if_enc
452 _if_gif= if_gif
453 _if_gre= if_gre
454 _ipfw_pmod= ipfw_pmod
455 .if ${MK_IPSEC_SUPPORT} != "no"
456 _ipsec= ipsec
457 .endif
458 .endif
459
460 .if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \
461 defined(ALL_MODULES)
462 _if_stf= if_stf
463 .endif
464
465 .if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES)
466 _if_me= if_me
467 _ipdivert= ipdivert
468 _ipfw= ipfw
469 .if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES)
470 _ipfw_nat64= ipfw_nat64
471 .endif
472 .endif
473
474 .if ${MK_INET6_SUPPORT} != "no" || defined(ALL_MODULES)
475 _ipfw_nptv6= ipfw_nptv6
476 .endif
477
478 .if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
479 _ipfilter= ipfilter
480 .endif
481
482 .if ${MK_ISCSI} != "no" || defined(ALL_MODULES)
483 SUBDIR+= cfiscsi
484 SUBDIR+= iscsi
485 SUBDIR+= iscsi_initiator
486 .endif
487
488 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
489 ${MACHINE_CPUARCH} == "i386"
490 SUBDIR+= linprocfs
491 SUBDIR+= linsysfs
492 .endif
493
494 .if ${MK_NAND} != "no" || defined(ALL_MODULES)
495 _nandfs= nandfs
496 _nandsim= nandsim
497 .endif
498
499 .if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
500 _netgraph= netgraph
501 .endif
502
503 .if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \
504 ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES)
505 _pf= pf
506 _pflog= pflog
507 .if ${MK_INET_SUPPORT} != "no"
508 _pfsync= pfsync
509 .endif
510 .endif
511
512 .if ${MK_SOURCELESS_UCODE} != "no"
513 _bce= bce
514 _fxp= fxp
515 _ispfw= ispfw
516 _sf= sf
517 _ti= ti
518 _txp= txp
519
520 .if ${MACHINE_CPUARCH} != "mips"
521 _mwlfw= mwlfw
522 _otusfw= otusfw
523 _ralfw= ralfw
524 _rtwnfw= rtwnfw
525 .endif
526 .endif
527
528 .if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \
529 ${MACHINE_CPUARCH} != "mips" && \
530 ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" && \
531 ${MACHINE_CPUARCH} != "riscv"
532 _cxgbe= cxgbe
533 .endif
534
535 .if ${MK_TESTS} != "no" || defined(ALL_MODULES)
536 SUBDIR+= tests
537 .endif
538
539 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
540 SUBDIR+= zfs
541 .endif
542
543 .if (${MACHINE_CPUARCH} == "mips" && ${MACHINE_ARCH:Mmips64} == "")
544 _hwpmc_mips24k= hwpmc_mips24k
545 _hwpmc_mips74k= hwpmc_mips74k
546 .endif
547
548 .if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "arm" && \
549 ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "powerpc" && \
550 ${MACHINE_CPUARCH} != "riscv"
551 _syscons= syscons
552 _vpo= vpo
553 .endif
554
555 .if ${MACHINE_CPUARCH} != "mips"
556 # no BUS_SPACE_UNSPECIFIED
557 # No barrier instruction support (specific to this driver)
558 _sym= sym
559 # intr_disable() is a macro, causes problems
560 .if ${MK_SOURCELESS_UCODE} != "no"
561 _cxgb= cxgb
562 .endif
563 .endif
564
565 .if ${MACHINE_CPUARCH} == "aarch64"
566 _allwinner= allwinner
567 _armv8crypto= armv8crypto
568 _efirt= efirt
569 _em= em
570 _rockchip= rockchip
571 .endif
572
573 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
574 _agp= agp
575 _an= an
576 _aout= aout
577 _bios= bios
578 _bktr= bktr
579 .if ${MK_SOURCELESS_UCODE} != "no"
580 _bxe= bxe
581 .endif
582 _cardbus= cardbus
583 _cbb= cbb
584 _cpuctl= cpuctl
585 _cpufreq= cpufreq
586 _cs= cs
587 _dpms= dpms
588 .if ${MK_MODULE_DRM} != "no"
589 _drm= drm
590 .endif
591 .if ${MK_MODULE_DRM2} != "no"
592 _drm2= drm2
593 .endif
594 _ed= ed
595 _em= em
596 _ena= ena
597 _ep= ep
598 _et= et
599 _exca= exca
600 _fe= fe
601 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
602 _ibcore= ibcore
603 .endif
604 _if_ndis= if_ndis
605 _io= io
606 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
607 _ipoib= ipoib
608 _iser= iser
609 .endif
610 _ix= ix
611 _ixv= ixv
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 _iavf= iavf
723 _ioat= ioat
724 _ixl= ixl
725 _linux64= linux64
726 _linux_common= linux_common
727 _ntb= ntb
728 _nvdimm= nvdimm
729 _pms= pms
730 _qlxge= qlxge
731 _qlxgb= qlxgb
732 .if ${MK_SOURCELESS_UCODE} != "no"
733 _qlxgbe= qlxgbe
734 _qlnx= qlnx
735 .endif
736 _sfxge= sfxge
737 _sgx= sgx
738 _sgx_linux= sgx_linux
739 _smartpqi= smartpqi
740
741 .if ${MK_BHYVE} != "no" || defined(ALL_MODULES)
742 _vmm= vmm
743 .endif
744 .endif
745
746 .if ${MACHINE_CPUARCH} == "i386"
747 # XXX some of these can move to the general case when de-i386'ed
748 # XXX some of these can move now, but are untested on other architectures.
749 _3dfx= 3dfx
750 _3dfx_linux= 3dfx_linux
751 _aic= aic
752 _apm= apm
753 .if ${MK_SOURCELESS_UCODE} != "no"
754 _ce= ce
755 .endif
756 _coff= coff
757 .if ${MK_SOURCELESS_UCODE} != "no"
758 _cp= cp
759 .endif
760 _glxiic= glxiic
761 _glxsb= glxsb
762 #_ibcs2= ibcs2
763 _mse= mse
764 _ncr= ncr
765 _ncv= ncv
766 _nsp= nsp
767 _pcfclock= pcfclock
768 _pst= pst
769 _sbni= sbni
770 _stg= stg
771 .if ${MK_SOURCELESS_UCODE} != "no"
772 _ctau= ctau
773 .endif
774 _dpt= dpt
775 _ex= ex
776 .endif
777
778 .if ${MACHINE_CPUARCH} == "arm"
779 _cfi= cfi
780 _cpsw= cpsw
781 .endif
782
783 .if ${MACHINE_CPUARCH} == "powerpc"
784 _agp= agp
785 _an= an
786 _bm= bm
787 _cardbus= cardbus
788 _cbb= cbb
789 _cfi= cfi
790 _cpufreq= cpufreq
791 .if ${MK_MODULE_DRM} != "no"
792 _drm= drm
793 .endif
794 _exca= exca
795 _ffec= ffec
796 _nvd= nvd
797 _nvme= nvme
798 _pccard= pccard
799 _wi= wi
800 .endif
801
802 .if ${MACHINE_ARCH} == "powerpc64"
803 .if ${MK_MODULE_DRM2} != "no"
804 _drm2= drm2
805 .endif
806 _ipmi= ipmi
807 .endif
808 .if ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc"
809 # Don't build powermac_nvram for powerpcspe, it's never supported.
810 _nvram= powermac_nvram
811 .endif
812
813 .if ${MACHINE_CPUARCH} == "sparc64"
814 _auxio= auxio
815 _em= em
816 _epic= epic
817 .endif
818
819 .if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
820 ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "i386")
821 _cloudabi32= cloudabi32
822 .endif
823 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64"
824 _cloudabi64= cloudabi64
825 .endif
826
827 .endif
828
829 .if ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "aarch64"
830 _bcm283x_clkman= bcm283x_clkman
831 _bcm283x_pwm= bcm283x_pwm
832 .endif
833
834 SUBDIR+=${MODULES_EXTRA}
835
836 .for reject in ${WITHOUT_MODULES}
837 SUBDIR:= ${SUBDIR:N${reject}}
838 .endfor
839
840 # Calling kldxref(8) for each module is expensive.
841 .if !defined(NO_XREF)
842 .MAKEFLAGS+= -DNO_XREF
843 afterinstall: .PHONY
844 @if type kldxref >/dev/null 2>&1; then \
845 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
846 kldxref ${DESTDIR}${KMODDIR}; \
847 fi
848 .endif
849
850 .include "${SYSDIR}/conf/config.mk"
851
852 SUBDIR:= ${SUBDIR:u:O}
853
854 .include <bsd.subdir.mk>
Cache object: cd7a4b1947524d297bc8bca2fd1a1648
|