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