xref: /freebsd/sys/conf/files.arm64 (revision ec4deee4e4f2aef1b97d9424f25d04e91fd7dc10)
1# $FreeBSD$
2cloudabi32_vdso.o		optional	compat_cloudabi32	\
3	dependency	"$S/contrib/cloudabi/cloudabi_vdso_armv6_on_64bit.S"	\
4	compile-with	"${CC} -x assembler-with-cpp -m32 -shared -nostdinc -nostdlib -Wl,-T$S/compat/cloudabi/cloudabi_vdso.lds $S/contrib/cloudabi/cloudabi_vdso_armv6_on_64bit.S -o ${.TARGET}" \
5	no-obj no-implicit-rule						\
6	clean		"cloudabi32_vdso.o"
7#
8cloudabi32_vdso_blob.o		optional	compat_cloudabi32	\
9	dependency 	"cloudabi32_vdso.o"			\
10	compile-with	"${OBJCOPY} --input-target binary --output-target elf64-littleaarch64 --binary-architecture aarch64 cloudabi32_vdso.o ${.TARGET}" \
11	no-implicit-rule						\
12	clean		"cloudabi32_vdso_blob.o"
13#
14cloudabi64_vdso.o		optional	compat_cloudabi64	\
15	dependency	"$S/contrib/cloudabi/cloudabi_vdso_aarch64.S"	\
16	compile-with	"${CC} -x assembler-with-cpp -shared -nostdinc -nostdlib -Wl,-T$S/compat/cloudabi/cloudabi_vdso.lds $S/contrib/cloudabi/cloudabi_vdso_aarch64.S -o ${.TARGET}" \
17	no-obj no-implicit-rule						\
18	clean		"cloudabi64_vdso.o"
19#
20cloudabi64_vdso_blob.o		optional	compat_cloudabi64	\
21	dependency 	"cloudabi64_vdso.o"			\
22	compile-with	"${OBJCOPY} --input-target binary --output-target elf64-littleaarch64 --binary-architecture aarch64 cloudabi64_vdso.o ${.TARGET}" \
23	no-implicit-rule						\
24	clean		"cloudabi64_vdso_blob.o"
25#
26
27# Allwinner common files
28arm/allwinner/a10_timer.c	optional	a10_timer fdt
29arm/allwinner/a10_codec.c	optional	sound a10_codec
30arm/allwinner/a31_dmac.c	optional	a31_dmac
31arm/allwinner/sunxi_dma_if.m	optional	a31_dmac
32arm/allwinner/aw_cir.c		optional	evdev aw_cir fdt
33arm/allwinner/aw_dwc3.c		optional	aw_dwc3 fdt
34arm/allwinner/aw_gpio.c		optional	gpio aw_gpio fdt
35arm/allwinner/aw_mmc.c		optional	mmc aw_mmc fdt | mmccam aw_mmc fdt
36arm/allwinner/aw_nmi.c		optional	aw_nmi fdt \
37	compile-with "${NORMAL_C} -I$S/gnu/dts/include"
38arm/allwinner/aw_pwm.c		optional	aw_pwm fdt
39arm/allwinner/aw_rsb.c		optional	aw_rsb fdt
40arm/allwinner/aw_rtc.c		optional	aw_rtc fdt
41arm/allwinner/aw_sid.c		optional	aw_sid nvmem fdt
42arm/allwinner/aw_spi.c		optional	aw_spi fdt
43arm/allwinner/aw_syscon.c	optional	aw_syscon ext_resources syscon fdt
44arm/allwinner/aw_thermal.c	optional	aw_thermal nvmem fdt
45arm/allwinner/aw_usbphy.c	optional	ehci aw_usbphy fdt
46arm/allwinner/aw_usb3phy.c	optional	xhci aw_usbphy fdt
47arm/allwinner/aw_wdog.c		optional	aw_wdog fdt
48arm/allwinner/axp81x.c		optional	axp81x fdt
49arm/allwinner/if_awg.c		optional	awg ext_resources syscon aw_sid nvmem fdt
50
51# Allwinner clock driver
52arm/allwinner/clkng/aw_ccung.c		optional	aw_ccu fdt
53arm/allwinner/clkng/aw_clk_frac.c	optional	aw_ccu fdt
54arm/allwinner/clkng/aw_clk_m.c		optional	aw_ccu fdt
55arm/allwinner/clkng/aw_clk_mipi.c	optional	aw_ccu fdt
56arm/allwinner/clkng/aw_clk_nkmp.c	optional	aw_ccu fdt
57arm/allwinner/clkng/aw_clk_nm.c		optional	aw_ccu fdt
58arm/allwinner/clkng/aw_clk_nmm.c	optional	aw_ccu fdt
59arm/allwinner/clkng/aw_clk_np.c		optional	aw_ccu fdt
60arm/allwinner/clkng/aw_clk_prediv_mux.c	optional	aw_ccu fdt
61arm/allwinner/clkng/ccu_a64.c		optional	soc_allwinner_a64 aw_ccu fdt
62arm/allwinner/clkng/ccu_h3.c		optional	soc_allwinner_h5 aw_ccu fdt
63arm/allwinner/clkng/ccu_h6.c		optional	soc_allwinner_h6 aw_ccu fdt
64arm/allwinner/clkng/ccu_h6_r.c		optional	soc_allwinner_h6 aw_ccu fdt
65arm/allwinner/clkng/ccu_sun8i_r.c	optional	aw_ccu fdt
66arm/allwinner/clkng/ccu_de2.c		optional	aw_ccu fdt
67
68# Allwinner padconf files
69arm/allwinner/a64/a64_padconf.c	optional	soc_allwinner_a64 fdt
70arm/allwinner/a64/a64_r_padconf.c optional	soc_allwinner_a64 fdt
71arm/allwinner/h3/h3_padconf.c	optional	soc_allwinner_h5 fdt
72arm/allwinner/h3/h3_r_padconf.c optional	soc_allwinner_h5 fdt
73arm/allwinner/h6/h6_padconf.c optional		soc_allwinner_h6 fdt
74arm/allwinner/h6/h6_r_padconf.c optional	soc_allwinner_h6 fdt
75
76arm/annapurna/alpine/alpine_ccu.c		optional	al_ccu fdt
77arm/annapurna/alpine/alpine_nb_service.c	optional	al_nb_service fdt
78arm/annapurna/alpine/alpine_pci.c		optional	al_pci fdt
79arm/annapurna/alpine/alpine_pci_msix.c		optional	al_pci fdt
80arm/annapurna/alpine/alpine_serdes.c		optional al_serdes fdt		\
81	no-depend	\
82	compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}"
83arm/arm/generic_timer.c		standard
84arm/arm/gic.c			standard
85arm/arm/gic_acpi.c		optional	acpi
86arm/arm/gic_fdt.c		optional	fdt
87arm/arm/pmu.c			standard
88arm/broadcom/bcm2835/bcm2835_audio.c		optional sound vchiq fdt \
89	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
90arm/broadcom/bcm2835/bcm2835_bsc.c		optional bcm2835_bsc fdt
91arm/broadcom/bcm2835/bcm2835_clkman.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
92arm/broadcom/bcm2835/bcm2835_cpufreq.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
93arm/broadcom/bcm2835/bcm2835_dma.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
94arm/broadcom/bcm2835/bcm2835_fbd.c		optional vt soc_brcm_bcm2837 fdt | vt soc_brcm_bcm2838 fdt
95arm/broadcom/bcm2835/bcm2835_firmware.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
96arm/broadcom/bcm2835/bcm2835_ft5406.c		optional evdev bcm2835_ft5406 fdt
97arm/broadcom/bcm2835/bcm2835_gpio.c		optional gpio soc_brcm_bcm2837 fdt | gpio soc_brcm_bcm2838 fdt
98arm/broadcom/bcm2835/bcm2835_intr.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
99arm/broadcom/bcm2835/bcm2835_mbox.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
100arm/broadcom/bcm2835/bcm2835_rng.c		optional !random_loadable soc_brcm_bcm2837 fdt | !random_loadable soc_brcm_bcm2838 fdt
101arm/broadcom/bcm2835/bcm2835_sdhci.c		optional sdhci soc_brcm_bcm2837 fdt | sdhci soc_brcm_bcm2838 fdt
102arm/broadcom/bcm2835/bcm2835_sdhost.c		optional sdhci soc_brcm_bcm2837 fdt | sdhci soc_brcm_bcm2838 fdt
103arm/broadcom/bcm2835/bcm2835_spi.c		optional bcm2835_spi fdt
104arm/broadcom/bcm2835/bcm2835_vcbus.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
105arm/broadcom/bcm2835/bcm2835_vcio.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
106arm/broadcom/bcm2835/bcm2835_wdog.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
107arm/broadcom/bcm2835/bcm2836.c			optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
108arm/broadcom/bcm2835/bcm283x_dwc_fdt.c		optional dwcotg fdt soc_brcm_bcm2837 | dwcotg fdt soc_brcm_bcm2838
109arm/broadcom/bcm2835/bcm2838_pci.c		optional soc_brcm_bcm2838 fdt pci
110arm/broadcom/bcm2835/bcm2838_xhci.c		optional soc_brcm_bcm2838 fdt pci xhci
111arm/broadcom/bcm2835/raspberrypi_gpio.c		optional soc_brcm_bcm2837 gpio | soc_brcm_bcm2838 gpio
112arm/freescale/vybrid/vf_i2c.c			optional vf_i2c iicbus SOC_NXP_LS
113arm/mv/a37x0_gpio.c				optional a37x0_gpio gpio fdt
114arm/mv/a37x0_iic.c				optional a37x0_iic iicbus fdt
115arm/mv/a37x0_spi.c				optional a37x0_spi spibus fdt
116arm/mv/armada38x/armada38x_rtc.c		optional mv_rtc fdt
117arm/mv/gpio.c					optional mv_gpio fdt
118arm/mv/mvebu_gpio.c				optional mv_gpio fdt
119arm/mv/mvebu_pinctrl.c				optional mvebu_pinctrl fdt
120arm/mv/mv_ap806_clock.c				optional SOC_MARVELL_8K fdt
121arm/mv/mv_ap806_gicp.c				optional mv_ap806_gicp fdt
122arm/mv/mv_ap806_sei.c				optional mv_ap806_sei fdt
123arm/mv/mv_cp110_clock.c				optional SOC_MARVELL_8K fdt
124arm/mv/mv_cp110_icu.c				optional mv_cp110_icu fdt
125arm/mv/mv_cp110_icu_bus.c			optional mv_cp110_icu fdt
126arm/mv/mv_thermal.c				optional SOC_MARVELL_8K mv_thermal fdt
127arm/mv/armada38x/armada38x_rtc.c		optional mv_rtc fdt
128arm/xilinx/uart_dev_cdnc.c			optional uart soc_xilinx_zynq
129arm64/acpica/acpi_iort.c	optional	acpi
130arm64/acpica/acpi_machdep.c	optional	acpi
131arm64/acpica/OsdEnvironment.c	optional	acpi
132arm64/acpica/acpi_wakeup.c	optional	acpi
133arm64/acpica/pci_cfgreg.c	optional	acpi	pci
134arm64/arm64/autoconf.c		standard
135arm64/arm64/bus_machdep.c	standard
136arm64/arm64/bus_space_asm.S	standard
137arm64/arm64/busdma_bounce.c	standard
138arm64/arm64/busdma_machdep.c	standard
139arm64/arm64/bzero.S		standard
140arm64/arm64/clock.c		standard
141arm64/arm64/copyinout.S		standard
142arm64/arm64/cpu_errata.c	standard
143arm64/arm64/cpufunc_asm.S	standard
144arm64/arm64/db_disasm.c		optional	ddb
145arm64/arm64/db_interface.c	optional	ddb
146arm64/arm64/db_trace.c		optional	ddb
147arm64/arm64/debug_monitor.c	standard
148arm64/arm64/disassem.c		optional	ddb
149arm64/arm64/dump_machdep.c	standard
150arm64/arm64/efirt_machdep.c	optional	efirt
151arm64/arm64/elf32_machdep.c	optional	compat_freebsd32
152arm64/arm64/elf_machdep.c	standard
153arm64/arm64/exception.S		standard
154arm64/arm64/freebsd32_machdep.c	optional	compat_freebsd32
155arm64/arm64/gicv3_its.c		optional	intrng fdt
156arm64/arm64/gic_v3.c		standard
157arm64/arm64/gic_v3_acpi.c	optional	acpi
158arm64/arm64/gic_v3_fdt.c	optional	fdt
159arm64/arm64/identcpu.c		standard
160arm64/arm64/in_cksum.c		optional	inet | inet6
161arm64/arm64/locore.S		standard	no-obj
162arm64/arm64/machdep.c		standard
163arm64/arm64/machdep_boot.c	standard
164arm64/arm64/mem.c		standard
165arm64/arm64/memcpy.S		standard
166arm64/arm64/memmove.S		standard
167arm64/arm64/minidump_machdep.c	standard
168arm64/arm64/mp_machdep.c	optional	smp
169arm64/arm64/nexus.c		standard
170arm64/arm64/ofw_machdep.c	optional	fdt
171arm64/arm64/pmap.c		standard
172arm64/arm64/stack_machdep.c	optional	ddb | stack
173arm64/arm64/support.S		standard
174arm64/arm64/swtch.S		standard
175arm64/arm64/sys_machdep.c	standard
176arm64/arm64/trap.c		standard
177arm64/arm64/uio_machdep.c	standard
178arm64/arm64/uma_machdep.c	standard
179arm64/arm64/undefined.c		standard
180arm64/arm64/unwind.c		optional	ddb | kdtrace_hooks | stack
181arm64/arm64/vfp.c		standard
182arm64/arm64/vm_machdep.c	standard
183arm64/broadcom/brcmmdio/mdio_mux_iproc.c	optional	fdt
184arm64/broadcom/brcmmdio/mdio_nexus_iproc.c	optional	fdt
185arm64/broadcom/brcmmdio/mdio_ns2_pcie_phy.c	optional	fdt pci
186arm64/broadcom/genet/if_genet.c		optional SOC_BRCM_BCM2838 fdt genet
187arm64/cavium/thunder_pcie_fdt.c		optional	soc_cavm_thunderx pci fdt
188arm64/cavium/thunder_pcie_pem.c		optional	soc_cavm_thunderx pci
189arm64/cavium/thunder_pcie_pem_fdt.c	optional	soc_cavm_thunderx pci fdt
190arm64/cavium/thunder_pcie_common.c	optional	soc_cavm_thunderx pci
191arm64/cloudabi32/cloudabi32_sysvec.c	optional compat_cloudabi32
192arm64/cloudabi64/cloudabi64_sysvec.c	optional compat_cloudabi64
193arm64/coresight/coresight.c			standard
194arm64/coresight/coresight_acpi.c		optional acpi
195arm64/coresight/coresight_fdt.c			optional fdt
196arm64/coresight/coresight_if.m			standard
197arm64/coresight/coresight_cmd.c			standard
198arm64/coresight/coresight_cpu_debug.c		standard
199arm64/coresight/coresight_etm4x.c		standard
200arm64/coresight/coresight_etm4x_acpi.c		optional acpi
201arm64/coresight/coresight_etm4x_fdt.c		optional fdt
202arm64/coresight/coresight_funnel.c		standard
203arm64/coresight/coresight_funnel_acpi.c		optional acpi
204arm64/coresight/coresight_funnel_fdt.c		optional fdt
205arm64/coresight/coresight_replicator.c		standard
206arm64/coresight/coresight_replicator_acpi.c	optional acpi
207arm64/coresight/coresight_replicator_fdt.c	optional fdt
208arm64/coresight/coresight_tmc.c			standard
209arm64/coresight/coresight_tmc_acpi.c		optional acpi
210arm64/coresight/coresight_tmc_fdt.c		optional fdt
211arm64/intel/firmware.c				optional soc_intel_stratix10
212arm64/intel/stratix10-soc-fpga-mgr.c		optional soc_intel_stratix10
213arm64/intel/stratix10-svc.c			optional soc_intel_stratix10
214arm64/qoriq/ls1046_gpio.c			optional ls1046_gpio gpio fdt SOC_NXP_LS
215arm64/qoriq/clk/ls1046a_clkgen.c		optional clk SOC_NXP_LS
216arm64/qoriq/clk/qoriq_clk_pll.c			optional clk SOC_NXP_LS
217arm64/qoriq/clk/qoriq_clkgen.c			optional clk SOC_NXP_LS
218arm64/qualcomm/qcom_gcc.c			optional qcom_gcc fdt
219contrib/vchiq/interface/compat/vchi_bsd.c	optional vchiq soc_brcm_bcm2837 \
220	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
221contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c	optional vchiq soc_brcm_bcm2837 \
222	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
223contrib/vchiq/interface/vchiq_arm/vchiq_arm.c	optional vchiq soc_brcm_bcm2837 \
224	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
225contrib/vchiq/interface/vchiq_arm/vchiq_connected.c	optional vchiq soc_brcm_bcm2837 \
226	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
227contrib/vchiq/interface/vchiq_arm/vchiq_core.c	optional vchiq soc_brcm_bcm2837 \
228	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
229contrib/vchiq/interface/vchiq_arm/vchiq_kern_lib.c	optional vchiq soc_brcm_bcm2837 \
230	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
231contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c	optional vchiq soc_brcm_bcm2837 \
232	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
233contrib/vchiq/interface/vchiq_arm/vchiq_shim.c	optional vchiq soc_brcm_bcm2837 \
234	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
235contrib/vchiq/interface/vchiq_arm/vchiq_util.c	optional vchiq soc_brcm_bcm2837 \
236	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
237crypto/armv8/armv8_crypto.c	optional	armv8crypto
238armv8_crypto_wrap.o		optional	armv8crypto		\
239	dependency	"$S/crypto/armv8/armv8_crypto_wrap.c"		\
240	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ ${WERROR} ${NO_WCAST_QUAL} ${PROF} -march=armv8-a+crypto ${.IMPSRC}" \
241	no-implicit-rule						\
242	clean		"armv8_crypto_wrap.o"
243crypto/des/des_enc.c		optional	netsmb
244dev/acpica/acpi_bus_if.m	optional	acpi
245dev/acpica/acpi_if.m		optional	acpi
246dev/acpica/acpi_pci_link.c	optional	acpi pci
247dev/acpica/acpi_pcib.c		optional	acpi pci
248dev/acpica/acpi_pxm.c		optional	acpi
249dev/ahci/ahci_fsl_fdt.c		optional	SOC_NXP_LS ahci fdt
250dev/ahci/ahci_generic.c		optional	ahci
251dev/altera/dwc/if_dwc_socfpga.c	optional	fdt dwc_socfpga
252dev/axgbe/if_axgbe.c		optional	axgbe
253dev/axgbe/xgbe-desc.c		optional	axgbe
254dev/axgbe/xgbe-dev.c		optional	axgbe
255dev/axgbe/xgbe-drv.c		optional	axgbe
256dev/axgbe/xgbe-mdio.c		optional	axgbe
257dev/cpufreq/cpufreq_dt.c	optional	cpufreq fdt
258dev/ice/if_ice_iflib.c		optional	ice pci \
259	compile-with "${NORMAL_C} -I$S/dev/ice"
260dev/ice/ice_lib.c		optional	ice pci \
261	compile-with "${NORMAL_C} -I$S/dev/ice"
262dev/ice/ice_osdep.c		optional	ice pci \
263	compile-with "${NORMAL_C} -I$S/dev/ice"
264dev/ice/ice_resmgr.c		optional	ice pci \
265	compile-with "${NORMAL_C} -I$S/dev/ice"
266dev/ice/ice_strings.c		optional	ice pci \
267	compile-with "${NORMAL_C} -I$S/dev/ice"
268dev/ice/ice_iflib_recovery_txrx.c	optional	ice pci \
269	compile-with "${NORMAL_C} -I$S/dev/ice"
270dev/ice/ice_iflib_txrx.c	optional	ice pci \
271	compile-with "${NORMAL_C} -I$S/dev/ice"
272dev/ice/ice_common.c		optional	ice pci \
273	compile-with "${NORMAL_C} -I$S/dev/ice"
274dev/ice/ice_controlq.c		optional	ice pci \
275	compile-with "${NORMAL_C} -I$S/dev/ice"
276dev/ice/ice_dcb.c		optional	ice pci \
277	compile-with "${NORMAL_C} -I$S/dev/ice"
278dev/ice/ice_flex_pipe.c		optional	ice pci \
279	compile-with "${NORMAL_C} -I$S/dev/ice"
280dev/ice/ice_flow.c		optional	ice pci \
281	compile-with "${NORMAL_C} -I$S/dev/ice"
282dev/ice/ice_nvm.c		optional	ice pci \
283	compile-with "${NORMAL_C} -I$S/dev/ice"
284dev/ice/ice_sched.c		optional	ice pci \
285	compile-with "${NORMAL_C} -I$S/dev/ice"
286dev/ice/ice_sriov.c		optional	ice pci \
287	compile-with "${NORMAL_C} -I$S/dev/ice"
288dev/ice/ice_switch.c		optional	ice pci \
289	compile-with "${NORMAL_C} -I$S/dev/ice"
290ice_ddp.c			optional ice_ddp	\
291	compile-with	"${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01030900 -mice_ddp -c${.TARGET}"	\
292	no-implicit-rule before-depend local		\
293	clean		"ice_ddp.c"
294ice_ddp.fwo			optional ice_ddp	\
295	dependency	"ice_ddp.fw"			\
296	compile-with	"${NORMAL_FWO}"			\
297	no-implicit-rule				\
298	clean		"ice_ddp.fwo"
299ice_ddp.fw			optional ice_ddp	\
300	dependency	"$S/contrib/dev/ice/ice-1.3.9.0.pkg" \
301	compile-with	"${CP} $S/contrib/dev/ice/ice-1.3.9.0.pkg ice_ddp.fw" \
302	no-obj no-implicit-rule				\
303	clean		"ice_ddp.fw"
304dev/iicbus/sy8106a.c		optional	sy8106a fdt
305dev/iicbus/twsi/mv_twsi.c	optional	twsi fdt
306dev/iicbus/twsi/a10_twsi.c	optional	twsi fdt
307dev/iicbus/twsi/twsi.c		optional	twsi fdt
308dev/hwpmc/hwpmc_arm64.c		optional	hwpmc
309dev/hwpmc/hwpmc_arm64_md.c	optional	hwpmc
310dev/mbox/mbox_if.m		optional	soc_brcm_bcm2837
311dev/mmc/host/dwmmc.c		optional	dwmmc fdt
312dev/mmc/host/dwmmc_altera.c	optional	dwmmc dwmmc_altera fdt
313dev/mmc/host/dwmmc_hisi.c	optional	dwmmc dwmmc_hisi fdt
314dev/mmc/host/dwmmc_rockchip.c	optional	dwmmc rk_dwmmc fdt
315dev/neta/if_mvneta_fdt.c	optional	neta fdt
316dev/neta/if_mvneta.c		optional	neta mdio mii
317dev/ofw/ofw_cpu.c		optional	fdt
318dev/ofw/ofwpci.c		optional 	fdt pci
319dev/pci/controller/pci_n1sdp.c	optional	pci_n1sdp acpi
320dev/pci/pci_host_generic.c	optional	pci
321dev/pci/pci_host_generic_acpi.c	optional	pci acpi
322dev/pci/pci_host_generic_fdt.c	optional	pci fdt
323dev/pci/pci_dw_mv.c		optional	pci fdt
324dev/pci/pci_dw.c		optional	pci fdt
325dev/pci/pci_dw_if.m		optional	pci fdt
326dev/psci/psci.c			standard
327dev/psci/smccc_arm64.S		standard
328dev/psci/smccc.c		standard
329dev/safexcel/safexcel.c		optional	safexcel fdt
330dev/sdhci/sdhci_xenon.c		optional	sdhci_xenon sdhci fdt
331dev/uart/uart_cpu_arm64.c	optional	uart
332dev/uart/uart_dev_mu.c		optional	uart uart_mu
333dev/uart/uart_dev_pl011.c	optional	uart pl011
334dev/usb/controller/dwc_otg_hisi.c optional	dwcotg fdt soc_hisi_hi6220
335dev/usb/controller/dwc3.c	optional fdt dwc3
336dev/usb/controller/ehci_mv.c	optional	ehci_mv fdt
337dev/usb/controller/generic_ehci.c optional	ehci
338dev/usb/controller/generic_ehci_acpi.c optional	ehci acpi
339dev/usb/controller/generic_ehci_fdt.c optional	ehci fdt
340dev/usb/controller/generic_ohci.c optional	ohci fdt
341dev/usb/controller/generic_usb_if.m optional	ohci fdt
342dev/usb/controller/usb_nop_xceiv.c	optional fdt ext_resources
343dev/usb/controller/generic_xhci.c	optional	xhci
344dev/usb/controller/generic_xhci_acpi.c	optional	xhci acpi
345dev/usb/controller/generic_xhci_fdt.c	optional	xhci fdt
346dev/vnic/mrml_bridge.c		optional	vnic fdt
347dev/vnic/nic_main.c		optional	vnic pci
348dev/vnic/nicvf_main.c		optional	vnic pci pci_iov
349dev/vnic/nicvf_queues.c		optional	vnic pci pci_iov
350dev/vnic/thunder_bgx_fdt.c	optional	vnic fdt
351dev/vnic/thunder_bgx.c		optional	vnic pci
352dev/vnic/thunder_mdio_fdt.c	optional	vnic fdt
353dev/vnic/thunder_mdio.c		optional	vnic
354dev/vnic/lmac_if.m		optional	inet | inet6 | vnic
355kern/kern_clocksource.c		standard
356kern/msi_if.m			optional	intrng
357kern/pic_if.m			optional	intrng
358kern/subr_devmap.c		standard
359kern/subr_intr.c		optional	intrng
360kern/subr_physmem.c		standard
361libkern/bcmp.c			standard
362libkern/memcmp.c		standard				\
363	compile-with "${NORMAL_C:N-fsanitize*}"
364libkern/memset.c		standard				\
365	compile-with "${NORMAL_C:N-fsanitize*}"
366libkern/arm64/crc32c_armv8.S	standard
367cddl/dev/dtrace/aarch64/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
368cddl/dev/dtrace/aarch64/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
369cddl/dev/fbt/aarch64/fbt_isa.c				optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
370
371# RockChip Drivers
372arm64/rockchip/rk3399_emmcphy.c		optional fdt rk_emmcphy soc_rockchip_rk3399
373arm64/rockchip/rk_dwc3.c		optional fdt rk_dwc3 soc_rockchip_rk3399
374arm64/rockchip/rk_i2c.c			optional fdt rk_i2c soc_rockchip_rk3328 | fdt rk_i2c soc_rockchip_rk3399
375arm64/rockchip/rk805.c			optional fdt rk805 soc_rockchip_rk3328 | fdt rk805 soc_rockchip_rk3399
376arm64/rockchip/rk_grf.c			optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
377arm64/rockchip/rk_pinctrl.c		optional fdt rk_pinctrl soc_rockchip_rk3328 | fdt rk_pinctrl soc_rockchip_rk3399
378arm64/rockchip/rk_gpio.c		optional fdt rk_gpio soc_rockchip_rk3328 | fdt rk_gpio soc_rockchip_rk3399
379arm64/rockchip/rk_iodomain.c		optional fdt rk_iodomain
380arm64/rockchip/rk_spi.c			optional fdt rk_spi
381arm64/rockchip/rk_usb2phy.c		optional fdt rk_usb2phy soc_rockchip_rk3328 | soc_rockchip_rk3399
382arm64/rockchip/rk_typec_phy.c		optional fdt rk_typec_phy soc_rockchip_rk3399
383arm64/rockchip/if_dwc_rk.c		optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
384arm64/rockchip/rk_tsadc_if.m		optional fdt soc_rockchip_rk3399
385arm64/rockchip/rk_tsadc.c		optional fdt soc_rockchip_rk3399
386arm64/rockchip/rk_pwm.c			optional fdt rk_pwm
387arm64/rockchip/rk_pcie.c		optional fdt pci soc_rockchip_rk3399
388arm64/rockchip/rk_pcie_phy.c		optional fdt pci soc_rockchip_rk3399
389dev/dwc/if_dwc.c			optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
390dev/dwc/if_dwc_if.m			optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
391
392# RockChip Clock support
393arm64/rockchip/clk/rk_cru.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
394arm64/rockchip/clk/rk_clk_armclk.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
395arm64/rockchip/clk/rk_clk_composite.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
396arm64/rockchip/clk/rk_clk_fract.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
397arm64/rockchip/clk/rk_clk_gate.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
398arm64/rockchip/clk/rk_clk_mux.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
399arm64/rockchip/clk/rk_clk_pll.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
400arm64/rockchip/clk/rk3328_cru.c		optional fdt soc_rockchip_rk3328
401arm64/rockchip/clk/rk3399_cru.c		optional fdt soc_rockchip_rk3399
402arm64/rockchip/clk/rk3399_pmucru.c	optional fdt soc_rockchip_rk3399
403
404# i.MX8 Clock support
405arm64/freescale/imx/imx8mq_ccm.c	optional fdt soc_freescale_imx8
406arm64/freescale/imx/clk/imx_clk_gate.c	optional fdt soc_freescale_imx8
407arm64/freescale/imx/clk/imx_clk_mux.c	optional fdt soc_freescale_imx8
408arm64/freescale/imx/clk/imx_clk_composite.c	optional fdt soc_freescale_imx8
409arm64/freescale/imx/clk/imx_clk_sscg_pll.c	optional fdt soc_freescale_imx8
410arm64/freescale/imx/clk/imx_clk_frac_pll.c	optional fdt soc_freescale_imx8
411
412# iMX drivers
413arm/freescale/imx/imx_gpio.c		optional gpio soc_freescale_imx8
414arm/freescale/imx/imx_i2c.c		optional fsliic
415arm/freescale/imx/imx_machdep.c		optional fdt soc_freescale_imx8
416arm64/freescale/imx/imx7gpc.c		optional fdt soc_freescale_imx8
417dev/ffec/if_ffec.c			optional ffec
418