xref: /freebsd/sys/conf/files.amd64 (revision a6fb86917362e3f6d24e95e940e80845c2cfde8a)
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#
15elf-vdso.so.o			standard				\
16	dependency	"$S/amd64/amd64/sigtramp.S assym.inc $S/tools/amd64_vdso.sh" \
17	compile-with	"env AWK='${AWK}' NM='${NM}' LD='${LD}' CC='${CC}' DEBUG='${DEBUG}' OBJCOPY='${OBJCOPY}' ELFDUMP='${ELFDUMP}' S='${S}' sh $S/tools/amd64_vdso.sh" \
18	no-implicit-rule before-depend	\
19	clean		"elf-vdso.so.o elf-vdso.so.1 vdso_offsets.h sigtramp.pico"
20#
21elf-vdso32.so.o			optional	compat_freebsd32		\
22	dependency	"$S/amd64/ia32/ia32_sigtramp.S ia32_assym.h $S/tools/amd64_ia32_vdso.sh" \
23	compile-with	"env AWK='${AWK}' NM='${NM}' LD='${LD}' CC='${CC}' DEBUG='${DEBUG}' OBJCOPY='${OBJCOPY}' ELFDUMP='${ELFDUMP}' S='${S}' sh $S/tools/amd64_ia32_vdso.sh" \
24	no-implicit-rule before-depend	\
25	clean		"elf-vdso32.so.o elf-vdso32.so.1 vdso_ia32_offsets.h ia32_sigtramp.pico"
26#
27ia32_genassym.o			standard				\
28	dependency 	"$S/compat/ia32/ia32_genassym.c offset.inc"		\
29	compile-with	"${CC} ${CFLAGS:N-flto:N-fno-common} -fcommon -c ${.IMPSRC}" \
30	no-obj no-implicit-rule						\
31	clean		"ia32_genassym.o"
32#
33ia32_assym.h			standard				\
34	dependency 	"$S/kern/genassym.sh ia32_genassym.o"		\
35	compile-with	"env NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \
36	no-obj no-implicit-rule before-depend				\
37	clean		"ia32_assym.h"
38#
39amd64/acpica/acpi_machdep.c	optional	acpi
40amd64/acpica/acpi_wakeup.c	optional	acpi
41acpi_wakecode.o			optional	acpi			\
42	dependency	"$S/amd64/acpica/acpi_wakecode.S assym.inc"	\
43	compile-with	"${NORMAL_S}"					\
44	no-obj no-implicit-rule before-depend				\
45	clean		"acpi_wakecode.o"
46acpi_wakecode.bin		optional	acpi			\
47	dependency	"acpi_wakecode.o"				\
48	compile-with	"${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \
49	no-obj no-implicit-rule	before-depend				\
50	clean		"acpi_wakecode.bin"
51acpi_wakecode.h			optional	acpi			\
52	dependency	"acpi_wakecode.bin"				\
53	compile-with	"file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \
54	no-obj no-implicit-rule	before-depend				\
55	clean		"acpi_wakecode.h"
56acpi_wakedata.h			optional	acpi			\
57	dependency	"acpi_wakecode.o"				\
58	compile-with	'${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define	$${what}	0x$${offset}"; done > ${.TARGET}' \
59	no-obj no-implicit-rule	before-depend				\
60	clean		"acpi_wakedata.h"
61#
62#amd64/amd64/apic_vector.S	standard
63amd64/amd64/bios.c		standard
64amd64/amd64/bpf_jit_machdep.c	optional	bpf_jitter
65amd64/amd64/copyout.c		standard
66amd64/amd64/cpu_switch.S	standard
67amd64/amd64/db_disasm.c		optional	ddb
68amd64/amd64/db_interface.c	optional	ddb
69amd64/amd64/db_trace.c		optional	ddb
70amd64/amd64/efirt_machdep.c	optional	efirt
71amd64/amd64/efirt_support.S	optional	efirt
72amd64/amd64/elf_machdep.c	standard
73amd64/amd64/exception.S		standard
74amd64/amd64/exec_machdep.c	standard
75amd64/amd64/fpu.c		standard
76amd64/amd64/gdb_machdep.c	optional	gdb
77amd64/amd64/initcpu.c		standard
78amd64/amd64/io.c		optional	io
79amd64/amd64/locore.S		standard	no-obj
80amd64/amd64/xen-locore.S	optional	xenhvm \
81	compile-with "${NORMAL_S} -g0" \
82	no-ctfconvert
83amd64/amd64/machdep.c		standard
84amd64/amd64/mem.c		optional	mem
85amd64/amd64/minidump_machdep.c	standard
86amd64/amd64/mp_machdep.c	optional	smp
87amd64/amd64/mpboot.S		optional	smp
88amd64/amd64/pmap.c		standard
89amd64/amd64/ptrace_machdep.c	standard
90amd64/amd64/support.S		standard
91amd64/amd64/sys_machdep.c	standard
92amd64/amd64/trap.c		standard
93amd64/amd64/uio_machdep.c	standard
94amd64/amd64/uma_machdep.c	standard
95amd64/amd64/vm_machdep.c	standard
96amd64/pci/pci_cfgreg.c		optional	pci
97cddl/dev/dtrace/amd64/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
98cddl/dev/dtrace/amd64/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
99crypto/aesni/aeskeys_amd64.S	optional aesni
100crypto/des/des_enc.c		optional	netsmb
101crypto/openssl/amd64/aesni-x86_64.S	optional ossl
102crypto/openssl/amd64/chacha-x86_64.S	optional ossl
103crypto/openssl/amd64/poly1305-x86_64.S	optional ossl
104crypto/openssl/amd64/sha1-x86_64.S	optional ossl
105crypto/openssl/amd64/sha256-x86_64.S	optional ossl
106crypto/openssl/amd64/sha512-x86_64.S	optional ossl
107dev/acpi_support/acpi_wmi_if.m	standard
108dev/agp/agp_amd64.c		optional	agp
109dev/agp/agp_i810.c		optional	agp
110dev/agp/agp_via.c		optional	agp
111dev/amdgpio/amdgpio.c		optional	amdgpio
112dev/axgbe/if_axgbe_pci.c	optional	axp
113dev/axgbe/xgbe-desc.c		optional	axp
114dev/axgbe/xgbe-dev.c		optional	axp
115dev/axgbe/xgbe-drv.c		optional	axp
116dev/axgbe/xgbe-mdio.c		optional	axp
117dev/axgbe/xgbe-sysctl.c		optional	axp
118dev/axgbe/xgbe-txrx.c		optional	axp
119dev/axgbe/xgbe_osdep.c		optional	axp
120dev/axgbe/xgbe-i2c.c		optional	axp
121dev/axgbe/xgbe-phy-v2.c		optional	axp
122dev/hyperv/vmbus/amd64/hyperv_machdep.c			optional	hyperv
123dev/hyperv/vmbus/amd64/vmbus_vector.S			optional	hyperv
124dev/iavf/if_iavf_iflib.c	optional	iavf pci \
125	compile-with "${NORMAL_C} -I$S/dev/iavf"
126dev/iavf/iavf_lib.c		optional	iavf pci \
127	compile-with "${NORMAL_C} -I$S/dev/iavf"
128dev/iavf/iavf_osdep.c		optional	iavf pci \
129	compile-with "${NORMAL_C} -I$S/dev/iavf"
130dev/iavf/iavf_txrx_iflib.c	optional	iavf pci \
131	compile-with "${NORMAL_C} -I$S/dev/iavf"
132dev/iavf/iavf_common.c		optional	iavf pci \
133	compile-with "${NORMAL_C} -I$S/dev/iavf"
134dev/iavf/iavf_adminq.c		optional	iavf pci \
135	compile-with "${NORMAL_C} -I$S/dev/iavf"
136dev/iavf/iavf_vc_common.c	optional	iavf pci \
137	compile-with "${NORMAL_C} -I$S/dev/iavf"
138dev/iavf/iavf_vc_iflib.c	optional	iavf pci \
139	compile-with "${NORMAL_C} -I$S/dev/iavf"
140dev/ice/if_ice_iflib.c		optional	ice pci \
141	compile-with "${NORMAL_C} -I$S/dev/ice"
142dev/ice/ice_lib.c		optional	ice pci \
143	compile-with "${NORMAL_C} -I$S/dev/ice"
144dev/ice/ice_osdep.c		optional	ice pci \
145	compile-with "${NORMAL_C} -I$S/dev/ice"
146dev/ice/ice_resmgr.c		optional	ice pci \
147	compile-with "${NORMAL_C} -I$S/dev/ice"
148dev/ice/ice_strings.c		optional	ice pci \
149	compile-with "${NORMAL_C} -I$S/dev/ice"
150dev/ice/ice_iflib_recovery_txrx.c	optional	ice pci \
151	compile-with "${NORMAL_C} -I$S/dev/ice"
152dev/ice/ice_iflib_txrx.c	optional	ice pci \
153	compile-with "${NORMAL_C} -I$S/dev/ice"
154dev/ice/ice_common.c		optional	ice pci \
155	compile-with "${NORMAL_C} -I$S/dev/ice"
156dev/ice/ice_controlq.c		optional	ice pci \
157	compile-with "${NORMAL_C} -I$S/dev/ice"
158dev/ice/ice_dcb.c		optional	ice pci \
159	compile-with "${NORMAL_C} -I$S/dev/ice"
160dev/ice/ice_flex_pipe.c		optional	ice pci \
161	compile-with "${NORMAL_C} -I$S/dev/ice"
162dev/ice/ice_flow.c		optional	ice pci \
163	compile-with "${NORMAL_C} -I$S/dev/ice"
164dev/ice/ice_nvm.c		optional	ice pci \
165	compile-with "${NORMAL_C} -I$S/dev/ice"
166dev/ice/ice_sched.c		optional	ice pci \
167	compile-with "${NORMAL_C} -I$S/dev/ice"
168dev/ice/ice_switch.c		optional	ice pci \
169	compile-with "${NORMAL_C} -I$S/dev/ice"
170dev/ice/ice_vlan_mode.c		optional	ice pci \
171	compile-with "${NORMAL_C} -I$S/dev/ice"
172dev/ice/ice_fw_logging.c	optional	ice pci \
173	compile-with "${NORMAL_C} -I$S/dev/ice"
174dev/ice/ice_fwlog.c		optional	ice pci \
175	compile-with "${NORMAL_C} -I$S/dev/ice"
176ice_ddp.c			optional ice_ddp	\
177	compile-with	"${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031b00 -mice_ddp -c${.TARGET}"	\
178	no-ctfconvert no-implicit-rule before-depend local	\
179	clean		"ice_ddp.c"
180ice_ddp.fwo			optional ice_ddp	\
181	dependency	"ice_ddp.fw"			\
182	compile-with	"${NORMAL_FWO}"			\
183	no-implicit-rule				\
184	clean		"ice_ddp.fwo"
185ice_ddp.fw			optional ice_ddp	\
186	dependency	"$S/contrib/dev/ice/ice-1.3.27.0.pkg" \
187	compile-with	"${CP} $S/contrib/dev/ice/ice-1.3.27.0.pkg ice_ddp.fw" \
188	no-obj no-implicit-rule				\
189	clean		"ice_ddp.fw"
190dev/ioat/ioat.c			optional	ioat pci
191dev/ioat/ioat_test.c		optional	ioat pci
192dev/ixl/if_ixl.c		optional	ixl pci \
193	compile-with "${NORMAL_C} -I$S/dev/ixl"
194dev/ixl/ixl_pf_main.c		optional	ixl pci \
195	compile-with "${NORMAL_C} -I$S/dev/ixl"
196dev/ixl/ixl_pf_iflib.c		optional	ixl pci \
197	compile-with "${NORMAL_C} -I$S/dev/ixl"
198dev/ixl/ixl_pf_qmgr.c		optional	ixl pci \
199	compile-with "${NORMAL_C} -I$S/dev/ixl"
200dev/ixl/ixl_pf_iov.c		optional	ixl pci  pci_iov \
201	compile-with "${NORMAL_C} -I$S/dev/ixl"
202dev/ixl/ixl_pf_i2c.c		optional	ixl pci \
203	compile-with "${NORMAL_C} -I$S/dev/ixl"
204dev/ixl/ixl_txrx.c		optional	ixl pci \
205	compile-with "${NORMAL_C} -I$S/dev/ixl"
206dev/ixl/i40e_osdep.c		optional	ixl pci \
207	compile-with "${NORMAL_C} -I$S/dev/ixl"
208dev/ixl/i40e_lan_hmc.c		optional	ixl pci \
209	compile-with "${NORMAL_C} -I$S/dev/ixl"
210dev/ixl/i40e_hmc.c		optional	ixl pci \
211	compile-with "${NORMAL_C} -I$S/dev/ixl"
212dev/ixl/i40e_common.c		optional	ixl pci \
213	compile-with "${NORMAL_C} -I$S/dev/ixl"
214dev/ixl/i40e_nvm.c		optional	ixl pci \
215	compile-with "${NORMAL_C} -I$S/dev/ixl"
216dev/ixl/i40e_adminq.c		optional	ixl pci \
217	compile-with "${NORMAL_C} -I$S/dev/ixl"
218dev/ixl/i40e_dcb.c		optional	ixl pci \
219	compile-with "${NORMAL_C} -I$S/dev/ixl"
220dev/nctgpio/nctgpio.c		optional	nctgpio
221dev/nfe/if_nfe.c		optional	nfe pci
222dev/ntb/if_ntb/if_ntb.c		optional	if_ntb
223dev/ntb/ntb_transport.c		optional	ntb_transport | if_ntb
224dev/ntb/ntb.c			optional	ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw
225dev/ntb/ntb_if.m		optional	ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw
226dev/ntb/ntb_hw/ntb_hw_amd.c	optional	ntb_hw_amd | ntb_hw
227dev/ntb/ntb_hw/ntb_hw_intel.c	optional	ntb_hw_intel | ntb_hw
228dev/ntb/ntb_hw/ntb_hw_plx.c	optional	ntb_hw_plx | ntb_hw
229dev/ntb/test/ntb_tool.c		optional	ntb_tool
230dev/nvram/nvram.c		optional	nvram isa
231dev/random/ivy.c		optional	rdrand_rng !random_loadable
232dev/random/nehemiah.c		optional	padlock_rng !random_loadable
233dev/qlxge/qls_dbg.c		optional	qlxge pci
234dev/qlxge/qls_dump.c		optional	qlxge pci
235dev/qlxge/qls_hw.c		optional	qlxge pci
236dev/qlxge/qls_ioctl.c		optional	qlxge pci
237dev/qlxge/qls_isr.c		optional	qlxge pci
238dev/qlxge/qls_os.c		optional	qlxge pci
239dev/qlxgb/qla_dbg.c		optional	qlxgb pci
240dev/qlxgb/qla_hw.c		optional	qlxgb pci
241dev/qlxgb/qla_ioctl.c		optional	qlxgb pci
242dev/qlxgb/qla_isr.c		optional	qlxgb pci
243dev/qlxgb/qla_misc.c		optional	qlxgb pci
244dev/qlxgb/qla_os.c		optional	qlxgb pci
245dev/qlxgbe/ql_dbg.c		optional	qlxgbe pci
246dev/qlxgbe/ql_hw.c		optional	qlxgbe pci
247dev/qlxgbe/ql_ioctl.c		optional	qlxgbe pci
248dev/qlxgbe/ql_isr.c		optional	qlxgbe pci
249dev/qlxgbe/ql_misc.c		optional	qlxgbe pci
250dev/qlxgbe/ql_os.c		optional	qlxgbe pci
251dev/qlxgbe/ql_reset.c		optional	qlxgbe pci
252dev/qlxgbe/ql_fw.c		optional	qlxgbe pci
253dev/qlxgbe/ql_boot.c		optional	qlxgbe pci
254dev/qlxgbe/ql_minidump.c	optional	qlxgbe pci
255dev/qlnx/qlnxe/ecore_cxt.c	optional	qlnxe pci \
256	compile-with "${LINUXKPI_C}"
257dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c optional	qlnxe pci \
258	compile-with "${LINUXKPI_C}"
259dev/qlnx/qlnxe/ecore_dcbx.c	optional	qlnxe pci \
260	compile-with "${LINUXKPI_C}"
261dev/qlnx/qlnxe/ecore_dev.c	optional	qlnxe pci \
262	compile-with "${LINUXKPI_C}"
263dev/qlnx/qlnxe/ecore_hw.c	optional	qlnxe pci \
264	compile-with "${LINUXKPI_C}"
265dev/qlnx/qlnxe/ecore_init_fw_funcs.c optional	qlnxe pci \
266	compile-with "${LINUXKPI_C}"
267dev/qlnx/qlnxe/ecore_init_ops.c	optional	qlnxe pci \
268	compile-with "${LINUXKPI_C}"
269dev/qlnx/qlnxe/ecore_int.c	optional	qlnxe pci \
270	compile-with "${LINUXKPI_C}"
271dev/qlnx/qlnxe/ecore_l2.c	optional	qlnxe pci \
272	compile-with "${LINUXKPI_C}"
273dev/qlnx/qlnxe/ecore_mcp.c	optional	qlnxe pci \
274	compile-with "${LINUXKPI_C}"
275dev/qlnx/qlnxe/ecore_sp_commands.c optional	qlnxe pci \
276	compile-with "${LINUXKPI_C}"
277dev/qlnx/qlnxe/ecore_spq.c	optional	qlnxe pci \
278	compile-with "${LINUXKPI_C}"
279dev/qlnx/qlnxe/qlnx_ioctl.c	optional	qlnxe pci \
280	compile-with "${LINUXKPI_C}"
281dev/qlnx/qlnxe/qlnx_os.c	optional	qlnxe pci \
282	compile-with "${LINUXKPI_C}"
283dev/sfxge/common/ef10_ev.c	optional	sfxge pci
284dev/sfxge/common/ef10_filter.c	optional	sfxge pci
285dev/sfxge/common/ef10_image.c	optional	sfxge pci
286dev/sfxge/common/ef10_intr.c	optional	sfxge pci
287dev/sfxge/common/ef10_mac.c	optional	sfxge pci
288dev/sfxge/common/ef10_mcdi.c	optional	sfxge pci
289dev/sfxge/common/ef10_nic.c	optional	sfxge pci
290dev/sfxge/common/ef10_nvram.c	optional	sfxge pci
291dev/sfxge/common/ef10_phy.c	optional	sfxge pci
292dev/sfxge/common/ef10_rx.c	optional	sfxge pci
293dev/sfxge/common/ef10_tx.c	optional	sfxge pci
294dev/sfxge/common/ef10_vpd.c	optional	sfxge pci
295dev/sfxge/common/efx_bootcfg.c	optional	sfxge pci
296dev/sfxge/common/efx_crc32.c	optional	sfxge pci
297dev/sfxge/common/efx_ev.c	optional	sfxge pci
298dev/sfxge/common/efx_filter.c	optional	sfxge pci
299dev/sfxge/common/efx_hash.c	optional	sfxge pci
300dev/sfxge/common/efx_intr.c	optional	sfxge pci
301dev/sfxge/common/efx_lic.c	optional	sfxge pci
302dev/sfxge/common/efx_mac.c	optional	sfxge pci
303dev/sfxge/common/efx_mcdi.c	optional	sfxge pci
304dev/sfxge/common/efx_mon.c	optional	sfxge pci
305dev/sfxge/common/efx_nic.c	optional	sfxge pci
306dev/sfxge/common/efx_nvram.c	optional	sfxge pci
307dev/sfxge/common/efx_phy.c	optional	sfxge pci
308dev/sfxge/common/efx_port.c	optional	sfxge pci
309dev/sfxge/common/efx_rx.c	optional	sfxge pci
310dev/sfxge/common/efx_sram.c	optional	sfxge pci
311dev/sfxge/common/efx_tunnel.c	optional	sfxge pci
312dev/sfxge/common/efx_tx.c	optional	sfxge pci
313dev/sfxge/common/efx_vpd.c	optional	sfxge pci
314dev/sfxge/common/hunt_nic.c	optional	sfxge pci
315dev/sfxge/common/mcdi_mon.c	optional	sfxge pci
316dev/sfxge/common/medford_nic.c	optional	sfxge pci
317dev/sfxge/common/medford2_nic.c	optional	sfxge pci
318dev/sfxge/common/siena_mac.c	optional	sfxge pci
319dev/sfxge/common/siena_mcdi.c	optional	sfxge pci
320dev/sfxge/common/siena_nic.c	optional	sfxge pci
321dev/sfxge/common/siena_nvram.c	optional	sfxge pci
322dev/sfxge/common/siena_phy.c	optional	sfxge pci
323dev/sfxge/common/siena_sram.c	optional	sfxge pci
324dev/sfxge/common/siena_vpd.c	optional	sfxge pci
325dev/sfxge/sfxge.c		optional	sfxge pci
326dev/sfxge/sfxge_dma.c		optional	sfxge pci
327dev/sfxge/sfxge_ev.c		optional	sfxge pci
328dev/sfxge/sfxge_intr.c		optional	sfxge pci
329dev/sfxge/sfxge_mcdi.c		optional	sfxge pci
330dev/sfxge/sfxge_nvram.c		optional	sfxge pci
331dev/sfxge/sfxge_port.c		optional	sfxge pci
332dev/sfxge/sfxge_rx.c		optional	sfxge pci
333dev/sfxge/sfxge_tx.c		optional	sfxge pci
334dev/smartpqi/smartpqi_cam.c     optional 	smartpqi
335dev/smartpqi/smartpqi_cmd.c     optional 	smartpqi
336dev/smartpqi/smartpqi_discovery.c	optional	smartpqi
337dev/smartpqi/smartpqi_event.c   optional 	smartpqi
338dev/smartpqi/smartpqi_helper.c  optional 	smartpqi
339dev/smartpqi/smartpqi_init.c    optional 	smartpqi
340dev/smartpqi/smartpqi_intr.c    optional 	smartpqi
341dev/smartpqi/smartpqi_ioctl.c   optional 	smartpqi
342dev/smartpqi/smartpqi_main.c    optional 	smartpqi
343dev/smartpqi/smartpqi_mem.c     optional 	smartpqi
344dev/smartpqi/smartpqi_misc.c    optional 	smartpqi
345dev/smartpqi/smartpqi_queue.c   optional 	smartpqi
346dev/smartpqi/smartpqi_request.c optional 	smartpqi
347dev/smartpqi/smartpqi_response.c	optional 	smartpqi
348dev/smartpqi/smartpqi_sis.c     optional 	smartpqi
349dev/smartpqi/smartpqi_tag.c     optional 	smartpqi
350dev/speaker/spkr.c		optional	speaker
351dev/sume/if_sume.c		optional	sume
352dev/superio/superio.c		optional	superio isa
353dev/syscons/apm/apm_saver.c	optional	apm_saver apm
354dev/syscons/scvesactl.c		optional	sc vga vesa
355dev/syscons/scvgarndr.c		optional	sc vga
356dev/tpm/tpm.c			optional	tpm
357dev/tpm/tpm20.c		optional	tpm
358dev/tpm/tpm_crb.c		optional	tpm acpi
359dev/tpm/tpm_tis.c		optional	tpm acpi
360dev/tpm/tpm_acpi.c		optional	tpm acpi
361dev/tpm/tpm_isa.c		optional	tpm isa
362dev/uart/uart_cpu_x86.c		optional	uart
363dev/viawd/viawd.c		optional	viawd
364dev/vmd/vmd.c			optional	vmd | vmd_bus
365dev/wbwd/wbwd.c			optional	wbwd
366dev/p2sb/p2sb.c			optional	p2sb pci
367dev/p2sb/lewisburg_gpiocm.c	optional	lbggpiocm p2sb
368dev/p2sb/lewisburg_gpio.c	optional	lbggpio lbggpiocm
369isa/syscons_isa.c		optional	sc
370isa/vga_isa.c			optional	vga
371kern/imgact_aout.c		optional compat_aout
372kern/link_elf_obj.c		standard
373#
374# IA32 binary support
375#
376#amd64/ia32/ia32_exception.S	optional	compat_freebsd32
377amd64/ia32/ia32_reg.c		optional	compat_freebsd32
378amd64/ia32/ia32_signal.c	optional	compat_freebsd32
379amd64/ia32/ia32_syscall.c	optional	compat_freebsd32
380amd64/ia32/ia32_misc.c		optional	compat_freebsd32
381compat/ia32/ia32_sysvec.c	optional	compat_freebsd32
382#
383# x86 real mode BIOS emulator, required by dpms/pci/vesa
384#
385compat/x86bios/x86bios.c	optional x86bios | dpms | pci | vesa
386contrib/x86emu/x86emu.c		optional x86bios | dpms | pci | vesa
387# Common files where we currently configure the system differently, but perhaps shouldn't
388# config(8) doesn't have a way to force standard options, so we've been inconsistent
389# about marking non-optional things 'standard'.
390x86/acpica/madt.c		optional	acpi
391x86/isa/atpic.c			optional	atpic isa
392x86/isa/elcr.c			optional	atpic isa | mptable
393x86/isa/isa.c			standard
394x86/isa/isa_dma.c		standard
395x86/pci/pci_early_quirks.c	optional	pci
396x86/x86/io_apic.c		standard
397x86/x86/local_apic.c		standard
398x86/x86/mptable.c		optional	mptable
399x86/x86/mptable_pci.c		optional	mptable pci
400x86/x86/msi.c			optional	pci
401x86/xen/pv.c			optional	xenhvm
402
403contrib/openzfs/module/zcommon/zfs_fletcher_avx512.c		optional zfs compile-with "${ZFS_C}"
404contrib/openzfs/module/zcommon/zfs_fletcher_intel.c		optional zfs compile-with "${ZFS_C}"
405contrib/openzfs/module/zcommon/zfs_fletcher_sse.c		optional zfs compile-with "${ZFS_C}"
406
407contrib/openzfs/module/zfs/vdev_raidz_math_avx2.c		optional zfs compile-with "${ZFS_C}"
408contrib/openzfs/module/zfs/vdev_raidz_math_avx512bw.c		optional zfs compile-with "${ZFS_C}"
409contrib/openzfs/module/zfs/vdev_raidz_math_avx512f.c		optional zfs compile-with "${ZFS_C}"
410contrib/openzfs/module/zfs/vdev_raidz_math_sse2.c		optional zfs compile-with "${ZFS_C}"
411contrib/openzfs/module/zfs/vdev_raidz_math_ssse3.c		optional zfs compile-with "${ZFS_C}"
412# Clock calibration subroutine; uses floating-point arithmetic
413subr_clockcalib.o		standard				\
414	dependency	"$S/kern/subr_clockcalib.c"			\
415	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -mmmx -msse -msse2 ${.IMPSRC}" \
416	no-implicit-rule						\
417	clean		"subr_clockcalib.o"
418