xref: /freebsd/sys/conf/files.amd64 (revision 3cbb4cc200f8a0ad7ed08233425ea54524a21f1c)
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
140crypto/openssl/amd64/sha1-x86_64.S	optional ossl
141crypto/openssl/amd64/sha256-x86_64.S	optional ossl
142crypto/openssl/amd64/sha512-x86_64.S	optional ossl
143dev/acpi_support/acpi_wmi_if.m	standard
144dev/agp/agp_amd64.c		optional	agp
145dev/agp/agp_i810.c		optional	agp
146dev/agp/agp_via.c		optional	agp
147dev/amdgpio/amdgpio.c		optional	amdgpio
148dev/axgbe/if_axgbe_pci.c	optional	axp
149dev/axgbe/xgbe-desc.c		optional	axp
150dev/axgbe/xgbe-dev.c		optional	axp
151dev/axgbe/xgbe-drv.c		optional	axp
152dev/axgbe/xgbe-mdio.c		optional	axp
153dev/axgbe/xgbe-sysctl.c		optional	axp
154dev/axgbe/xgbe-txrx.c		optional	axp
155dev/axgbe/xgbe_osdep.c		optional	axp
156dev/axgbe/xgbe-i2c.c		optional	axp
157dev/axgbe/xgbe-phy-v2.c		optional	axp
158dev/hyperv/vmbus/amd64/hyperv_machdep.c			optional	hyperv
159dev/hyperv/vmbus/amd64/vmbus_vector.S			optional	hyperv
160dev/ice/if_ice_iflib.c		optional	ice pci \
161	compile-with "${NORMAL_C} -I$S/dev/ice"
162dev/ice/ice_lib.c		optional	ice pci \
163	compile-with "${NORMAL_C} -I$S/dev/ice"
164dev/ice/ice_osdep.c		optional	ice pci \
165	compile-with "${NORMAL_C} -I$S/dev/ice"
166dev/ice/ice_resmgr.c		optional	ice pci \
167	compile-with "${NORMAL_C} -I$S/dev/ice"
168dev/ice/ice_strings.c		optional	ice pci \
169	compile-with "${NORMAL_C} -I$S/dev/ice"
170dev/ice/ice_iflib_recovery_txrx.c	optional	ice pci \
171	compile-with "${NORMAL_C} -I$S/dev/ice"
172dev/ice/ice_iflib_txrx.c	optional	ice pci \
173	compile-with "${NORMAL_C} -I$S/dev/ice"
174dev/ice/ice_common.c		optional	ice pci \
175	compile-with "${NORMAL_C} -I$S/dev/ice"
176dev/ice/ice_controlq.c		optional	ice pci \
177	compile-with "${NORMAL_C} -I$S/dev/ice"
178dev/ice/ice_dcb.c		optional	ice pci \
179	compile-with "${NORMAL_C} -I$S/dev/ice"
180dev/ice/ice_flex_pipe.c		optional	ice pci \
181	compile-with "${NORMAL_C} -I$S/dev/ice"
182dev/ice/ice_flow.c		optional	ice pci \
183	compile-with "${NORMAL_C} -I$S/dev/ice"
184dev/ice/ice_nvm.c		optional	ice pci \
185	compile-with "${NORMAL_C} -I$S/dev/ice"
186dev/ice/ice_sched.c		optional	ice pci \
187	compile-with "${NORMAL_C} -I$S/dev/ice"
188dev/ice/ice_sriov.c		optional	ice pci \
189	compile-with "${NORMAL_C} -I$S/dev/ice"
190dev/ice/ice_switch.c		optional	ice pci \
191	compile-with "${NORMAL_C} -I$S/dev/ice"
192ice_ddp.c			optional ice_ddp	\
193	compile-with	"${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031000 -mice_ddp -c${.TARGET}"	\
194	no-implicit-rule before-depend local		\
195	clean		"ice_ddp.c"
196ice_ddp.fwo			optional ice_ddp	\
197	dependency	"ice_ddp.fw"			\
198	compile-with	"${NORMAL_FWO}"			\
199	no-implicit-rule				\
200	clean		"ice_ddp.fwo"
201ice_ddp.fw			optional ice_ddp	\
202	dependency	"$S/contrib/dev/ice/ice-1.3.16.0.pkg" \
203	compile-with	"${CP} $S/contrib/dev/ice/ice-1.3.16.0.pkg ice_ddp.fw" \
204	no-obj no-implicit-rule				\
205	clean		"ice_ddp.fw"
206dev/ioat/ioat.c			optional	ioat pci
207dev/ioat/ioat_test.c		optional	ioat pci
208dev/ixl/if_ixl.c		optional	ixl pci \
209	compile-with "${NORMAL_C} -I$S/dev/ixl"
210dev/ixl/ixl_pf_main.c		optional	ixl pci \
211	compile-with "${NORMAL_C} -I$S/dev/ixl"
212dev/ixl/ixl_pf_iflib.c		optional	ixl pci \
213	compile-with "${NORMAL_C} -I$S/dev/ixl"
214dev/ixl/ixl_pf_qmgr.c		optional	ixl pci \
215	compile-with "${NORMAL_C} -I$S/dev/ixl"
216dev/ixl/ixl_pf_iov.c		optional	ixl pci  pci_iov \
217	compile-with "${NORMAL_C} -I$S/dev/ixl"
218dev/ixl/ixl_pf_i2c.c		optional	ixl pci \
219	compile-with "${NORMAL_C} -I$S/dev/ixl"
220dev/ixl/if_iavf.c		optional	iavf pci \
221	compile-with "${NORMAL_C} -I$S/dev/ixl"
222dev/ixl/iavf_vc.c			optional	iavf pci \
223	compile-with "${NORMAL_C} -I$S/dev/ixl"
224dev/ixl/ixl_txrx.c		optional	ixl pci | iavf pci \
225	compile-with "${NORMAL_C} -I$S/dev/ixl"
226dev/ixl/i40e_osdep.c		optional	ixl pci | iavf pci \
227	compile-with "${NORMAL_C} -I$S/dev/ixl"
228dev/ixl/i40e_lan_hmc.c		optional	ixl pci | iavf pci \
229	compile-with "${NORMAL_C} -I$S/dev/ixl"
230dev/ixl/i40e_hmc.c		optional	ixl pci | iavf pci \
231	compile-with "${NORMAL_C} -I$S/dev/ixl"
232dev/ixl/i40e_common.c		optional	ixl pci | iavf pci \
233	compile-with "${NORMAL_C} -I$S/dev/ixl"
234dev/ixl/i40e_nvm.c		optional	ixl pci | iavf pci \
235	compile-with "${NORMAL_C} -I$S/dev/ixl"
236dev/ixl/i40e_adminq.c		optional	ixl pci | iavf pci \
237	compile-with "${NORMAL_C} -I$S/dev/ixl"
238dev/ixl/i40e_dcb.c		optional	ixl pci \
239	compile-with "${NORMAL_C} -I$S/dev/ixl"
240dev/nctgpio/nctgpio.c		optional	nctgpio
241dev/nfe/if_nfe.c		optional	nfe pci
242dev/ntb/if_ntb/if_ntb.c		optional	if_ntb
243dev/ntb/ntb_transport.c		optional	ntb_transport | if_ntb
244dev/ntb/ntb.c			optional	ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw
245dev/ntb/ntb_if.m		optional	ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw
246dev/ntb/ntb_hw/ntb_hw_amd.c	optional	ntb_hw_amd | ntb_hw
247dev/ntb/ntb_hw/ntb_hw_intel.c	optional	ntb_hw_intel | ntb_hw
248dev/ntb/ntb_hw/ntb_hw_plx.c	optional	ntb_hw_plx | ntb_hw
249dev/ntb/test/ntb_tool.c		optional	ntb_tool
250dev/nvram/nvram.c		optional	nvram isa
251dev/random/ivy.c		optional	rdrand_rng !random_loadable
252dev/random/nehemiah.c		optional	padlock_rng !random_loadable
253dev/qlxge/qls_dbg.c		optional	qlxge pci
254dev/qlxge/qls_dump.c		optional	qlxge pci
255dev/qlxge/qls_hw.c		optional	qlxge pci
256dev/qlxge/qls_ioctl.c		optional	qlxge pci
257dev/qlxge/qls_isr.c		optional	qlxge pci
258dev/qlxge/qls_os.c		optional	qlxge pci
259dev/qlxgb/qla_dbg.c		optional	qlxgb pci
260dev/qlxgb/qla_hw.c		optional	qlxgb pci
261dev/qlxgb/qla_ioctl.c		optional	qlxgb pci
262dev/qlxgb/qla_isr.c		optional	qlxgb pci
263dev/qlxgb/qla_misc.c		optional	qlxgb pci
264dev/qlxgb/qla_os.c		optional	qlxgb pci
265dev/qlxgbe/ql_dbg.c		optional	qlxgbe pci
266dev/qlxgbe/ql_hw.c		optional	qlxgbe pci
267dev/qlxgbe/ql_ioctl.c		optional	qlxgbe pci
268dev/qlxgbe/ql_isr.c		optional	qlxgbe pci
269dev/qlxgbe/ql_misc.c		optional	qlxgbe pci
270dev/qlxgbe/ql_os.c		optional	qlxgbe pci
271dev/qlxgbe/ql_reset.c		optional	qlxgbe pci
272dev/qlxgbe/ql_fw.c		optional	qlxgbe pci
273dev/qlxgbe/ql_boot.c		optional	qlxgbe pci
274dev/qlxgbe/ql_minidump.c	optional	qlxgbe pci
275dev/qlnx/qlnxe/ecore_cxt.c	optional	qlnxe pci \
276	compile-with "${LINUXKPI_C}"
277dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c optional	qlnxe pci \
278	compile-with "${LINUXKPI_C}"
279dev/qlnx/qlnxe/ecore_dcbx.c	optional	qlnxe pci \
280	compile-with "${LINUXKPI_C}"
281dev/qlnx/qlnxe/ecore_dev.c	optional	qlnxe pci \
282	compile-with "${LINUXKPI_C}"
283dev/qlnx/qlnxe/ecore_hw.c	optional	qlnxe pci \
284	compile-with "${LINUXKPI_C}"
285dev/qlnx/qlnxe/ecore_init_fw_funcs.c optional	qlnxe pci \
286	compile-with "${LINUXKPI_C}"
287dev/qlnx/qlnxe/ecore_init_ops.c	optional	qlnxe pci \
288	compile-with "${LINUXKPI_C}"
289dev/qlnx/qlnxe/ecore_int.c	optional	qlnxe pci \
290	compile-with "${LINUXKPI_C}"
291dev/qlnx/qlnxe/ecore_l2.c	optional	qlnxe pci \
292	compile-with "${LINUXKPI_C}"
293dev/qlnx/qlnxe/ecore_mcp.c	optional	qlnxe pci \
294	compile-with "${LINUXKPI_C}"
295dev/qlnx/qlnxe/ecore_sp_commands.c optional	qlnxe pci \
296	compile-with "${LINUXKPI_C}"
297dev/qlnx/qlnxe/ecore_spq.c	optional	qlnxe pci \
298	compile-with "${LINUXKPI_C}"
299dev/qlnx/qlnxe/qlnx_ioctl.c	optional	qlnxe pci \
300	compile-with "${LINUXKPI_C}"
301dev/qlnx/qlnxe/qlnx_os.c	optional	qlnxe pci \
302	compile-with "${LINUXKPI_C}"
303dev/sfxge/common/ef10_ev.c	optional	sfxge pci
304dev/sfxge/common/ef10_filter.c	optional	sfxge pci
305dev/sfxge/common/ef10_image.c	optional	sfxge pci
306dev/sfxge/common/ef10_intr.c	optional	sfxge pci
307dev/sfxge/common/ef10_mac.c	optional	sfxge pci
308dev/sfxge/common/ef10_mcdi.c	optional	sfxge pci
309dev/sfxge/common/ef10_nic.c	optional	sfxge pci
310dev/sfxge/common/ef10_nvram.c	optional	sfxge pci
311dev/sfxge/common/ef10_phy.c	optional	sfxge pci
312dev/sfxge/common/ef10_rx.c	optional	sfxge pci
313dev/sfxge/common/ef10_tx.c	optional	sfxge pci
314dev/sfxge/common/ef10_vpd.c	optional	sfxge pci
315dev/sfxge/common/efx_bootcfg.c	optional	sfxge pci
316dev/sfxge/common/efx_crc32.c	optional	sfxge pci
317dev/sfxge/common/efx_ev.c	optional	sfxge pci
318dev/sfxge/common/efx_filter.c	optional	sfxge pci
319dev/sfxge/common/efx_hash.c	optional	sfxge pci
320dev/sfxge/common/efx_intr.c	optional	sfxge pci
321dev/sfxge/common/efx_lic.c	optional	sfxge pci
322dev/sfxge/common/efx_mac.c	optional	sfxge pci
323dev/sfxge/common/efx_mcdi.c	optional	sfxge pci
324dev/sfxge/common/efx_mon.c	optional	sfxge pci
325dev/sfxge/common/efx_nic.c	optional	sfxge pci
326dev/sfxge/common/efx_nvram.c	optional	sfxge pci
327dev/sfxge/common/efx_phy.c	optional	sfxge pci
328dev/sfxge/common/efx_port.c	optional	sfxge pci
329dev/sfxge/common/efx_rx.c	optional	sfxge pci
330dev/sfxge/common/efx_sram.c	optional	sfxge pci
331dev/sfxge/common/efx_tunnel.c	optional	sfxge pci
332dev/sfxge/common/efx_tx.c	optional	sfxge pci
333dev/sfxge/common/efx_vpd.c	optional	sfxge pci
334dev/sfxge/common/hunt_nic.c	optional	sfxge pci
335dev/sfxge/common/mcdi_mon.c	optional	sfxge pci
336dev/sfxge/common/medford_nic.c	optional	sfxge pci
337dev/sfxge/common/medford2_nic.c	optional	sfxge pci
338dev/sfxge/common/siena_mac.c	optional	sfxge pci
339dev/sfxge/common/siena_mcdi.c	optional	sfxge pci
340dev/sfxge/common/siena_nic.c	optional	sfxge pci
341dev/sfxge/common/siena_nvram.c	optional	sfxge pci
342dev/sfxge/common/siena_phy.c	optional	sfxge pci
343dev/sfxge/common/siena_sram.c	optional	sfxge pci
344dev/sfxge/common/siena_vpd.c	optional	sfxge pci
345dev/sfxge/sfxge.c		optional	sfxge pci
346dev/sfxge/sfxge_dma.c		optional	sfxge pci
347dev/sfxge/sfxge_ev.c		optional	sfxge pci
348dev/sfxge/sfxge_intr.c		optional	sfxge pci
349dev/sfxge/sfxge_mcdi.c		optional	sfxge pci
350dev/sfxge/sfxge_nvram.c		optional	sfxge pci
351dev/sfxge/sfxge_port.c		optional	sfxge pci
352dev/sfxge/sfxge_rx.c		optional	sfxge pci
353dev/sfxge/sfxge_tx.c		optional	sfxge pci
354dev/smartpqi/smartpqi_cam.c     optional 	smartpqi
355dev/smartpqi/smartpqi_cmd.c     optional 	smartpqi
356dev/smartpqi/smartpqi_discovery.c	optional	smartpqi
357dev/smartpqi/smartpqi_event.c   optional 	smartpqi
358dev/smartpqi/smartpqi_helper.c  optional 	smartpqi
359dev/smartpqi/smartpqi_init.c    optional 	smartpqi
360dev/smartpqi/smartpqi_intr.c    optional 	smartpqi
361dev/smartpqi/smartpqi_ioctl.c   optional 	smartpqi
362dev/smartpqi/smartpqi_main.c    optional 	smartpqi
363dev/smartpqi/smartpqi_mem.c     optional 	smartpqi
364dev/smartpqi/smartpqi_misc.c    optional 	smartpqi
365dev/smartpqi/smartpqi_queue.c   optional 	smartpqi
366dev/smartpqi/smartpqi_request.c optional 	smartpqi
367dev/smartpqi/smartpqi_response.c	optional 	smartpqi
368dev/smartpqi/smartpqi_sis.c     optional 	smartpqi
369dev/smartpqi/smartpqi_tag.c     optional 	smartpqi
370dev/speaker/spkr.c		optional	speaker
371dev/sume/if_sume.c		optional	sume
372dev/superio/superio.c		optional	superio isa
373dev/syscons/apm/apm_saver.c	optional	apm_saver apm
374dev/syscons/scvesactl.c		optional	sc vga vesa
375dev/syscons/scvgarndr.c		optional	sc vga
376dev/tpm/tpm.c			optional	tpm
377dev/tpm/tpm20.c		optional	tpm
378dev/tpm/tpm_crb.c		optional	tpm acpi
379dev/tpm/tpm_tis.c		optional	tpm acpi
380dev/tpm/tpm_acpi.c		optional	tpm acpi
381dev/tpm/tpm_isa.c		optional	tpm isa
382dev/uart/uart_cpu_x86.c		optional	uart
383dev/viawd/viawd.c		optional	viawd
384dev/vmd/vmd.c			optional	vmd
385dev/vmd/vmd_bus.c		optional	vmd_bus
386dev/wbwd/wbwd.c			optional	wbwd
387dev/xen/pci/xen_acpi_pci.c	optional	xenhvm
388dev/xen/pci/xen_pci.c		optional	xenhvm
389isa/syscons_isa.c		optional	sc
390isa/vga_isa.c			optional	vga
391kern/kern_clocksource.c		standard
392kern/imgact_aout.c		optional compat_aout
393kern/link_elf_obj.c		standard
394#
395# IA32 binary support
396#
397#amd64/ia32/ia32_exception.S	optional	compat_freebsd32
398amd64/ia32/ia32_reg.c		optional	compat_freebsd32
399amd64/ia32/ia32_signal.c	optional	compat_freebsd32
400amd64/ia32/ia32_sigtramp.S	optional	compat_freebsd32
401amd64/ia32/ia32_syscall.c	optional	compat_freebsd32
402amd64/ia32/ia32_misc.c		optional	compat_freebsd32
403compat/ia32/ia32_sysvec.c	optional	compat_freebsd32
404compat/linprocfs/linprocfs.c	optional	linprocfs
405compat/linsysfs/linsysfs.c	optional	linsysfs
406#
407# Linux/i386 binary support
408#
409amd64/linux32/linux32_dummy.c	optional	compat_linux32
410amd64/linux32/linux32_machdep.c	optional	compat_linux32
411amd64/linux32/linux32_support.s	optional	compat_linux32		\
412	dependency 	"linux32_assym.h"
413amd64/linux32/linux32_sysent.c	optional	compat_linux32
414amd64/linux32/linux32_sysvec.c	optional	compat_linux32
415compat/linux/linux_dummy.c	optional	compat_linux32
416compat/linux/linux_emul.c	optional	compat_linux32
417compat/linux/linux_errno.c	optional	compat_linux32
418compat/linux/linux_file.c	optional	compat_linux32
419compat/linux/linux_fork.c	optional	compat_linux32
420compat/linux/linux_futex.c	optional	compat_linux32
421compat/linux/linux_getcwd.c	optional	compat_linux32
422compat/linux/linux_ioctl.c	optional	compat_linux32
423compat/linux/linux_ipc.c	optional	compat_linux32
424compat/linux/linux_mib.c	optional	compat_linux32
425compat/linux/linux_misc.c	optional	compat_linux32
426compat/linux/linux_mmap.c	optional	compat_linux32
427compat/linux/linux_signal.c	optional	compat_linux32
428compat/linux/linux_socket.c	optional	compat_linux32
429compat/linux/linux_stats.c	optional	compat_linux32
430compat/linux/linux_sysctl.c	optional	compat_linux32
431compat/linux/linux_time.c	optional	compat_linux32
432compat/linux/linux_timer.c	optional	compat_linux32
433compat/linux/linux_uid16.c	optional	compat_linux32
434compat/linux/linux_util.c	optional	compat_linux32
435compat/linux/linux_vdso.c	optional	compat_linux32
436compat/linux/linux_common.c	optional	compat_linux32
437compat/linux/linux_event.c	optional	compat_linux32
438compat/linux/linux.c		optional	compat_linux32
439x86/linux/linux_dummy_x86.c	optional	compat_linux32
440dev/amr/amr_linux.c		optional	compat_linux32 amr
441dev/mfi/mfi_linux.c		optional	compat_linux32 mfi
442compat/ndis/winx64_wrap.S	optional	ndisapi pci
443#
444# x86 real mode BIOS emulator, required by dpms/pci/vesa
445#
446compat/x86bios/x86bios.c	optional x86bios | dpms | pci | vesa
447contrib/x86emu/x86emu.c		optional x86bios | dpms | pci | vesa
448#
449# bvm console
450#
451dev/bvm/bvm_console.c		optional	bvmconsole
452dev/bvm/bvm_dbg.c		optional	bvmdebug
453# Common files where we currently configure the system differently, but perhaps shouldn't
454# config(8) doesn't have a way to force standard options, so we've been inconsistent
455# about marking non-optional things 'standard'.
456x86/acpica/madt.c		optional	acpi
457x86/isa/atpic.c			optional	atpic isa
458x86/isa/elcr.c			optional	atpic isa | mptable
459x86/isa/isa.c			standard
460x86/isa/isa_dma.c		standard
461x86/pci/pci_early_quirks.c	optional	pci
462x86/x86/io_apic.c		standard
463x86/x86/local_apic.c		standard
464x86/x86/mptable.c		optional	mptable
465x86/x86/mptable_pci.c		optional	mptable pci
466x86/x86/msi.c			optional	pci
467x86/xen/pv.c			optional	xenhvm
468x86/xen/pvcpu_enum.c		optional	xenhvm
469x86/xen/xen_pci_bus.c		optional	xenhvm
470
471contrib/openzfs/module/zcommon/zfs_fletcher_avx512.c		optional zfs compile-with "${ZFS_C}"
472contrib/openzfs/module/zcommon/zfs_fletcher_intel.c		optional zfs compile-with "${ZFS_C}"
473contrib/openzfs/module/zcommon/zfs_fletcher_sse.c		optional zfs compile-with "${ZFS_C}"
474
475contrib/openzfs/module/zfs/vdev_raidz_math_avx2.c		optional zfs compile-with "${ZFS_C}"
476contrib/openzfs/module/zfs/vdev_raidz_math_avx512bw.c		optional zfs compile-with "${ZFS_C}"
477contrib/openzfs/module/zfs/vdev_raidz_math_avx512f.c		optional zfs compile-with "${ZFS_C}"
478contrib/openzfs/module/zfs/vdev_raidz_math_sse2.c		optional zfs compile-with "${ZFS_C}"
479contrib/openzfs/module/zfs/vdev_raidz_math_ssse3.c		optional zfs compile-with "${ZFS_C}"
480