xref: /freebsd/sys/modules/Makefile (revision 25fb30bd9abc492359ad1f66901a06cb8cd08370)
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	amr \
42	${_an} \
43	${_aout} \
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	axgbe \
62	backlight \
63	${_bce} \
64	${_bcm283x_clkman} \
65	${_bcm283x_pwm} \
66	bfe \
67	bge \
68	bhnd \
69	${_bxe} \
70	${_bios} \
71	${_blake2} \
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	${_coretemp} \
96	${_cp} \
97	${_cpsw} \
98	${_cpuctl} \
99	${_cpufreq} \
100	${_crypto} \
101	${_cryptodev} \
102	ctl \
103	${_cxgb} \
104	${_cxgbe} \
105	dc \
106	dcons \
107	dcons_crom \
108	${_dpms} \
109	dummynet \
110	${_efirt} \
111	${_em} \
112	${_ena} \
113	esp \
114	${_et} \
115	evdev \
116	${_exca} \
117	ext2fs \
118	fdc \
119	fdescfs \
120	${_ffec} \
121	filemon \
122	firewire \
123	firmware \
124	fusefs \
125	${_fxp} \
126	gem \
127	geom \
128	${_glxiic} \
129	${_glxsb} \
130	gpio \
131	hifn \
132	hme \
133	${_hpt27xx} \
134	${_hptiop} \
135	${_hptmv} \
136	${_hptnr} \
137	${_hptrr} \
138	hwpmc \
139	${_hwpmc_mips24k} \
140	${_hwpmc_mips74k} \
141	${_hyperv} \
142	i2c \
143	${_iavf} \
144        ${_ibcore} \
145	${_ichwd} \
146	${_ice} \
147	${_ice_ddp} \
148	${_ida} \
149	if_bridge \
150	if_disc \
151	if_edsc \
152	${_if_enc} \
153	if_epair \
154	${_if_gif} \
155	${_if_gre} \
156	${_if_me} \
157	if_infiniband \
158	if_lagg \
159	${_if_ndis} \
160	${_if_stf} \
161	if_tuntap \
162	if_vlan \
163	if_vxlan \
164	iflib \
165	${_iir} \
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	${_ktls_ocf} \
207	le \
208	lge \
209	libalias \
210	libiconv \
211	libmchain \
212	lindebugfs \
213	linuxkpi \
214	${_lio} \
215	lpt \
216	mac_biba \
217	mac_bsdextended \
218	mac_ifoff \
219	mac_lomac \
220	mac_mls \
221	mac_none \
222	mac_ntpd \
223	mac_partition \
224	mac_portacl \
225	mac_seeotheruids \
226	mac_stub \
227	mac_test \
228	${_malo} \
229	md \
230	mdio \
231	mem \
232	mfi \
233	mii \
234	mlx \
235	mlxfw \
236	${_mlx4} \
237	${_mlx4ib} \
238	${_mlx4en} \
239	${_mlx5} \
240	${_mlx5en} \
241	${_mlx5ib} \
242	${_mly} \
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	${_ndis} \
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	${_pccard} \
285	${_pchtherm} \
286	${_pcfclock} \
287	${_pf} \
288	${_pflog} \
289	${_pfsync} \
290	plip \
291	${_pms} \
292	ppbus \
293	ppc \
294	ppi \
295	pps \
296	procfs \
297	proto \
298	pseudofs \
299	${_pst} \
300	pty  \
301	puc \
302	pwm \
303	${_qlxge} \
304	${_qlxgb} \
305	${_qlxgbe} \
306	${_qlnx} \
307	ral \
308	${_ralfw} \
309	${_random_fortuna} \
310	${_random_other} \
311	rc4 \
312	${_rdma} \
313	${_rdrand_rng} \
314	re \
315	rl \
316	${_rockchip} \
317	rtwn \
318	rtwn_pci \
319	rtwn_usb \
320	${_rtwnfw} \
321	${_s3} \
322	${_safe} \
323	safexcel \
324	${_sbni} \
325	scc \
326	${_sctp} \
327	sdhci \
328	${_sdhci_acpi} \
329	sdhci_pci \
330	sdio \
331	sem \
332	send \
333	${_sfxge} \
334	sge \
335	${_sgx} \
336	${_sgx_linux} \
337	siftr \
338	siis \
339	sis \
340	sk \
341	${_smartpqi} \
342	smbfs \
343	snp \
344	sound \
345	${_speaker} \
346	spi \
347	${_splash} \
348	${_sppp} \
349	ste \
350	stge \
351	${_sume} \
352	${_superio} \
353	${_sym} \
354	${_syscons} \
355	sysvipc \
356	tcp \
357	${_ti} \
358	tmpfs \
359	${_toecore} \
360	${_tpm} \
361	${_twa} \
362	twe \
363	tws \
364	uart \
365	udf \
366	udf_iconv \
367	ufs \
368	uinput \
369	unionfs \
370	usb \
371	${_vesa} \
372	${_virtio} \
373	vge \
374	${_viawd} \
375	videomode \
376	vkbd \
377	${_vmd} \
378	${_vmm} \
379	${_vmware} \
380	vr \
381	vte \
382	${_wbwd} \
383	${_wi} \
384	wlan \
385	wlan_acl \
386	wlan_amrr \
387	wlan_ccmp \
388	wlan_rssadapt \
389	wlan_tkip \
390	wlan_wep \
391	wlan_xauth \
392	${_wpi} \
393	${_wpifw} \
394	${_x86bios} \
395	xdr \
396	xl \
397	xz \
398	zlib
399
400.if ${MK_AUTOFS} != "no" || defined(ALL_MODULES)
401_autofs=	autofs
402.endif
403
404.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
405.if (${MACHINE_CPUARCH} != "arm" || ${MACHINE_ARCH:Marmv[67]*} != "") && \
406	${MACHINE_CPUARCH} != "mips"
407.if ${KERN_OPTS:MKDTRACE_HOOKS}
408SUBDIR+=	dtrace
409.endif
410.endif
411SUBDIR+=	opensolaris
412.endif
413
414.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
415.if exists(${SRCTOP}/sys/opencrypto)
416_crypto=	crypto
417_cryptodev=	cryptodev
418_random_fortuna=random_fortuna
419_random_other=	random_other
420_ktls_ocf=	ktls_ocf
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_ISCSI} != "no" || defined(ALL_MODULES)
473SUBDIR+=	cfiscsi
474SUBDIR+=	iscsi
475SUBDIR+=	iscsi_initiator
476.endif
477
478.if !empty(OPT_FDT)
479SUBDIR+=	fdt
480.endif
481
482# Linuxulator
483.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
484    ${MACHINE_CPUARCH} == "i386"
485SUBDIR+=	linprocfs
486SUBDIR+=	linsysfs
487.endif
488.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
489SUBDIR+=	linux
490.endif
491.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64"
492SUBDIR+=	linux64
493SUBDIR+=	linux_common
494.endif
495
496.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
497    ${MACHINE_CPUARCH} == "i386"
498_ena=		ena
499.if ${MK_OFED} != "no" || defined(ALL_MODULES)
500_ibcore=	ibcore
501_ipoib=		ipoib
502_iser=		iser
503.endif
504_mlx4=		mlx4
505_mlx5=		mlx5
506.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \
507	defined(ALL_MODULES)
508_mlx4en=	mlx4en
509_mlx5en=	mlx5en
510.endif
511.if ${MK_OFED} != "no" || defined(ALL_MODULES)
512_mthca=		mthca
513_mlx4ib=	mlx4ib
514_mlx5ib=	mlx5ib
515.endif
516_vmware=	vmware
517.endif
518
519.if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
520_netgraph=	netgraph
521.endif
522
523.if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \
524	${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES)
525_pf=		pf
526_pflog=		pflog
527.if ${MK_INET_SUPPORT} != "no"
528_pfsync=	pfsync
529.endif
530.endif
531
532.if ${MK_SOURCELESS_UCODE} != "no"
533_bce=		bce
534_fxp=		fxp
535_ispfw=		ispfw
536_ti=		ti
537
538.if ${MACHINE_CPUARCH} != "mips"
539_mwlfw=		mwlfw
540_otusfw=	otusfw
541_ralfw=		ralfw
542_rtwnfw=	rtwnfw
543.endif
544.endif
545
546.if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \
547	${MACHINE_CPUARCH} != "mips" && \
548	${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" && \
549	${MACHINE_CPUARCH} != "riscv"
550_cxgbe=		cxgbe
551.endif
552
553.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm64"
554_ice=		ice
555.if ${MK_SOURCELESS_UCODE} != "no"
556_ice_ddp=	ice_ddp
557.endif
558.endif
559
560# These rely on 64bit atomics
561.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" && \
562	${MACHINE_CPUARCH} != "mips"
563_mps=		mps
564_mpr=		mpr
565.endif
566
567.if ${MK_TESTS} != "no" || defined(ALL_MODULES)
568SUBDIR+=	tests
569.endif
570
571.if ${MK_ZFS} != "no" || (defined(ALL_MODULES)  && ${MACHINE_CPUARCH} != "powerpc")
572SUBDIR+=	zfs
573.endif
574
575.if (${MACHINE_CPUARCH} == "mips" && ${MACHINE_ARCH:Mmips64} == "")
576_hwpmc_mips24k=	hwpmc_mips24k
577_hwpmc_mips74k=	hwpmc_mips74k
578.endif
579
580.if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "arm" && \
581	${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "powerpc" && \
582	${MACHINE_CPUARCH} != "riscv"
583_syscons=	syscons
584.endif
585
586.if ${MACHINE_CPUARCH} != "mips"
587# no BUS_SPACE_UNSPECIFIED
588# No barrier instruction support (specific to this driver)
589_sym=		sym
590# intr_disable() is a macro, causes problems
591.if ${MK_SOURCELESS_UCODE} != "no"
592_cxgb=		cxgb
593.endif
594.endif
595
596.if ${MACHINE_CPUARCH} == "aarch64"
597_allwinner=	allwinner
598_armv8crypto=	armv8crypto
599_em=		em
600_rockchip=	rockchip
601.endif
602
603.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
604_agp=		agp
605_an=		an
606_aout=		aout
607_bios=		bios
608.if ${MK_SOURCELESS_UCODE} != "no"
609_bxe=		bxe
610.endif
611_cardbus=	cardbus
612_cbb=		cbb
613_cpuctl=	cpuctl
614_cpufreq=	cpufreq
615_dpms=		dpms
616_em=		em
617_et=		et
618_exca=		exca
619_if_ndis=	if_ndis
620_io=		io
621_itwd=		itwd
622_ix=		ix
623_ixv=		ixv
624.if ${MK_SOURCELESS_UCODE} != "no"
625_lio=		lio
626.endif
627_nctgpio=	nctgpio
628_ndis=		ndis
629_ntb=		ntb
630_ocs_fc=	ocs_fc
631_ossl=		ossl
632_pccard=	pccard
633.if ${MK_OFED} != "no" || defined(ALL_MODULES)
634_rdma=		rdma
635.endif
636_safe=		safe
637_speaker=	speaker
638_splash=	splash
639_sppp=		sppp
640_wbwd=		wbwd
641_wi=		wi
642
643_aac=		aac
644_aacraid=	aacraid
645_acpi=		acpi
646.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
647_aesni=		aesni
648.endif
649_amd_ecc_inject=amd_ecc_inject
650_amdsbwd=	amdsbwd
651_amdsmn=	amdsmn
652_amdtemp=	amdtemp
653_arcmsr=	arcmsr
654_asmc=		asmc
655.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
656_blake2=	blake2
657.endif
658_bytgpio=	bytgpio
659_chvgpio=	chvgpio
660_ciss=		ciss
661_chromebook_platform=	chromebook_platform
662_cmx=		cmx
663_coretemp=	coretemp
664.if ${MK_SOURCELESS_HOST} != "no" && empty(KCSAN_ENABLED)
665_hpt27xx=	hpt27xx
666.endif
667_hptiop=	hptiop
668.if ${MK_SOURCELESS_HOST} != "no" && empty(KCSAN_ENABLED)
669_hptmv=		hptmv
670_hptnr=		hptnr
671_hptrr=		hptrr
672.endif
673_hyperv=	hyperv
674_ichwd=		ichwd
675_ida=		ida
676_iir=		iir
677_intelspi=	intelspi
678_ipmi=		ipmi
679_ips=		ips
680_isci=		isci
681_ipw=		ipw
682_iwi=		iwi
683_iwm=		iwm
684_iwn=		iwn
685.if ${MK_SOURCELESS_UCODE} != "no"
686_ipwfw=		ipwfw
687_iwifw=		iwifw
688_iwmfw=		iwmfw
689_iwnfw=		iwnfw
690.endif
691_mly=		mly
692_nfe=		nfe
693_nvd=		nvd
694_nvme=		nvme
695_nvram=		nvram
696.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
697_padlock=	padlock
698_padlock_rng=	padlock_rng
699_rdrand_rng=	rdrand_rng
700.endif
701_pchtherm = pchtherm
702_s3=		s3
703_sdhci_acpi=	sdhci_acpi
704_superio=	superio
705_tpm=		tpm
706_twa=		twa
707_vesa=		vesa
708_viawd=		viawd
709_virtio=	virtio
710_wpi=		wpi
711.if ${MK_SOURCELESS_UCODE} != "no"
712_wpifw=		wpifw
713.endif
714_x86bios=	x86bios
715.endif
716
717.if ${MACHINE_CPUARCH} == "amd64"
718_amdgpio=	amdgpio
719_ccp=		ccp
720_iavf=		iavf
721_ioat=		ioat
722_ixl=		ixl
723_nvdimm=	nvdimm
724_pms=		pms
725_qlxge=		qlxge
726_qlxgb=		qlxgb
727_sume=		sume
728_vmd=		vmd
729.if ${MK_SOURCELESS_UCODE} != "no"
730_qlxgbe=	qlxgbe
731_qlnx=		qlnx
732.endif
733_sfxge=		sfxge
734_sgx=		sgx
735_sgx_linux=	sgx_linux
736_smartpqi=	smartpqi
737
738.if ${MK_BHYVE} != "no" || defined(ALL_MODULES)
739.if ${KERN_OPTS:MSMP}
740_vmm=		vmm
741.endif
742.endif
743.endif
744
745.if ${MACHINE_CPUARCH} == "i386"
746# XXX some of these can move to the general case when de-i386'ed
747# XXX some of these can move now, but are untested on other architectures.
748_3dfx=		3dfx
749_3dfx_linux=	3dfx_linux
750.if ${MK_SOURCELESS_HOST} != "no"
751_ce=		ce
752.endif
753.if ${MK_SOURCELESS_UCODE} != "no"
754_cp=		cp
755.endif
756_glxiic=	glxiic
757_glxsb=		glxsb
758_pcfclock=	pcfclock
759_pst=		pst
760_sbni=		sbni
761.endif
762
763.if ${MACHINE_ARCH} == "armv7"
764_cfi=		cfi
765_cpsw=		cpsw
766.endif
767
768.if ${MACHINE_CPUARCH} == "powerpc"
769_aacraid=	aacraid
770_agp=		agp
771_an=		an
772_cardbus=	cardbus
773_cbb=		cbb
774_cfi=		cfi
775_cpufreq=	cpufreq
776_exca=		exca
777_ffec=		ffec
778_nvd=		nvd
779_nvme=		nvme
780_pccard=	pccard
781_wi=		wi
782_virtio=	virtio
783.endif
784
785.if ${MACHINE_ARCH:Mpowerpc64*} != ""
786_ipmi=		ipmi
787_ixl=		ixl
788_nvram=		opal_nvram
789.endif
790.if ${MACHINE_CPUARCH} == "powerpc" && ${MACHINE_ARCH} != "powerpcspe"
791# Don't build powermac_nvram for powerpcspe, it's never supported.
792_nvram+=	powermac_nvram
793.endif
794
795.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
796     ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "i386")
797_cloudabi32=	cloudabi32
798.endif
799.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64"
800_cloudabi64=	cloudabi64
801.endif
802
803.endif
804
805.if ${MACHINE_ARCH:Marmv[67]*} != "" || ${MACHINE_CPUARCH} == "aarch64"
806_bcm283x_clkman=  bcm283x_clkman
807_bcm283x_pwm=  bcm283x_pwm
808.endif
809
810.if !(${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 110000)
811# LLVM 10 crashes when building if_malo_pci.c, fixed in LLVM11:
812# https://bugs.llvm.org/show_bug.cgi?id=44351
813_malo=	malo
814.endif
815
816SUBDIR+=${MODULES_EXTRA}
817
818.for reject in ${WITHOUT_MODULES}
819SUBDIR:= ${SUBDIR:N${reject}}
820.endfor
821
822# Calling kldxref(8) for each module is expensive.
823.if !defined(NO_XREF)
824.MAKEFLAGS+=	-DNO_XREF
825afterinstall: .PHONY
826	@if type kldxref >/dev/null 2>&1; then \
827		${ECHO} ${KLDXREF_CMD} ${DESTDIR}${KMODDIR}; \
828		${KLDXREF_CMD} ${DESTDIR}${KMODDIR}; \
829	fi
830.endif
831
832SUBDIR:= ${SUBDIR:u:O}
833
834.include <bsd.subdir.mk>
835