xref: /freebsd/sys/conf/files.amd64 (revision 2ccf8a827cce7e34e2063a3d33e5cce4b79799cc)
1# This file tells config what files go into building a kernel,
2# files marked standard are always included.
3#
4# $FreeBSD$
5#
6
7# common files stuff between i386 and amd64
8include 	"conf/files.x86"
9
10# The long compile-with and dependency lines are required because of
11# limitations in config: backslash-newline doesn't work in strings, and
12# dependency lines other than the first are silently ignored.
13#
14#
15cloudabi32_vdso.o		optional	compat_cloudabi32	\
16	dependency	"$S/contrib/cloudabi/cloudabi_vdso_i686_on_64bit.S" \
17	compile-with	"${CC} -x assembler-with-cpp -m32 -shared -nostdinc -nostdlib -Wl,-T$S/compat/cloudabi/cloudabi_vdso.lds $S/contrib/cloudabi/cloudabi_vdso_i686_on_64bit.S -o ${.TARGET}" \
18	no-obj no-implicit-rule						\
19	clean		"cloudabi32_vdso.o"
20#
21cloudabi32_vdso_blob.o		optional	compat_cloudabi32	\
22	dependency 	"cloudabi32_vdso.o"				\
23	compile-with	"${OBJCOPY} --input-target binary --output-target elf64-x86-64-freebsd --binary-architecture i386 cloudabi32_vdso.o ${.TARGET}" \
24	no-implicit-rule						\
25	clean		"cloudabi32_vdso_blob.o"
26#
27cloudabi64_vdso.o		optional	compat_cloudabi64	\
28	dependency	"$S/contrib/cloudabi/cloudabi_vdso_x86_64.S"	\
29	compile-with	"${CC} -x assembler-with-cpp -shared -nostdinc -nostdlib -Wl,-T$S/compat/cloudabi/cloudabi_vdso.lds $S/contrib/cloudabi/cloudabi_vdso_x86_64.S -o ${.TARGET}" \
30	no-obj no-implicit-rule						\
31	clean		"cloudabi64_vdso.o"
32#
33cloudabi64_vdso_blob.o		optional	compat_cloudabi64	\
34	dependency 	"cloudabi64_vdso.o"				\
35	compile-with	"${OBJCOPY} --input-target binary --output-target elf64-x86-64-freebsd --binary-architecture i386 cloudabi64_vdso.o ${.TARGET}" \
36	no-implicit-rule						\
37	clean		"cloudabi64_vdso_blob.o"
38#
39linux32_genassym.o		optional	compat_linux32		\
40	dependency 	"$S/amd64/linux32/linux32_genassym.c offset.inc"		\
41	compile-with	"${CC} ${CFLAGS:N-flto:N-fno-common} -fcommon -c ${.IMPSRC}" \
42	no-obj no-implicit-rule						\
43	clean		"linux32_genassym.o"
44#
45linux32_assym.h			optional	compat_linux32		\
46	dependency 	"$S/kern/genassym.sh linux32_genassym.o"	\
47	compile-with	"sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
48	no-obj no-implicit-rule before-depend				\
49	clean		"linux32_assym.h"
50#
51linux32_locore.o	optional	compat_linux32		\
52	dependency 	"linux32_assym.h $S/amd64/linux32/linux32_locore.asm"	\
53	compile-with	"${CC} -x assembler-with-cpp -DLOCORE -m32 -shared -s -pipe -I. -I$S ${WERROR} -Wall -fPIC -fno-common -nostdinc -nostdlib -Wl,-T$S/amd64/linux32/linux32_vdso.lds.s -Wl,-soname=linux32_vdso.so,--eh-frame-hdr,-warn-common ${.IMPSRC} -o ${.TARGET}" \
54	no-obj no-implicit-rule						\
55	clean		"linux32_locore.o"
56#
57linux32_vdso.so		optional	compat_linux32			\
58	dependency 	"linux32_locore.o"				\
59	compile-with	"${OBJCOPY} --input-target binary --output-target elf64-x86-64-freebsd --binary-architecture i386 linux32_locore.o ${.TARGET}" \
60	no-implicit-rule						\
61	clean		"linux32_vdso.so"
62#
63ia32_genassym.o			standard				\
64	dependency 	"$S/compat/ia32/ia32_genassym.c offset.inc"		\
65	compile-with	"${CC} ${CFLAGS:N-flto:N-fno-common} -fcommon -c ${.IMPSRC}" \
66	no-obj no-implicit-rule						\
67	clean		"ia32_genassym.o"
68#
69ia32_assym.h			standard				\
70	dependency 	"$S/kern/genassym.sh ia32_genassym.o"		\
71	compile-with	"env NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \
72	no-obj no-implicit-rule before-depend				\
73	clean		"ia32_assym.h"
74#
75amd64/acpica/acpi_machdep.c	optional	acpi
76acpi_wakecode.o			optional	acpi			\
77	dependency	"$S/amd64/acpica/acpi_wakecode.S assym.inc"	\
78	compile-with	"${NORMAL_S}"					\
79	no-obj no-implicit-rule before-depend				\
80	clean		"acpi_wakecode.o"
81acpi_wakecode.bin		optional	acpi			\
82	dependency	"acpi_wakecode.o"				\
83	compile-with	"${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \
84	no-obj no-implicit-rule	before-depend				\
85	clean		"acpi_wakecode.bin"
86acpi_wakecode.h			optional	acpi			\
87	dependency	"acpi_wakecode.bin"				\
88	compile-with	"file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \
89	no-obj no-implicit-rule	before-depend				\
90	clean		"acpi_wakecode.h"
91acpi_wakedata.h			optional	acpi			\
92	dependency	"acpi_wakecode.o"				\
93	compile-with	'${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define	$${what}	0x$${offset}"; done > ${.TARGET}' \
94	no-obj no-implicit-rule	before-depend				\
95	clean		"acpi_wakedata.h"
96#
97#amd64/amd64/apic_vector.S	standard
98amd64/amd64/bios.c		standard
99amd64/amd64/bpf_jit_machdep.c	optional	bpf_jitter
100amd64/amd64/copyout.c		standard
101amd64/amd64/cpu_switch.S	standard
102amd64/amd64/db_disasm.c		optional	ddb
103amd64/amd64/db_interface.c	optional	ddb
104amd64/amd64/db_trace.c		optional	ddb
105amd64/amd64/efirt_machdep.c	optional	efirt
106amd64/amd64/efirt_support.S	optional	efirt
107amd64/amd64/elf_machdep.c	standard
108amd64/amd64/exception.S		standard
109amd64/amd64/fpu.c		standard
110amd64/amd64/gdb_machdep.c	optional	gdb
111amd64/amd64/in_cksum.c		optional	inet | inet6
112amd64/amd64/initcpu.c		standard
113amd64/amd64/io.c		optional	io
114amd64/amd64/locore.S		standard	no-obj
115amd64/amd64/xen-locore.S	optional	xenhvm \
116	compile-with "${NORMAL_S} -g0" \
117	no-ctfconvert
118amd64/amd64/machdep.c		standard
119amd64/amd64/mem.c		optional	mem
120amd64/amd64/minidump_machdep.c	standard
121amd64/amd64/mp_machdep.c	optional	smp
122amd64/amd64/mpboot.S		optional	smp
123amd64/amd64/pmap.c		standard
124amd64/amd64/prof_machdep.c	optional	profiling-routine
125amd64/amd64/ptrace_machdep.c	standard
126amd64/amd64/sigtramp.S		standard
127amd64/amd64/support.S		standard
128amd64/amd64/sys_machdep.c	standard
129amd64/amd64/trap.c		standard
130amd64/amd64/uio_machdep.c	standard
131amd64/amd64/uma_machdep.c	standard
132amd64/amd64/vm_machdep.c	standard
133amd64/cloudabi32/cloudabi32_sysvec.c		optional compat_cloudabi32
134amd64/cloudabi64/cloudabi64_sysvec.c		optional compat_cloudabi64
135amd64/pci/pci_cfgreg.c		optional	pci
136cddl/dev/dtrace/amd64/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
137cddl/dev/dtrace/amd64/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
138crypto/aesni/aeskeys_amd64.S	optional aesni
139crypto/des/des_enc.c		optional	netsmb
140dev/acpi_support/acpi_wmi_if.m	standard
141dev/agp/agp_amd64.c		optional	agp
142dev/agp/agp_i810.c		optional	agp
143dev/agp/agp_via.c		optional	agp
144dev/amdgpio/amdgpio.c		optional	amdgpio
145dev/hyperv/vmbus/amd64/hyperv_machdep.c			optional	hyperv
146dev/hyperv/vmbus/amd64/vmbus_vector.S			optional	hyperv
147dev/ice/if_ice_iflib.c		optional	ice pci \
148	compile-with "${NORMAL_C} -I$S/dev/ice"
149dev/ice/ice_lib.c		optional	ice pci \
150	compile-with "${NORMAL_C} -I$S/dev/ice"
151dev/ice/ice_osdep.c		optional	ice pci \
152	compile-with "${NORMAL_C} -I$S/dev/ice"
153dev/ice/ice_resmgr.c		optional	ice pci \
154	compile-with "${NORMAL_C} -I$S/dev/ice"
155dev/ice/ice_strings.c		optional	ice pci \
156	compile-with "${NORMAL_C} -I$S/dev/ice"
157dev/ice/ice_iflib_recovery_txrx.c	optional	ice pci \
158	compile-with "${NORMAL_C} -I$S/dev/ice"
159dev/ice/ice_iflib_txrx.c	optional	ice pci \
160	compile-with "${NORMAL_C} -I$S/dev/ice"
161dev/ice/ice_common.c		optional	ice pci \
162	compile-with "${NORMAL_C} -I$S/dev/ice"
163dev/ice/ice_controlq.c		optional	ice pci \
164	compile-with "${NORMAL_C} -I$S/dev/ice"
165dev/ice/ice_dcb.c		optional	ice pci \
166	compile-with "${NORMAL_C} -I$S/dev/ice"
167dev/ice/ice_flex_pipe.c		optional	ice pci \
168	compile-with "${NORMAL_C} -I$S/dev/ice"
169dev/ice/ice_flow.c		optional	ice pci \
170	compile-with "${NORMAL_C} -I$S/dev/ice"
171dev/ice/ice_nvm.c		optional	ice pci \
172	compile-with "${NORMAL_C} -I$S/dev/ice"
173dev/ice/ice_sched.c		optional	ice pci \
174	compile-with "${NORMAL_C} -I$S/dev/ice"
175dev/ice/ice_sriov.c		optional	ice pci \
176	compile-with "${NORMAL_C} -I$S/dev/ice"
177dev/ice/ice_switch.c		optional	ice pci \
178	compile-with "${NORMAL_C} -I$S/dev/ice"
179ice_ddp.c			optional ice_ddp	\
180	compile-with	"${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031000 -mice_ddp -c${.TARGET}"	\
181	no-implicit-rule before-depend local		\
182	clean		"ice_ddp.c"
183ice_ddp.fwo			optional ice_ddp	\
184	dependency	"ice_ddp.fw"			\
185	compile-with	"${NORMAL_FWO}"			\
186	no-implicit-rule				\
187	clean		"ice_ddp.fwo"
188ice_ddp.fw			optional ice_ddp	\
189	dependency	"$S/contrib/dev/ice/ice-1.3.16.0.pkg" \
190	compile-with	"${CP} $S/contrib/dev/ice/ice-1.3.16.0.pkg ice_ddp.fw" \
191	no-obj no-implicit-rule				\
192	clean		"ice_ddp.fw"
193dev/ioat/ioat.c			optional	ioat pci
194dev/ioat/ioat_test.c		optional	ioat pci
195dev/ixl/if_ixl.c		optional	ixl pci \
196	compile-with "${NORMAL_C} -I$S/dev/ixl"
197dev/ixl/ixl_pf_main.c		optional	ixl pci \
198	compile-with "${NORMAL_C} -I$S/dev/ixl"
199dev/ixl/ixl_pf_iflib.c		optional	ixl pci \
200	compile-with "${NORMAL_C} -I$S/dev/ixl"
201dev/ixl/ixl_pf_qmgr.c		optional	ixl pci \
202	compile-with "${NORMAL_C} -I$S/dev/ixl"
203dev/ixl/ixl_pf_iov.c		optional	ixl pci  pci_iov \
204	compile-with "${NORMAL_C} -I$S/dev/ixl"
205dev/ixl/ixl_pf_i2c.c		optional	ixl pci \
206	compile-with "${NORMAL_C} -I$S/dev/ixl"
207dev/ixl/if_iavf.c		optional	iavf pci \
208	compile-with "${NORMAL_C} -I$S/dev/ixl"
209dev/ixl/iavf_vc.c			optional	iavf pci \
210	compile-with "${NORMAL_C} -I$S/dev/ixl"
211dev/ixl/ixl_txrx.c		optional	ixl pci | iavf pci \
212	compile-with "${NORMAL_C} -I$S/dev/ixl"
213dev/ixl/i40e_osdep.c		optional	ixl pci | iavf pci \
214	compile-with "${NORMAL_C} -I$S/dev/ixl"
215dev/ixl/i40e_lan_hmc.c		optional	ixl pci | iavf pci \
216	compile-with "${NORMAL_C} -I$S/dev/ixl"
217dev/ixl/i40e_hmc.c		optional	ixl pci | iavf pci \
218	compile-with "${NORMAL_C} -I$S/dev/ixl"
219dev/ixl/i40e_common.c		optional	ixl pci | iavf pci \
220	compile-with "${NORMAL_C} -I$S/dev/ixl"
221dev/ixl/i40e_nvm.c		optional	ixl pci | iavf pci \
222	compile-with "${NORMAL_C} -I$S/dev/ixl"
223dev/ixl/i40e_adminq.c		optional	ixl pci | iavf pci \
224	compile-with "${NORMAL_C} -I$S/dev/ixl"
225dev/ixl/i40e_dcb.c		optional	ixl pci \
226	compile-with "${NORMAL_C} -I$S/dev/ixl"
227dev/nctgpio/nctgpio.c		optional	nctgpio
228dev/nfe/if_nfe.c		optional	nfe pci
229dev/ntb/if_ntb/if_ntb.c		optional	if_ntb
230dev/ntb/ntb_transport.c		optional	ntb_transport | if_ntb
231dev/ntb/ntb.c			optional	ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw
232dev/ntb/ntb_if.m		optional	ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw
233dev/ntb/ntb_hw/ntb_hw_amd.c	optional	ntb_hw_amd | ntb_hw
234dev/ntb/ntb_hw/ntb_hw_intel.c	optional	ntb_hw_intel | ntb_hw
235dev/ntb/ntb_hw/ntb_hw_plx.c	optional	ntb_hw_plx | ntb_hw
236dev/ntb/test/ntb_tool.c		optional	ntb_tool
237dev/nvram/nvram.c		optional	nvram isa
238dev/random/ivy.c		optional	rdrand_rng !random_loadable
239dev/random/nehemiah.c		optional	padlock_rng !random_loadable
240dev/qlxge/qls_dbg.c		optional	qlxge pci
241dev/qlxge/qls_dump.c		optional	qlxge pci
242dev/qlxge/qls_hw.c		optional	qlxge pci
243dev/qlxge/qls_ioctl.c		optional	qlxge pci
244dev/qlxge/qls_isr.c		optional	qlxge pci
245dev/qlxge/qls_os.c		optional	qlxge pci
246dev/qlxgb/qla_dbg.c		optional	qlxgb pci
247dev/qlxgb/qla_hw.c		optional	qlxgb pci
248dev/qlxgb/qla_ioctl.c		optional	qlxgb pci
249dev/qlxgb/qla_isr.c		optional	qlxgb pci
250dev/qlxgb/qla_misc.c		optional	qlxgb pci
251dev/qlxgb/qla_os.c		optional	qlxgb pci
252dev/qlxgbe/ql_dbg.c		optional	qlxgbe pci
253dev/qlxgbe/ql_hw.c		optional	qlxgbe pci
254dev/qlxgbe/ql_ioctl.c		optional	qlxgbe pci
255dev/qlxgbe/ql_isr.c		optional	qlxgbe pci
256dev/qlxgbe/ql_misc.c		optional	qlxgbe pci
257dev/qlxgbe/ql_os.c		optional	qlxgbe pci
258dev/qlxgbe/ql_reset.c		optional	qlxgbe pci
259dev/qlxgbe/ql_fw.c		optional	qlxgbe pci
260dev/qlxgbe/ql_boot.c		optional	qlxgbe pci
261dev/qlxgbe/ql_minidump.c	optional	qlxgbe pci
262dev/qlnx/qlnxe/ecore_cxt.c	optional	qlnxe pci \
263	compile-with "${LINUXKPI_C}"
264dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c optional	qlnxe pci \
265	compile-with "${LINUXKPI_C}"
266dev/qlnx/qlnxe/ecore_dcbx.c	optional	qlnxe pci \
267	compile-with "${LINUXKPI_C}"
268dev/qlnx/qlnxe/ecore_dev.c	optional	qlnxe pci \
269	compile-with "${LINUXKPI_C}"
270dev/qlnx/qlnxe/ecore_hw.c	optional	qlnxe pci \
271	compile-with "${LINUXKPI_C}"
272dev/qlnx/qlnxe/ecore_init_fw_funcs.c optional	qlnxe pci \
273	compile-with "${LINUXKPI_C}"
274dev/qlnx/qlnxe/ecore_init_ops.c	optional	qlnxe pci \
275	compile-with "${LINUXKPI_C}"
276dev/qlnx/qlnxe/ecore_int.c	optional	qlnxe pci \
277	compile-with "${LINUXKPI_C}"
278dev/qlnx/qlnxe/ecore_l2.c	optional	qlnxe pci \
279	compile-with "${LINUXKPI_C}"
280dev/qlnx/qlnxe/ecore_mcp.c	optional	qlnxe pci \
281	compile-with "${LINUXKPI_C}"
282dev/qlnx/qlnxe/ecore_sp_commands.c optional	qlnxe pci \
283	compile-with "${LINUXKPI_C}"
284dev/qlnx/qlnxe/ecore_spq.c	optional	qlnxe pci \
285	compile-with "${LINUXKPI_C}"
286dev/qlnx/qlnxe/qlnx_ioctl.c	optional	qlnxe pci \
287	compile-with "${LINUXKPI_C}"
288dev/qlnx/qlnxe/qlnx_os.c	optional	qlnxe pci \
289	compile-with "${LINUXKPI_C}"
290dev/sfxge/common/ef10_ev.c	optional	sfxge pci
291dev/sfxge/common/ef10_filter.c	optional	sfxge pci
292dev/sfxge/common/ef10_image.c	optional	sfxge pci
293dev/sfxge/common/ef10_intr.c	optional	sfxge pci
294dev/sfxge/common/ef10_mac.c	optional	sfxge pci
295dev/sfxge/common/ef10_mcdi.c	optional	sfxge pci
296dev/sfxge/common/ef10_nic.c	optional	sfxge pci
297dev/sfxge/common/ef10_nvram.c	optional	sfxge pci
298dev/sfxge/common/ef10_phy.c	optional	sfxge pci
299dev/sfxge/common/ef10_rx.c	optional	sfxge pci
300dev/sfxge/common/ef10_tx.c	optional	sfxge pci
301dev/sfxge/common/ef10_vpd.c	optional	sfxge pci
302dev/sfxge/common/efx_bootcfg.c	optional	sfxge pci
303dev/sfxge/common/efx_crc32.c	optional	sfxge pci
304dev/sfxge/common/efx_ev.c	optional	sfxge pci
305dev/sfxge/common/efx_filter.c	optional	sfxge pci
306dev/sfxge/common/efx_hash.c	optional	sfxge pci
307dev/sfxge/common/efx_intr.c	optional	sfxge pci
308dev/sfxge/common/efx_lic.c	optional	sfxge pci
309dev/sfxge/common/efx_mac.c	optional	sfxge pci
310dev/sfxge/common/efx_mcdi.c	optional	sfxge pci
311dev/sfxge/common/efx_mon.c	optional	sfxge pci
312dev/sfxge/common/efx_nic.c	optional	sfxge pci
313dev/sfxge/common/efx_nvram.c	optional	sfxge pci
314dev/sfxge/common/efx_phy.c	optional	sfxge pci
315dev/sfxge/common/efx_port.c	optional	sfxge pci
316dev/sfxge/common/efx_rx.c	optional	sfxge pci
317dev/sfxge/common/efx_sram.c	optional	sfxge pci
318dev/sfxge/common/efx_tunnel.c	optional	sfxge pci
319dev/sfxge/common/efx_tx.c	optional	sfxge pci
320dev/sfxge/common/efx_vpd.c	optional	sfxge pci
321dev/sfxge/common/hunt_nic.c	optional	sfxge pci
322dev/sfxge/common/mcdi_mon.c	optional	sfxge pci
323dev/sfxge/common/medford_nic.c	optional	sfxge pci
324dev/sfxge/common/medford2_nic.c	optional	sfxge pci
325dev/sfxge/common/siena_mac.c	optional	sfxge pci
326dev/sfxge/common/siena_mcdi.c	optional	sfxge pci
327dev/sfxge/common/siena_nic.c	optional	sfxge pci
328dev/sfxge/common/siena_nvram.c	optional	sfxge pci
329dev/sfxge/common/siena_phy.c	optional	sfxge pci
330dev/sfxge/common/siena_sram.c	optional	sfxge pci
331dev/sfxge/common/siena_vpd.c	optional	sfxge pci
332dev/sfxge/sfxge.c		optional	sfxge pci
333dev/sfxge/sfxge_dma.c		optional	sfxge pci
334dev/sfxge/sfxge_ev.c		optional	sfxge pci
335dev/sfxge/sfxge_intr.c		optional	sfxge pci
336dev/sfxge/sfxge_mcdi.c		optional	sfxge pci
337dev/sfxge/sfxge_nvram.c		optional	sfxge pci
338dev/sfxge/sfxge_port.c		optional	sfxge pci
339dev/sfxge/sfxge_rx.c		optional	sfxge pci
340dev/sfxge/sfxge_tx.c		optional	sfxge pci
341dev/smartpqi/smartpqi_cam.c     optional 	smartpqi
342dev/smartpqi/smartpqi_cmd.c     optional 	smartpqi
343dev/smartpqi/smartpqi_discovery.c	optional	smartpqi
344dev/smartpqi/smartpqi_event.c   optional 	smartpqi
345dev/smartpqi/smartpqi_helper.c  optional 	smartpqi
346dev/smartpqi/smartpqi_init.c    optional 	smartpqi
347dev/smartpqi/smartpqi_intr.c    optional 	smartpqi
348dev/smartpqi/smartpqi_ioctl.c   optional 	smartpqi
349dev/smartpqi/smartpqi_main.c    optional 	smartpqi
350dev/smartpqi/smartpqi_mem.c     optional 	smartpqi
351dev/smartpqi/smartpqi_misc.c    optional 	smartpqi
352dev/smartpqi/smartpqi_queue.c   optional 	smartpqi
353dev/smartpqi/smartpqi_request.c optional 	smartpqi
354dev/smartpqi/smartpqi_response.c	optional 	smartpqi
355dev/smartpqi/smartpqi_sis.c     optional 	smartpqi
356dev/smartpqi/smartpqi_tag.c     optional 	smartpqi
357dev/speaker/spkr.c		optional	speaker
358dev/sume/if_sume.c		optional	sume
359dev/superio/superio.c		optional	superio isa
360dev/syscons/apm/apm_saver.c	optional	apm_saver apm
361dev/syscons/scvesactl.c		optional	sc vga vesa
362dev/syscons/scvgarndr.c		optional	sc vga
363dev/tpm/tpm.c			optional	tpm
364dev/tpm/tpm20.c		optional	tpm
365dev/tpm/tpm_crb.c		optional	tpm acpi
366dev/tpm/tpm_tis.c		optional	tpm acpi
367dev/tpm/tpm_acpi.c		optional	tpm acpi
368dev/tpm/tpm_isa.c		optional	tpm isa
369dev/uart/uart_cpu_x86.c		optional	uart
370dev/viawd/viawd.c		optional	viawd
371dev/vmware/vmxnet3/if_vmx.c	optional	vmx
372dev/vmware/vmci/vmci.c			optional	vmci
373dev/vmware/vmci/vmci_datagram.c		optional	vmci
374dev/vmware/vmci/vmci_doorbell.c		optional	vmci
375dev/vmware/vmci/vmci_driver.c		optional	vmci
376dev/vmware/vmci/vmci_event.c		optional	vmci
377dev/vmware/vmci/vmci_hashtable.c	optional	vmci
378dev/vmware/vmci/vmci_kernel_if.c	optional	vmci
379dev/vmware/vmci/vmci_qpair.c		optional	vmci
380dev/vmware/vmci/vmci_queue_pair.c	optional	vmci
381dev/vmware/vmci/vmci_resource.c		optional	vmci
382dev/vmware/pvscsi/pvscsi.c		optional	pvscsi
383dev/vmd/vmd.c			optional	vmd
384dev/vmd/vmd_bus.c		optional	vmd_bus
385dev/wbwd/wbwd.c			optional	wbwd
386dev/xen/pci/xen_acpi_pci.c	optional	xenhvm
387dev/xen/pci/xen_pci.c		optional	xenhvm
388isa/syscons_isa.c		optional	sc
389isa/vga_isa.c			optional	vga
390kern/kern_clocksource.c		standard
391kern/imgact_aout.c		optional compat_aout
392kern/link_elf_obj.c		standard
393#
394# IA32 binary support
395#
396#amd64/ia32/ia32_exception.S	optional	compat_freebsd32
397amd64/ia32/ia32_reg.c		optional	compat_freebsd32
398amd64/ia32/ia32_signal.c	optional	compat_freebsd32
399amd64/ia32/ia32_sigtramp.S	optional	compat_freebsd32
400amd64/ia32/ia32_syscall.c	optional	compat_freebsd32
401amd64/ia32/ia32_misc.c		optional	compat_freebsd32
402compat/ia32/ia32_sysvec.c	optional	compat_freebsd32
403compat/linprocfs/linprocfs.c	optional	linprocfs
404compat/linsysfs/linsysfs.c	optional	linsysfs
405#
406# Linux/i386 binary support
407#
408amd64/linux32/linux32_dummy.c	optional	compat_linux32
409amd64/linux32/linux32_machdep.c	optional	compat_linux32
410amd64/linux32/linux32_support.s	optional	compat_linux32		\
411	dependency 	"linux32_assym.h"
412amd64/linux32/linux32_sysent.c	optional	compat_linux32
413amd64/linux32/linux32_sysvec.c	optional	compat_linux32
414compat/linux/linux_emul.c	optional	compat_linux32
415compat/linux/linux_errno.c	optional	compat_linux32
416compat/linux/linux_file.c	optional	compat_linux32
417compat/linux/linux_fork.c	optional	compat_linux32
418compat/linux/linux_futex.c	optional	compat_linux32
419compat/linux/linux_getcwd.c	optional	compat_linux32
420compat/linux/linux_ioctl.c	optional	compat_linux32
421compat/linux/linux_ipc.c	optional	compat_linux32
422compat/linux/linux_mib.c	optional	compat_linux32
423compat/linux/linux_misc.c	optional	compat_linux32
424compat/linux/linux_mmap.c	optional	compat_linux32
425compat/linux/linux_signal.c	optional	compat_linux32
426compat/linux/linux_socket.c	optional	compat_linux32
427compat/linux/linux_stats.c	optional	compat_linux32
428compat/linux/linux_sysctl.c	optional	compat_linux32
429compat/linux/linux_time.c	optional	compat_linux32
430compat/linux/linux_timer.c	optional	compat_linux32
431compat/linux/linux_uid16.c	optional	compat_linux32
432compat/linux/linux_util.c	optional	compat_linux32
433compat/linux/linux_vdso.c	optional	compat_linux32
434compat/linux/linux_common.c	optional	compat_linux32
435compat/linux/linux_event.c	optional	compat_linux32
436compat/linux/linux.c		optional	compat_linux32
437dev/amr/amr_linux.c		optional	compat_linux32 amr
438dev/mfi/mfi_linux.c		optional	compat_linux32 mfi
439compat/ndis/winx64_wrap.S	optional	ndisapi pci
440#
441# x86 real mode BIOS emulator, required by dpms/pci/vesa
442#
443compat/x86bios/x86bios.c	optional x86bios | dpms | pci | vesa
444contrib/x86emu/x86emu.c		optional x86bios | dpms | pci | vesa
445#
446# bvm console
447#
448dev/bvm/bvm_console.c		optional	bvmconsole
449dev/bvm/bvm_dbg.c		optional	bvmdebug
450# Common files where we currently configure the system differently, but perhaps shouldn't
451# config(8) doesn't have a way to force standard options, so we've been inconsistent
452# about marking non-optional things 'standard'.
453x86/acpica/madt.c		optional	acpi
454x86/isa/atpic.c			optional	atpic isa
455x86/isa/elcr.c			optional	atpic isa | mptable
456x86/isa/isa.c			standard
457x86/isa/isa_dma.c		standard
458x86/pci/pci_early_quirks.c	optional	pci
459x86/x86/io_apic.c		standard
460x86/x86/local_apic.c		standard
461x86/x86/mptable.c		optional	mptable
462x86/x86/mptable_pci.c		optional	mptable pci
463x86/x86/msi.c			optional	pci
464x86/xen/pv.c			optional	xenhvm
465x86/xen/pvcpu_enum.c		optional	xenhvm
466x86/xen/xen_pci_bus.c		optional	xenhvm
467
468contrib/openzfs/module/zcommon/zfs_fletcher_avx512.c		optional zfs compile-with "${ZFS_C}"
469contrib/openzfs/module/zcommon/zfs_fletcher_intel.c		optional zfs compile-with "${ZFS_C}"
470contrib/openzfs/module/zcommon/zfs_fletcher_sse.c		optional zfs compile-with "${ZFS_C}"
471
472contrib/openzfs/module/zfs/vdev_raidz_math_avx2.c		optional zfs compile-with "${ZFS_C}"
473contrib/openzfs/module/zfs/vdev_raidz_math_avx512bw.c		optional zfs compile-with "${ZFS_C}"
474contrib/openzfs/module/zfs/vdev_raidz_math_avx512f.c		optional zfs compile-with "${ZFS_C}"
475contrib/openzfs/module/zfs/vdev_raidz_math_sse2.c		optional zfs compile-with "${ZFS_C}"
476contrib/openzfs/module/zfs/vdev_raidz_math_ssse3.c		optional zfs compile-with "${ZFS_C}"
477