View | Details | Raw Unified | Return to bug 275741 | Differences between
and this patch

Collapse All | Expand All

(-)b/share/man/man5/make.conf.5 (-4 / +6 lines)
Lines 22-28 Link Here
22
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23
.\" SUCH DAMAGE.
23
.\" SUCH DAMAGE.
24
.\"
24
.\"
25
.Dd November 15, 2022
25
.Dd November 18, 2024
26
.Dt MAKE.CONF 5
26
.Dt MAKE.CONF 5
27
.Os
27
.Os
28
.Sh NAME
28
.Sh NAME
Lines 297-305 is built. Link Here
297
.It Va WITHOUT_MODULES
297
.It Va WITHOUT_MODULES
298
.Pq Vt str
298
.Pq Vt str
299
Set to a list of modules to exclude from the build.
299
Set to a list of modules to exclude from the build.
300
This provides a
300
Module names are relative to
301
somewhat easier way to exclude modules you are certain you will never
301
.Pa /usr/src/sys/modules
302
need than specifying
302
and can be of the form "foo bar baz" for modules at the top of the modules
303
directory or the form "foo/bar foo/baz" for modules in a subdirectory.
304
This is a way to exclude specific modules from being built compared to specifying
303
.Va MODULES_OVERRIDE .
305
.Va MODULES_OVERRIDE .
304
This is applied
306
This is applied
305
.Em after
307
.Em after
(-)b/sys/conf/kmod.without.mk (+38 lines)
Added Link Here
1
#-
2
# Copyright (c) 2023 Joshua Kinard <freebsd@kumba.dev>
3
#
4
# SPDX-License-Identifier: BSD-2-Clause
5
#
6
7
# Process WITHOUT_MODULES in SYSDIR/modules and any subdirectories.
8
#
9
# WITHOUT_MODULES holds a space-separated list of kernel module names
10
# that should not be built or installed.
11
#
12
# Module names are relative to SYSDIR/modules and matching names are
13
# removed from the SUBDIR variable in each Makefile that is processed
14
# under SYSDIR/MODULES.  Module names can have one of two forms:
15
#
16
#   1) A name of a top-level directory under SYSDIR/modules,
17
#      such as 'ipfw' or 'cd9660'.
18
#
19
#   2) A name of a relative path under SYSDIR/modules,
20
#      such as 'usb/atp' or 'hid/xb360gp'.
21
#
22
# This mk file should be included by any Makefile in SYSDIR/modules
23
# that defines a SUBDIR variable with a list of descendant module
24
# subdirectories.
25
#
26
# To include it, add the below directive at the bottom of a Makefile
27
# before any final include directives for "bsd.*.mk":
28
#
29
#   .include "${SYSDIR}/conf/kmod.without.mk"
30
#
31
32
.for kmod in ${WITHOUT_MODULES}
33
.  if ${kmod:M*/*}
34
     SUBDIR:=${SUBDIR:N${kmod:T}}
35
.  else
36
     SUBDIR:=${SUBDIR:N${kmod}}
37
.  endif
38
.endfor
(-)b/sys/modules/Makefile (-3 / +2 lines)
Lines 917-925 _malo= malo Link Here
917
917
918
SUBDIR+=${MODULES_EXTRA}
918
SUBDIR+=${MODULES_EXTRA}
919
919
920
.for reject in ${WITHOUT_MODULES}
920
# Process WITHOUT_MODULES
921
SUBDIR:= ${SUBDIR:N${reject}}
921
.include "${SYSDIR}/conf/kmod.without.mk"
922
.endfor
923
922
924
.endif # MODULES_OVERRIDE -- Keep last
923
.endif # MODULES_OVERRIDE -- Keep last
925
924
(-)b/sys/modules/aac/Makefile (+2 lines)
Lines 13-16 SRCS+= device_if.h bus_if.h pci_if.h Link Here
13
#CFLAGS+= -DAAC_DEBUG=2
13
#CFLAGS+= -DAAC_DEBUG=2
14
#SRCS+=	aac_debug.c
14
#SRCS+=	aac_debug.c
15
15
16
.include "${SYSDIR}/conf/kmod.without.mk"
17
16
.include <bsd.kmod.mk>
18
.include <bsd.kmod.mk>
(-)b/sys/modules/aacraid/Makefile (+2 lines)
Lines 16-19 SRCS+= device_if.h bus_if.h pci_if.h Link Here
16
#CFLAGS+= -DAACRAID_DEBUG=2
16
#CFLAGS+= -DAACRAID_DEBUG=2
17
#SRCS+=	aacraid_debug.c
17
#SRCS+=	aacraid_debug.c
18
18
19
.include "${SYSDIR}/conf/kmod.without.mk"
20
19
.include <bsd.kmod.mk>
21
.include <bsd.kmod.mk>
(-)b/sys/modules/acpi/Makefile (+2 lines)
Lines 2-5 SUBDIR= acpi_asus acpi_asus_wmi acpi_dock acpi_fujitsu acpi_hp \ Link Here
2
		acpi_ged acpi_ibm acpi_panasonic acpi_sbl_wmi acpi_sony	\
2
		acpi_ged acpi_ibm acpi_panasonic acpi_sbl_wmi acpi_sony	\
3
		acpi_toshiba acpi_video acpi_wmi aibs
3
		acpi_toshiba acpi_video acpi_wmi aibs
4
4
5
.include "${SYSDIR}/conf/kmod.without.mk"
6
5
.include <bsd.subdir.mk>
7
.include <bsd.subdir.mk>
(-)b/sys/modules/aic7xxx/Makefile (+2 lines)
Lines 16-19 cleanfirmware: Link Here
16
	( cd .${CURDIR}/ahc ; ${MAKE} cleanfirmware )
16
	( cd .${CURDIR}/ahc ; ${MAKE} cleanfirmware )
17
	( cd .${CURDIR}/ahd ; ${MAKE} cleanfirmware )
17
	( cd .${CURDIR}/ahd ; ${MAKE} cleanfirmware )
18
18
19
.include "${SYSDIR}/conf/kmod.without.mk"
20
19
.include <bsd.subdir.mk>
21
.include <bsd.subdir.mk>
(-)b/sys/modules/aic7xxx/ahc/Makefile (+2 lines)
Lines 51-54 CLEANFILES= ${GENSRCS} Link Here
51
51
52
EXPORT_SYMS=	YES
52
EXPORT_SYMS=	YES
53
53
54
.include "${SYSDIR}/conf/kmod.without.mk"
55
54
.include <bsd.kmod.mk>
56
.include <bsd.kmod.mk>
(-)b/sys/modules/allwinner/Makefile (+2 lines)
Lines 11-14 SUBDIR = \ Link Here
11
	axp81x \
11
	axp81x \
12
	if_awg
12
	if_awg
13
13
14
.include "${SYSDIR}/conf/kmod.without.mk"
15
14
.include <bsd.subdir.mk>
16
.include <bsd.subdir.mk>
(-)b/sys/modules/arm_ti/Makefile (-2 / +4 lines)
Lines 3-8 Link Here
3
SUBDIR = \
3
SUBDIR = \
4
	../am335x_dmtpps \
4
	../am335x_dmtpps \
5
	am335x_ehrpwm \
5
	am335x_ehrpwm \
6
	ti_i2c \
6
	ti_i2c
7
	
7
8
.include "${SYSDIR}/conf/kmod.without.mk"
9
8
.include <bsd.subdir.mk>
10
.include <bsd.subdir.mk>
(-)b/sys/modules/ata/Makefile (-1 / +3 lines)
Lines 1-5 Link Here
1
SUBDIR = atacore
1
SUBDIR = atacore
2
SUBDIR += ataisa
2
SUBDIR += ataisa
3
SUBDIR += atapci 
3
SUBDIR += atapci
4
5
.include "${SYSDIR}/conf/kmod.without.mk"
4
6
5
.include <bsd.subdir.mk>
7
.include <bsd.subdir.mk>
(-)b/sys/modules/ata/atapci/Makefile (+2 lines)
Lines 8-11 SRCS+= ata_if.h bus_if.h device_if.h pci_if.h Link Here
8
8
9
EXPORT_SYMS=	YES
9
EXPORT_SYMS=	YES
10
10
11
.include "${SYSDIR}/conf/kmod.without.mk"
12
11
.include <bsd.kmod.mk>
13
.include <bsd.kmod.mk>
(-)b/sys/modules/ata/atapci/chipsets/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR += ataacard ataacerlabs ataamd ataati atacenatek atacypress atacyrix atahighpoint ataintel ataite atajmicron atamarvell atamicron atanational atanetcell atanvidia atapromise ataserverworks atasiliconimage atasis atavia
1
SUBDIR += ataacard ataacerlabs ataamd ataati atacenatek atacypress atacyrix atahighpoint ataintel ataite atajmicron atamarvell atamicron atanational atanetcell atanvidia atapromise ataserverworks atasiliconimage atasis atavia
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/axgbe/Makefile (+2 lines)
Lines 4-7 SUBDIR= if_axa Link Here
4
SUBDIR= if_axp
4
SUBDIR= if_axp
5
.endif
5
.endif
6
6
7
.include "${SYSDIR}/conf/kmod.without.mk"
8
7
.include <bsd.subdir.mk>
9
.include <bsd.subdir.mk>
(-)b/sys/modules/bhnd/Makefile (+2 lines)
Lines 71-75 SUBDIR= bcma \ Link Here
71
71
72
EXPORT_SYMS=	YES
72
EXPORT_SYMS=	YES
73
73
74
.include "${SYSDIR}/conf/kmod.without.mk"
75
74
.include <bsd.kmod.mk>
76
.include <bsd.kmod.mk>
75
.include <bsd.subdir.mk>
77
.include <bsd.subdir.mk>
(-)b/sys/modules/bhnd/cores/Makefile (+2 lines)
Lines 2-5 SUBDIR= bhnd_pci \ Link Here
2
	bhnd_pci_hostb \
2
	bhnd_pci_hostb \
3
	bhnd_pcib
3
	bhnd_pcib
4
4
5
.include "${SYSDIR}/conf/kmod.without.mk"
6
5
.include <bsd.subdir.mk>
7
.include <bsd.subdir.mk>
(-)b/sys/modules/bios/Makefile (+2 lines)
Lines 6-9 SUBDIR= smbios vpd Link Here
6
SUBDIR+=	smapi
6
SUBDIR+=	smapi
7
.endif
7
.endif
8
8
9
.include "${SYSDIR}/conf/kmod.without.mk"
10
9
.include <bsd.subdir.mk>
11
.include <bsd.subdir.mk>
(-)b/sys/modules/bnxt/Makefile (+2 lines)
Lines 1-4 Link Here
1
SUBDIR=	bnxt_en	\
1
SUBDIR=	bnxt_en	\
2
	bnxt_re
2
	bnxt_re
3
3
4
.include "${SYSDIR}/conf/kmod.without.mk"
5
4
.include <bsd.subdir.mk>
6
.include <bsd.subdir.mk>
(-)b/sys/modules/cc/Makefile (+2 lines)
Lines 16-19 SUBDIR+= \ Link Here
16
	cc_vegas
16
	cc_vegas
17
.endif
17
.endif
18
18
19
.include "${SYSDIR}/conf/kmod.without.mk"
20
19
.include <bsd.subdir.mk>
21
.include <bsd.subdir.mk>
(-)b/sys/modules/cxgb/Makefile (+2 lines)
Lines 4-7 SYSDIR?=${SRCTOP}/sys Link Here
4
SUBDIR= cxgb
4
SUBDIR= cxgb
5
SUBDIR+= cxgb_t3fw
5
SUBDIR+= cxgb_t3fw
6
6
7
.include "${SYSDIR}/conf/kmod.without.mk"
8
7
.include <bsd.subdir.mk>
9
.include <bsd.subdir.mk>
(-)b/sys/modules/cxgbe/Makefile (+2 lines)
Lines 30-33 _iw_cxgbe= iw_cxgbe Link Here
30
_tom=	tom
30
_tom=	tom
31
.endif
31
.endif
32
32
33
.include "${SYSDIR}/conf/kmod.without.mk"
34
33
.include <bsd.subdir.mk>
35
.include <bsd.subdir.mk>
(-)b/sys/modules/dtrace/Makefile (+2 lines)
Lines 33-36 SUBDIR+= systrace_freebsd32 Link Here
33
SUBDIR+=	sdt
33
SUBDIR+=	sdt
34
.endif
34
.endif
35
35
36
.include "${SYSDIR}/conf/kmod.without.mk"
37
36
.include <bsd.subdir.mk>
38
.include <bsd.subdir.mk>
(-)b/sys/modules/fdt/Makefile (-3 / +4 lines)
Lines 1-6 Link Here
1
# Build dev/fdt modules.
1
# Build dev/fdt modules.
2
2
3
SUBDIR = \
3
SUBDIR = fdt_slicer
4
	fdt_slicer \
4
5
	
5
.include "${SYSDIR}/conf/kmod.without.mk"
6
6
.include <bsd.subdir.mk>
7
.include <bsd.subdir.mk>
(-)b/sys/modules/firewire/Makefile (+2 lines)
Lines 4-7 SUBDIR= firewire \ Link Here
4
	sbp \
4
	sbp \
5
	sbp_targ
5
	sbp_targ
6
6
7
.include "${SYSDIR}/conf/kmod.without.mk"
8
7
.include <bsd.subdir.mk>
9
.include <bsd.subdir.mk>
(-)b/sys/modules/flash/Makefile (-1 / +3 lines)
Lines 5-9 SUBDIR = Link Here
5
.if (${MACHINE_CPUARCH} == "aarch64") && !empty(OPT_FDT)
5
.if (${MACHINE_CPUARCH} == "aarch64") && !empty(OPT_FDT)
6
SUBDIR+=	flexspi
6
SUBDIR+=	flexspi
7
.endif
7
.endif
8
	
8
9
.include "${SYSDIR}/conf/kmod.without.mk"
10
9
.include <bsd.subdir.mk>
11
.include <bsd.subdir.mk>
(-)b/sys/modules/geom/Makefile (+2 lines)
Lines 28-31 SUBDIR= geom_cache \ Link Here
28
SUBDIR+=	geom_ccd
28
SUBDIR+=	geom_ccd
29
.endif
29
.endif
30
30
31
.include "${SYSDIR}/conf/kmod.without.mk"
32
31
.include <bsd.subdir.mk>
33
.include <bsd.subdir.mk>
(-)b/sys/modules/geom/geom_part/Makefile (+2 lines)
Lines 6-9 SUBDIR= geom_part_apm \ Link Here
6
	geom_part_ldm \
6
	geom_part_ldm \
7
	geom_part_mbr
7
	geom_part_mbr
8
8
9
.include "${SYSDIR}/conf/kmod.without.mk"
10
9
.include <bsd.subdir.mk>
11
.include <bsd.subdir.mk>
(-)b/sys/modules/gpio/Makefile (+2 lines)
Lines 34-37 SUBDIR += gpiokeys gpiopps Link Here
34
SUBDIR += gpioaei
34
SUBDIR += gpioaei
35
.endif
35
.endif
36
36
37
.include "${SYSDIR}/conf/kmod.without.mk"
38
37
.include <bsd.subdir.mk>
39
.include <bsd.subdir.mk>
(-)b/sys/modules/hid/Makefile (+2 lines)
Lines 19-22 SUBDIR += \ Link Here
19
	ps4dshock \
19
	ps4dshock \
20
	xb360gp
20
	xb360gp
21
21
22
.include "${SYSDIR}/conf/kmod.without.mk"
23
22
.include <bsd.subdir.mk>
24
.include <bsd.subdir.mk>
(-)b/sys/modules/hyperv/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR = vmbus netvsc storvsc utilities hvsock hid
1
SUBDIR = vmbus netvsc storvsc utilities hvsock hid
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/i2c/Makefile (+2 lines)
Lines 39-42 SUBDIR += hym8563 \ Link Here
39
SUBDIR += iichid
39
SUBDIR += iichid
40
.endif
40
.endif
41
41
42
.include "${SYSDIR}/conf/kmod.without.mk"
43
42
.include <bsd.subdir.mk>
44
.include <bsd.subdir.mk>
(-)b/sys/modules/i2c/controllers/Makefile (+2 lines)
Lines 7-10 SUBDIR += imcsmb Link Here
7
SUBDIR += iicoc
7
SUBDIR += iicoc
8
.endif
8
.endif
9
9
10
.include "${SYSDIR}/conf/kmod.without.mk"
11
10
.include <bsd.subdir.mk>
12
.include <bsd.subdir.mk>
(-)b/sys/modules/i2c/mux/Makefile (+2 lines)
Lines 7-10 SUBDIR = \ Link Here
7
SUBDIR+= iic_gpiomux
7
SUBDIR+= iic_gpiomux
8
.endif
8
.endif
9
9
10
.include "${SYSDIR}/conf/kmod.without.mk"
11
10
.include <bsd.subdir.mk>
12
.include <bsd.subdir.mk>
(-)b/sys/modules/imx/Makefile (-2 / +4 lines)
Lines 6-11 SUBDIR = \ Link Here
6
	imx6_snvs \
6
	imx6_snvs \
7
	imx_i2c \
7
	imx_i2c \
8
	imx_spi \
8
	imx_spi \
9
	imx_wdog \
9
	imx_wdog
10
	
10
11
.include "${SYSDIR}/conf/kmod.without.mk"
12
11
.include <bsd.subdir.mk>
13
.include <bsd.subdir.mk>
(-)b/sys/modules/ipmi/Makefile (+2 lines)
Lines 30-33 SUBDIR+= ipmi_linux Link Here
30
SRCS+=	ipmi_opal.c ofw_bus_if.h
30
SRCS+=	ipmi_opal.c ofw_bus_if.h
31
.endif
31
.endif
32
32
33
.include "${SYSDIR}/conf/kmod.without.mk"
34
33
.include <bsd.kmod.mk>
35
.include <bsd.kmod.mk>
(-)b/sys/modules/ipwfw/Makefile (+2 lines)
Lines 2-5 SUBDIR= ipw_bss \ Link Here
2
	ipw_ibss \
2
	ipw_ibss \
3
	ipw_monitor
3
	ipw_monitor
4
4
5
.include "${SYSDIR}/conf/kmod.without.mk"
6
5
.include <bsd.subdir.mk>
7
.include <bsd.subdir.mk>
(-)b/sys/modules/ispfw/Makefile (+2 lines)
Lines 32-35 SUBDIR += isp_2600 Link Here
32
SUBDIR += isp_2700
32
SUBDIR += isp_2700
33
SUBDIR += isp_2800
33
SUBDIR += isp_2800
34
34
35
.include "${SYSDIR}/conf/kmod.without.mk"
36
35
.include <bsd.subdir.mk>
37
.include <bsd.subdir.mk>
(-)b/sys/modules/iwifw/Makefile (+2 lines)
Lines 2-5 SUBDIR= iwi_bss \ Link Here
2
	iwi_ibss \
2
	iwi_ibss \
3
	iwi_monitor
3
	iwi_monitor
4
4
5
.include "${SYSDIR}/conf/kmod.without.mk"
6
5
.include <bsd.subdir.mk>
7
.include <bsd.subdir.mk>
(-)b/sys/modules/iwlwififw/Makefile (+2 lines)
Lines 27-30 SUBDIR= \ Link Here
27
	iwlwifi-ty-a0-gf-a0-pnvm
27
	iwlwifi-ty-a0-gf-a0-pnvm
28
28
29
29
30
.include "${SYSDIR}/conf/kmod.without.mk"
31
30
.include <bsd.subdir.mk>
32
.include <bsd.subdir.mk>
(-)b/sys/modules/iwmfw/Makefile (+2 lines)
Lines 8-11 SUBDIR= iwm3160fw \ Link Here
8
	iwm9000fw \
8
	iwm9000fw \
9
	iwm9260fw
9
	iwm9260fw
10
10
11
.include "${SYSDIR}/conf/kmod.without.mk"
12
11
.include <bsd.subdir.mk>
13
.include <bsd.subdir.mk>
(-)b/sys/modules/iwnfw/Makefile (+2 lines)
Lines 12-15 SUBDIR= iwn100 \ Link Here
12
	iwn6000g2b	\
12
	iwn6000g2b	\
13
	iwn6050
13
	iwn6050
14
14
15
.include "${SYSDIR}/conf/kmod.without.mk"
16
15
.include <bsd.subdir.mk>
17
.include <bsd.subdir.mk>
(-)b/sys/modules/khelp/Makefile (+2 lines)
Lines 8-11 SUBDIR= Link Here
8
SUBDIR+=	h_ertt
8
SUBDIR+=	h_ertt
9
.endif
9
.endif
10
10
11
.include "${SYSDIR}/conf/kmod.without.mk"
12
11
.include <bsd.subdir.mk>
13
.include <bsd.subdir.mk>
(-)b/sys/modules/ktest/Makefile (+2 lines)
Lines 5-8 SUBDIR= ktest \ Link Here
5
	ktest_example \
5
	ktest_example \
6
	ktest_netlink_message_writer
6
	ktest_netlink_message_writer
7
7
8
.include "${SYSDIR}/conf/kmod.without.mk"
9
8
.include <bsd.subdir.mk>
10
.include <bsd.subdir.mk>
(-)b/sys/modules/libalias/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR=	libalias modules
1
SUBDIR=	libalias modules
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/libalias/modules/Makefile (+2 lines)
Lines 2-5 Link Here
2
2
3
SUBDIR=	${MODULES}
3
SUBDIR=	${MODULES}
4
4
5
.include "${SYSDIR}/conf/kmod.without.mk"
6
5
.include <bsd.subdir.mk>
7
.include <bsd.subdir.mk>
(-)b/sys/modules/mfi/Makefile (+2 lines)
Lines 15-18 SRCS+= device_if.h bus_if.h pci_if.h Link Here
15
15
16
EXPORT_SYMS=	YES
16
EXPORT_SYMS=	YES
17
17
18
.include "${SYSDIR}/conf/kmod.without.mk"
19
18
.include <bsd.kmod.mk>
20
.include <bsd.kmod.mk>
(-)b/sys/modules/mrsas/Makefile (+1 lines)
Lines 11-16 SRCS=mrsas.c mrsas_cam.c mrsas_ioctl.c mrsas_fp.c Link Here
11
SRCS+=  device_if.h bus_if.h pci_if.h opt_cam.h opt_scsi.h
11
SRCS+=  device_if.h bus_if.h pci_if.h opt_cam.h opt_scsi.h
12
12
13
#CFLAGS+= -MRSAS_DEBUG
13
#CFLAGS+= -MRSAS_DEBUG
14
.include "${SYSDIR}/conf/kmod.without.mk"
14
.include <bsd.kmod.mk>
15
.include <bsd.kmod.mk>
15
CFLAGS+= -fgnu89-inline
16
CFLAGS+= -fgnu89-inline
16
17
(-)b/sys/modules/mt76/Makefile (+2 lines)
Lines 4-7 SUBDIR+= mt7915 Link Here
4
SUBDIR+=	mt7921
4
SUBDIR+=	mt7921
5
SUBDIR+=	mt7996
5
SUBDIR+=	mt7996
6
6
7
.include "${SYSDIR}/conf/kmod.without.mk"
8
7
.include <bsd.subdir.mk>
9
.include <bsd.subdir.mk>
(-)b/sys/modules/mxge/Makefile (+2 lines)
Lines 4-7 SUBDIR+=mxge_ethp_z8e Link Here
4
SUBDIR+=mxge_rss_eth_z8e
4
SUBDIR+=mxge_rss_eth_z8e
5
SUBDIR+=mxge_rss_ethp_z8e
5
SUBDIR+=mxge_rss_ethp_z8e
6
6
7
.include "${SYSDIR}/conf/kmod.without.mk"
8
7
.include <bsd.subdir.mk>
9
.include <bsd.subdir.mk>
(-)b/sys/modules/netgraph/Makefile (+2 lines)
Lines 61-64 _bluetooth= bluetooth Link Here
61
_mppc=		mppc
61
_mppc=		mppc
62
.endif
62
.endif
63
63
64
.include "${SYSDIR}/conf/kmod.without.mk"
65
64
.include <bsd.subdir.mk>
66
.include <bsd.subdir.mk>
(-)b/sys/modules/netgraph/bluetooth/Makefile (+2 lines)
Lines 8-11 SUBDIR= \ Link Here
8
	ubt	\
8
	ubt	\
9
	ubtbcmfw
9
	ubtbcmfw
10
10
11
.include "${SYSDIR}/conf/kmod.without.mk"
12
11
.include <bsd.subdir.mk>
13
.include <bsd.subdir.mk>
(-)b/sys/modules/ntb/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR=	ntb ntb_hw_amd ntb_hw_intel ntb_hw_plx ntb_transport ntb_tool if_ntb
1
SUBDIR=	ntb ntb_hw_amd ntb_hw_intel ntb_hw_plx ntb_transport ntb_tool if_ntb
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/nvmf/Makefile (+2 lines)
Lines 3-6 SUBDIR= nvmf \ Link Here
3
	nvmf_transport \
3
	nvmf_transport \
4
	nvmft
4
	nvmft
5
5
6
.include "${SYSDIR}/conf/kmod.without.mk"
7
6
.include <bsd.subdir.mk>
8
.include <bsd.subdir.mk>
(-)b/sys/modules/otusfw/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR=otusfw_init otusfw_main
1
SUBDIR=otusfw_init otusfw_main
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/ow/Makefile (+2 lines)
Lines 3-6 SYSDIR?=${SRCTOP}/sys Link Here
3
3
4
SUBDIR = ow owc ow_temp
4
SUBDIR = ow owc ow_temp
5
5
6
.include "${SYSDIR}/conf/kmod.without.mk"
7
6
.include <bsd.subdir.mk>
8
.include <bsd.subdir.mk>
(-)b/sys/modules/pms/Makefile (+2 lines)
Lines 54-57 SRCS+= osenv.h ostypes.h Link Here
54
SRCS+=  opt_scsi.h opt_cam.h
54
SRCS+=  opt_scsi.h opt_cam.h
55
SRCS+=  device_if.h bus_if.h pci_if.h
55
SRCS+=  device_if.h bus_if.h pci_if.h
56
56
57
.include "${SYSDIR}/conf/kmod.without.mk"
58
57
.include <bsd.kmod.mk>
59
.include <bsd.kmod.mk>
(-)b/sys/modules/pwm/Makefile (+2 lines)
Lines 10-13 SUBDIR += pwm_backlight Link Here
10
.endif
10
.endif
11
.endif
11
.endif
12
12
13
.include "${SYSDIR}/conf/kmod.without.mk"
14
13
.include <bsd.subdir.mk>
15
.include <bsd.subdir.mk>
(-)b/sys/modules/qat/Makefile (+2 lines)
Lines 5-8 SUBDIR= qat_common \ Link Here
5
	qat_hw \
5
	qat_hw \
6
	qat
6
	qat
7
7
8
.include "${SYSDIR}/conf/kmod.without.mk"
9
8
.include <bsd.subdir.mk>
10
.include <bsd.subdir.mk>
(-)b/sys/modules/qatfw/Makefile (+2 lines)
Lines 7-10 SUBDIR= qat_c62x \ Link Here
7
	qat_dh895xcc \
7
	qat_dh895xcc \
8
	qat_4xxx
8
	qat_4xxx
9
9
10
.include "${SYSDIR}/conf/kmod.without.mk"
11
10
.include <bsd.subdir.mk>
12
.include <bsd.subdir.mk>
(-)b/sys/modules/qlnx/Makefile (+2 lines)
Lines 38-41 SUBDIR=qlnxe Link Here
38
SUBDIR+=qlnxev
38
SUBDIR+=qlnxev
39
SUBDIR+=qlnxr
39
SUBDIR+=qlnxr
40
40
41
.include "${SYSDIR}/conf/kmod.without.mk"
42
41
.include <bsd.subdir.mk>
43
.include <bsd.subdir.mk>
(-)b/sys/modules/ralfw/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR=	rt2561 rt2561s rt2661 rt2860
1
SUBDIR=	rt2561 rt2561s rt2661 rt2860
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/rdma/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR+= krping
1
SUBDIR+= krping
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/rockchip/Makefile (+2 lines)
Lines 7-10 SUBDIR = \ Link Here
7
	rk_dwmmc \
7
	rk_dwmmc \
8
	rk_spi
8
	rk_spi
9
9
10
.include "${SYSDIR}/conf/kmod.without.mk"
11
10
.include <bsd.subdir.mk>
12
.include <bsd.subdir.mk>
(-)b/sys/modules/rtwnfw/Makefile (+2 lines)
Lines 1-4 Link Here
1
SUBDIR=	rtwnrtl8188eu rtwnrtl8192cT rtwnrtl8192cU rtwnrtl8192eu rtwnrtl8812au \
1
SUBDIR=	rtwnrtl8188eu rtwnrtl8192cT rtwnrtl8192cU rtwnrtl8192eu rtwnrtl8812au \
2
	rtwnrtl8821au rtwnrtl8192cE rtwnrtl8192cEB rtwnrtl8188ee
2
	rtwnrtl8821au rtwnrtl8192cE rtwnrtl8192cEB rtwnrtl8188ee
3
3
4
.include "${SYSDIR}/conf/kmod.without.mk"
5
4
.include <bsd.subdir.mk>
6
.include <bsd.subdir.mk>
(-)b/sys/modules/sound/Makefile (+2 lines)
Lines 2-5 SUBDIR = Link Here
2
SUBDIR += sound
2
SUBDIR += sound
3
SUBDIR += driver
3
SUBDIR += driver
4
4
5
.include "${SYSDIR}/conf/kmod.without.mk"
6
5
.include <bsd.subdir.mk>
7
.include <bsd.subdir.mk>
(-)b/sys/modules/sound/driver/Makefile (+2 lines)
Lines 23-26 SUBDIR+= cmi Link Here
23
SUBDIR+=	ai2s davbus
23
SUBDIR+=	ai2s davbus
24
.endif
24
.endif
25
25
26
.include "${SYSDIR}/conf/kmod.without.mk"
27
26
.include <bsd.subdir.mk>
28
.include <bsd.subdir.mk>
(-)b/sys/modules/spi/Makefile (-2 / +4 lines)
Lines 3-12 SUBDIR = \ Link Here
3
	at45d \
3
	at45d \
4
	${_atopcase} \
4
	${_atopcase} \
5
	mx25l \
5
	mx25l \
6
	spibus \
6
	spibus
7
	
7
8
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
8
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
9
_atopcase=atopcase
9
_atopcase=atopcase
10
.endif
10
.endif
11
11
12
.include "${SYSDIR}/conf/kmod.without.mk"
13
12
.include <bsd.subdir.mk>
14
.include <bsd.subdir.mk>
(-)b/sys/modules/splash/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR=	bmp pcx txt
1
SUBDIR=	bmp pcx txt
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/syscons/Makefile (+2 lines)
Lines 12-15 SUBDIR= beastie \ Link Here
12
	star \
12
	star \
13
	warp
13
	warp
14
14
15
.include "${SYSDIR}/conf/kmod.without.mk"
16
15
.include <bsd.subdir.mk>
17
.include <bsd.subdir.mk>
(-)b/sys/modules/sysvipc/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR= sysvmsg sysvsem sysvshm
1
SUBDIR= sysvmsg sysvsem sysvshm
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/tcp/Makefile (+2 lines)
Lines 15-18 _tcpmd5= tcpmd5 Link Here
15
.endif
15
.endif
16
.endif
16
.endif
17
17
18
.include "${SYSDIR}/conf/kmod.without.mk"
19
18
.include <bsd.subdir.mk>
20
.include <bsd.subdir.mk>
(-)b/sys/modules/tests/Makefile (+2 lines)
Lines 3-6 SUBDIR+= .WAIT Link Here
3
3
4
SUBDIR_PARALLEL=
4
SUBDIR_PARALLEL=
5
5
6
.include "${SYSDIR}/conf/kmod.without.mk"
7
6
.include <bsd.subdir.mk>
8
.include <bsd.subdir.mk>
(-)b/sys/modules/usb/Makefile (+2 lines)
Lines 109-112 _bcm2838_xhci= bcm2838_xhci Link Here
109
_uacpi=		uacpi
109
_uacpi=		uacpi
110
.endif
110
.endif
111
111
112
.include "${SYSDIR}/conf/kmod.without.mk"
113
112
.include <bsd.subdir.mk>
114
.include <bsd.subdir.mk>
(-)b/sys/modules/usb/rsufw/Makefile (+2 lines)
Lines 1-3 Link Here
1
SUBDIR=	rsurtl8712fw
1
SUBDIR=	rsurtl8712fw
2
2
3
.include "${SYSDIR}/conf/kmod.without.mk"
4
3
.include <bsd.subdir.mk>
5
.include <bsd.subdir.mk>
(-)b/sys/modules/virtio/Makefile (+2 lines)
Lines 24-27 Link Here
24
24
25
SUBDIR=	virtio pci network block balloon scsi random console p9fs
25
SUBDIR=	virtio pci network block balloon scsi random console p9fs
26
26
27
.include "${SYSDIR}/conf/kmod.without.mk"
28
27
.include <bsd.subdir.mk>
29
.include <bsd.subdir.mk>
(-)b/sys/modules/vmware/Makefile (+3 lines)
Lines 26-29 SUBDIR= pvscsi vmxnet3 Link Here
26
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
26
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
27
SUBDIR+= vmci
27
SUBDIR+= vmci
28
.endif
28
.endif
29
30
.include "${SYSDIR}/conf/kmod.without.mk"
31
29
.include <bsd.subdir.mk>
32
.include <bsd.subdir.mk>
(-)b/sys/modules/vnic/Makefile (-1 / +2 lines)
Lines 5-8 CFLAGS+= -DFDT Link Here
5
5
6
SUBDIR = mrmlbus thunder_mdio thunder_bgx vnicpf vnicvf
6
SUBDIR = mrmlbus thunder_mdio thunder_bgx vnicpf vnicvf
7
7
8
.include "${SYSDIR}/conf/kmod.without.mk"
9
8
.include <bsd.subdir.mk>
10
.include <bsd.subdir.mk>
9
- 

Return to bug 275741