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