xref: /freebsd/sys/conf/files.arm64 (revision 82397d791966b09d344251bc709cd9db2b3a1902)
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/arm/pmu_fdt.c		optional	fdt
89arm/broadcom/bcm2835/bcm2835_audio.c		optional sound vchiq fdt \
90	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
91arm/broadcom/bcm2835/bcm2835_bsc.c		optional bcm2835_bsc fdt
92arm/broadcom/bcm2835/bcm2835_clkman.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
93arm/broadcom/bcm2835/bcm2835_cpufreq.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
94arm/broadcom/bcm2835/bcm2835_dma.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
95arm/broadcom/bcm2835/bcm2835_fbd.c		optional vt soc_brcm_bcm2837 fdt | vt soc_brcm_bcm2838 fdt
96arm/broadcom/bcm2835/bcm2835_firmware.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
97arm/broadcom/bcm2835/bcm2835_ft5406.c		optional evdev bcm2835_ft5406 fdt
98arm/broadcom/bcm2835/bcm2835_gpio.c		optional gpio soc_brcm_bcm2837 fdt | gpio soc_brcm_bcm2838 fdt
99arm/broadcom/bcm2835/bcm2835_intr.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
100arm/broadcom/bcm2835/bcm2835_mbox.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
101arm/broadcom/bcm2835/bcm2835_rng.c		optional !random_loadable soc_brcm_bcm2837 fdt | !random_loadable soc_brcm_bcm2838 fdt
102arm/broadcom/bcm2835/bcm2835_sdhci.c		optional sdhci soc_brcm_bcm2837 fdt | sdhci soc_brcm_bcm2838 fdt
103arm/broadcom/bcm2835/bcm2835_sdhost.c		optional sdhci soc_brcm_bcm2837 fdt | sdhci soc_brcm_bcm2838 fdt
104arm/broadcom/bcm2835/bcm2835_spi.c		optional bcm2835_spi fdt
105arm/broadcom/bcm2835/bcm2835_vcbus.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
106arm/broadcom/bcm2835/bcm2835_vcio.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
107arm/broadcom/bcm2835/bcm2835_wdog.c		optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
108arm/broadcom/bcm2835/bcm2836.c			optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt
109arm/broadcom/bcm2835/bcm283x_dwc_fdt.c		optional dwcotg fdt soc_brcm_bcm2837 | dwcotg fdt soc_brcm_bcm2838
110arm/broadcom/bcm2835/bcm2838_pci.c		optional soc_brcm_bcm2838 fdt pci
111arm/broadcom/bcm2835/bcm2838_xhci.c		optional soc_brcm_bcm2838 fdt pci xhci
112arm/broadcom/bcm2835/raspberrypi_gpio.c		optional soc_brcm_bcm2837 gpio | soc_brcm_bcm2838 gpio
113arm/freescale/vybrid/vf_i2c.c			optional vf_i2c iicbus SOC_NXP_LS
114arm/mv/a37x0_gpio.c				optional a37x0_gpio gpio fdt
115arm/mv/a37x0_iic.c				optional a37x0_iic iicbus fdt
116arm/mv/a37x0_spi.c				optional a37x0_spi spibus fdt
117arm/mv/armada38x/armada38x_rtc.c		optional mv_rtc fdt
118arm/mv/gpio.c					optional mv_gpio fdt
119arm/mv/mvebu_gpio.c				optional mv_gpio fdt
120arm/mv/mvebu_pinctrl.c				optional mvebu_pinctrl fdt
121arm/mv/mv_ap806_clock.c				optional SOC_MARVELL_8K fdt
122arm/mv/mv_ap806_gicp.c				optional mv_ap806_gicp fdt
123arm/mv/mv_ap806_sei.c				optional mv_ap806_sei fdt
124arm/mv/mv_cp110_clock.c				optional SOC_MARVELL_8K fdt
125arm/mv/mv_cp110_icu.c				optional mv_cp110_icu fdt
126arm/mv/mv_cp110_icu_bus.c			optional mv_cp110_icu fdt
127arm/mv/mv_thermal.c				optional SOC_MARVELL_8K mv_thermal fdt
128arm/mv/armada38x/armada38x_rtc.c		optional mv_rtc fdt
129arm/nvidia/tegra_abpmisc.c			optional fdt soc_nvidia_tegra210
130arm/nvidia/tegra_ahci.c				optional fdt soc_nvidia_tegra210
131arm/nvidia/tegra_efuse.c			optional fdt soc_nvidia_tegra210
132arm/nvidia/tegra_ehci.c				optional fdt soc_nvidia_tegra210
133arm/nvidia/tegra_gpio.c				optional fdt soc_nvidia_tegra210
134arm/nvidia/tegra_i2c.c				optional fdt soc_nvidia_tegra210
135arm/nvidia/tegra_lic.c				optional fdt soc_nvidia_tegra210
136arm/nvidia/tegra_mc.c				optional fdt soc_nvidia_tegra210
137arm/nvidia/tegra_pcie.c				optional fdt soc_nvidia_tegra210
138arm/nvidia/tegra_sdhci.c			optional fdt soc_nvidia_tegra210
139arm/nvidia/tegra_soctherm_if.m			optional fdt soc_nvidia_tegra210
140arm/nvidia/tegra_soctherm.c			optional fdt soc_nvidia_tegra210
141arm/nvidia/tegra_uart.c				optional fdt soc_nvidia_tegra210
142arm/nvidia/tegra_usbphy.c			optional fdt soc_nvidia_tegra210
143arm/nvidia/tegra_xhci.c				optional fdt soc_nvidia_tegra210
144arm/xilinx/uart_dev_cdnc.c			optional uart soc_xilinx_zynq
145arm64/acpica/acpi_iort.c	optional	acpi
146arm64/acpica/acpi_machdep.c	optional	acpi
147arm64/acpica/OsdEnvironment.c	optional	acpi
148arm64/acpica/acpi_wakeup.c	optional	acpi
149arm64/acpica/pci_cfgreg.c	optional	acpi	pci
150arm64/arm64/autoconf.c		standard
151arm64/arm64/bus_machdep.c	standard
152arm64/arm64/bus_space_asm.S	standard
153arm64/arm64/busdma_bounce.c	standard
154arm64/arm64/busdma_machdep.c	standard
155arm64/arm64/bzero.S		standard
156arm64/arm64/clock.c		standard
157arm64/arm64/copyinout.S		standard
158arm64/arm64/cpu_errata.c	standard
159arm64/arm64/cpufunc_asm.S	standard
160arm64/arm64/db_disasm.c		optional	ddb
161arm64/arm64/db_interface.c	optional	ddb
162arm64/arm64/db_trace.c		optional	ddb
163arm64/arm64/debug_monitor.c	standard
164arm64/arm64/disassem.c		optional	ddb
165arm64/arm64/dump_machdep.c	standard
166arm64/arm64/efirt_machdep.c	optional	efirt
167arm64/arm64/elf32_machdep.c	optional	compat_freebsd32
168arm64/arm64/elf_machdep.c	standard
169arm64/arm64/exception.S		standard
170arm64/arm64/freebsd32_machdep.c	optional	compat_freebsd32
171arm64/arm64/gicv3_its.c		optional	intrng fdt
172arm64/arm64/gic_v3.c		standard
173arm64/arm64/gic_v3_acpi.c	optional	acpi
174arm64/arm64/gic_v3_fdt.c	optional	fdt
175arm64/arm64/identcpu.c		standard
176arm64/arm64/in_cksum.c		optional	inet | inet6
177arm64/arm64/locore.S		standard	no-obj
178arm64/arm64/machdep.c		standard
179arm64/arm64/machdep_boot.c	standard
180arm64/arm64/mem.c		standard
181arm64/arm64/memcpy.S		standard
182arm64/arm64/memmove.S		standard
183arm64/arm64/minidump_machdep.c	standard
184arm64/arm64/mp_machdep.c	optional	smp
185arm64/arm64/nexus.c		standard
186arm64/arm64/ofw_machdep.c	optional	fdt
187arm64/arm64/pmap.c		standard
188arm64/arm64/stack_machdep.c	optional	ddb | stack
189arm64/arm64/support.S		standard
190arm64/arm64/swtch.S		standard
191arm64/arm64/sys_machdep.c	standard
192arm64/arm64/trap.c		standard
193arm64/arm64/uio_machdep.c	standard
194arm64/arm64/uma_machdep.c	standard
195arm64/arm64/undefined.c		standard
196arm64/arm64/unwind.c		optional	ddb | kdtrace_hooks | stack
197arm64/arm64/vfp.c		standard
198arm64/arm64/vm_machdep.c	standard
199arm64/broadcom/brcmmdio/mdio_mux_iproc.c	optional	fdt
200arm64/broadcom/brcmmdio/mdio_nexus_iproc.c	optional	fdt
201arm64/broadcom/brcmmdio/mdio_ns2_pcie_phy.c	optional	fdt pci
202arm64/broadcom/genet/if_genet.c		optional SOC_BRCM_BCM2838 fdt genet
203arm64/cavium/thunder_pcie_fdt.c		optional	soc_cavm_thunderx pci fdt
204arm64/cavium/thunder_pcie_pem.c		optional	soc_cavm_thunderx pci
205arm64/cavium/thunder_pcie_pem_fdt.c	optional	soc_cavm_thunderx pci fdt
206arm64/cavium/thunder_pcie_common.c	optional	soc_cavm_thunderx pci
207arm64/cloudabi32/cloudabi32_sysvec.c	optional compat_cloudabi32
208arm64/cloudabi64/cloudabi64_sysvec.c	optional compat_cloudabi64
209arm64/coresight/coresight.c			standard
210arm64/coresight/coresight_acpi.c		optional acpi
211arm64/coresight/coresight_fdt.c			optional fdt
212arm64/coresight/coresight_if.m			standard
213arm64/coresight/coresight_cmd.c			standard
214arm64/coresight/coresight_cpu_debug.c		standard
215arm64/coresight/coresight_etm4x.c		standard
216arm64/coresight/coresight_etm4x_acpi.c		optional acpi
217arm64/coresight/coresight_etm4x_fdt.c		optional fdt
218arm64/coresight/coresight_funnel.c		standard
219arm64/coresight/coresight_funnel_acpi.c		optional acpi
220arm64/coresight/coresight_funnel_fdt.c		optional fdt
221arm64/coresight/coresight_replicator.c		standard
222arm64/coresight/coresight_replicator_acpi.c	optional acpi
223arm64/coresight/coresight_replicator_fdt.c	optional fdt
224arm64/coresight/coresight_tmc.c			standard
225arm64/coresight/coresight_tmc_acpi.c		optional acpi
226arm64/coresight/coresight_tmc_fdt.c		optional fdt
227arm64/intel/firmware.c				optional soc_intel_stratix10
228arm64/intel/stratix10-soc-fpga-mgr.c		optional soc_intel_stratix10
229arm64/intel/stratix10-svc.c			optional soc_intel_stratix10
230arm64/iommu/iommu.c				optional iommu
231arm64/iommu/iommu_if.m				optional iommu
232arm64/iommu/smmu.c				optional iommu
233arm64/iommu/smmu_acpi.c				optional acpi iommu
234arm64/iommu/smmu_quirks.c			optional iommu
235arm64/nvidia/tegra210/max77620.c		optional fdt soc_nvidia_tegra210
236arm64/nvidia/tegra210/max77620_gpio.c		optional fdt soc_nvidia_tegra210
237arm64/nvidia/tegra210/max77620_regulators.c	optional fdt soc_nvidia_tegra210
238arm64/nvidia/tegra210/max77620_rtc.c		optional fdt soc_nvidia_tegra210
239arm64/nvidia/tegra210/tegra210_car.c		optional fdt soc_nvidia_tegra210
240arm64/nvidia/tegra210/tegra210_clk_per.c	optional fdt soc_nvidia_tegra210
241arm64/nvidia/tegra210/tegra210_clk_pll.c	optional fdt soc_nvidia_tegra210
242arm64/nvidia/tegra210/tegra210_clk_super.c	optional fdt soc_nvidia_tegra210
243arm64/nvidia/tegra210/tegra210_coretemp.c	optional fdt soc_nvidia_tegra210
244arm64/nvidia/tegra210/tegra210_cpufreq.c	optional fdt soc_nvidia_tegra210
245arm64/nvidia/tegra210/tegra210_pinmux.c		optional fdt soc_nvidia_tegra210
246arm64/nvidia/tegra210/tegra210_pmc.c		optional fdt soc_nvidia_tegra210
247arm64/nvidia/tegra210/tegra210_xusbpadctl.c	optional fdt soc_nvidia_tegra210
248arm64/qoriq/ls1046_gpio.c			optional ls1046_gpio gpio fdt SOC_NXP_LS
249arm64/qoriq/qoriq_dw_pci.c			optional pci fdt SOC_NXP_LS
250arm64/qoriq/qoriq_therm.c			optional pci fdt SOC_NXP_LS
251arm64/qoriq/qoriq_therm_if.m			optional pci fdt SOC_NXP_LS
252arm64/qoriq/clk/ls1046a_clkgen.c		optional clk SOC_NXP_LS
253arm64/qoriq/clk/lx2160a_clkgen.c		optional clk SOC_NXP_LS
254arm64/qoriq/clk/qoriq_clk_pll.c			optional clk SOC_NXP_LS
255arm64/qoriq/clk/qoriq_clkgen.c			optional clk SOC_NXP_LS
256arm64/qualcomm/qcom_gcc.c			optional qcom_gcc fdt
257contrib/vchiq/interface/compat/vchi_bsd.c	optional vchiq soc_brcm_bcm2837 \
258	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
259contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c	optional vchiq soc_brcm_bcm2837 \
260	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
261contrib/vchiq/interface/vchiq_arm/vchiq_arm.c	optional vchiq soc_brcm_bcm2837 \
262	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
263contrib/vchiq/interface/vchiq_arm/vchiq_connected.c	optional vchiq soc_brcm_bcm2837 \
264	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
265contrib/vchiq/interface/vchiq_arm/vchiq_core.c	optional vchiq soc_brcm_bcm2837 \
266	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
267contrib/vchiq/interface/vchiq_arm/vchiq_kern_lib.c	optional vchiq soc_brcm_bcm2837 \
268	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
269contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c	optional vchiq soc_brcm_bcm2837 \
270	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
271contrib/vchiq/interface/vchiq_arm/vchiq_shim.c	optional vchiq soc_brcm_bcm2837 \
272	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
273contrib/vchiq/interface/vchiq_arm/vchiq_util.c	optional vchiq soc_brcm_bcm2837 \
274	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
275crypto/armv8/armv8_crypto.c	optional	armv8crypto
276armv8_crypto_wrap.o		optional	armv8crypto		\
277	dependency	"$S/crypto/armv8/armv8_crypto_wrap.c"		\
278	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}" \
279	no-implicit-rule						\
280	clean		"armv8_crypto_wrap.o"
281crypto/des/des_enc.c		optional	netsmb
282crypto/openssl/ossl_aarch64.c	optional	ossl
283crypto/openssl/aarch64/sha1-armv8.S	optional ossl		\
284	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
285crypto/openssl/aarch64/sha256-armv8.S	optional ossl		\
286	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
287crypto/openssl/aarch64/sha512-armv8.S	optional ossl		\
288	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
289dev/acpica/acpi_bus_if.m	optional	acpi
290dev/acpica/acpi_if.m		optional	acpi
291dev/acpica/acpi_pci_link.c	optional	acpi pci
292dev/acpica/acpi_pcib.c		optional	acpi pci
293dev/acpica/acpi_pxm.c		optional	acpi
294dev/ahci/ahci_fsl_fdt.c		optional	SOC_NXP_LS ahci fdt
295dev/ahci/ahci_generic.c		optional	ahci
296dev/altera/dwc/if_dwc_socfpga.c	optional	fdt dwc_socfpga
297dev/axgbe/if_axgbe.c		optional	axa
298dev/axgbe/xgbe-desc.c		optional	axa
299dev/axgbe/xgbe-dev.c		optional	axa
300dev/axgbe/xgbe-drv.c		optional	axa
301dev/axgbe/xgbe-mdio.c		optional	axa
302dev/axgbe/xgbe-sysctl.c		optional	axa
303dev/axgbe/xgbe-txrx.c		optional	axa
304dev/axgbe/xgbe_osdep.c		optional	axa
305dev/axgbe/xgbe-phy-v1.c		optional	axa
306dev/cpufreq/cpufreq_dt.c	optional	cpufreq fdt
307dev/gpio/pl061.c		optional	pl061 gpio
308dev/gpio/pl061_acpi.c		optional	pl061 gpio acpi
309dev/gpio/pl061_fdt.c		optional	pl061 gpio fdt
310dev/hwpmc/hwpmc_arm64.c		optional	hwpmc
311dev/hwpmc/hwpmc_arm64_md.c	optional	hwpmc
312dev/ice/if_ice_iflib.c		optional	ice pci \
313	compile-with "${NORMAL_C} -I$S/dev/ice"
314dev/ice/ice_lib.c		optional	ice pci \
315	compile-with "${NORMAL_C} -I$S/dev/ice"
316dev/ice/ice_osdep.c		optional	ice pci \
317	compile-with "${NORMAL_C} -I$S/dev/ice"
318dev/ice/ice_resmgr.c		optional	ice pci \
319	compile-with "${NORMAL_C} -I$S/dev/ice"
320dev/ice/ice_strings.c		optional	ice pci \
321	compile-with "${NORMAL_C} -I$S/dev/ice"
322dev/ice/ice_iflib_recovery_txrx.c	optional	ice pci \
323	compile-with "${NORMAL_C} -I$S/dev/ice"
324dev/ice/ice_iflib_txrx.c	optional	ice pci \
325	compile-with "${NORMAL_C} -I$S/dev/ice"
326dev/ice/ice_common.c		optional	ice pci \
327	compile-with "${NORMAL_C} -I$S/dev/ice"
328dev/ice/ice_controlq.c		optional	ice pci \
329	compile-with "${NORMAL_C} -I$S/dev/ice"
330dev/ice/ice_dcb.c		optional	ice pci \
331	compile-with "${NORMAL_C} -I$S/dev/ice"
332dev/ice/ice_flex_pipe.c		optional	ice pci \
333	compile-with "${NORMAL_C} -I$S/dev/ice"
334dev/ice/ice_flow.c		optional	ice pci \
335	compile-with "${NORMAL_C} -I$S/dev/ice"
336dev/ice/ice_nvm.c		optional	ice pci \
337	compile-with "${NORMAL_C} -I$S/dev/ice"
338dev/ice/ice_sched.c		optional	ice pci \
339	compile-with "${NORMAL_C} -I$S/dev/ice"
340dev/ice/ice_sriov.c		optional	ice pci \
341	compile-with "${NORMAL_C} -I$S/dev/ice"
342dev/ice/ice_switch.c		optional	ice pci \
343	compile-with "${NORMAL_C} -I$S/dev/ice"
344ice_ddp.c			optional ice_ddp	\
345	compile-with	"${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031000 -mice_ddp -c${.TARGET}"	\
346	no-implicit-rule before-depend local		\
347	clean		"ice_ddp.c"
348ice_ddp.fwo			optional ice_ddp	\
349	dependency	"ice_ddp.fw"			\
350	compile-with	"${NORMAL_FWO}"			\
351	no-implicit-rule				\
352	clean		"ice_ddp.fwo"
353ice_ddp.fw			optional ice_ddp	\
354	dependency	"$S/contrib/dev/ice/ice-1.3.16.0.pkg" \
355	compile-with	"${CP} $S/contrib/dev/ice/ice-1.3.16.0.pkg ice_ddp.fw" \
356	no-obj no-implicit-rule				\
357	clean		"ice_ddp.fw"
358dev/iicbus/sy8106a.c		optional	sy8106a fdt
359dev/iicbus/twsi/mv_twsi.c	optional	twsi fdt
360dev/iicbus/twsi/a10_twsi.c	optional	twsi fdt
361dev/iicbus/twsi/twsi.c		optional	twsi fdt
362dev/iommu/busdma_iommu.c	optional	iommu
363dev/iommu/iommu_gas.c		optional	iommu
364dev/mbox/mbox_if.m		optional	soc_brcm_bcm2837
365dev/mmc/host/dwmmc.c		optional	dwmmc fdt
366dev/mmc/host/dwmmc_altera.c	optional	dwmmc dwmmc_altera fdt
367dev/mmc/host/dwmmc_hisi.c	optional	dwmmc dwmmc_hisi fdt
368dev/mmc/host/dwmmc_rockchip.c	optional	dwmmc rk_dwmmc fdt
369dev/neta/if_mvneta_fdt.c	optional	neta fdt
370dev/neta/if_mvneta.c		optional	neta mdio mii
371dev/ofw/ofw_cpu.c		optional	fdt
372dev/ofw/ofwpci.c		optional 	fdt pci
373dev/pci/controller/pci_n1sdp.c	optional	pci_n1sdp acpi
374dev/pci/pci_host_generic.c	optional	pci
375dev/pci/pci_host_generic_acpi.c	optional	pci acpi
376dev/pci/pci_host_generic_fdt.c	optional	pci fdt
377dev/pci/pci_dw_mv.c		optional	pci fdt
378dev/pci/pci_dw.c		optional	pci fdt
379dev/pci/pci_dw_if.m		optional	pci fdt
380dev/psci/psci.c			standard
381dev/psci/smccc_arm64.S		standard
382dev/psci/smccc.c		standard
383dev/safexcel/safexcel.c		optional	safexcel fdt
384dev/sdhci/sdhci_xenon.c		optional	sdhci_xenon sdhci fdt
385dev/uart/uart_cpu_arm64.c	optional	uart
386dev/uart/uart_dev_mu.c		optional	uart uart_mu
387dev/uart/uart_dev_pl011.c	optional	uart pl011
388dev/usb/controller/dwc_otg_hisi.c optional	dwcotg fdt soc_hisi_hi6220
389dev/usb/controller/dwc3.c	optional fdt dwc3
390dev/usb/controller/ehci_mv.c	optional	ehci_mv fdt
391dev/usb/controller/generic_ehci.c optional	ehci
392dev/usb/controller/generic_ehci_acpi.c optional	ehci acpi
393dev/usb/controller/generic_ehci_fdt.c optional	ehci fdt
394dev/usb/controller/generic_ohci.c optional	ohci fdt
395dev/usb/controller/generic_usb_if.m optional	ohci fdt
396dev/usb/controller/musb_otg_allwinner.c	optional musb fdt soc_allwinner_a64
397dev/usb/controller/usb_nop_xceiv.c	optional fdt ext_resources
398dev/usb/controller/generic_xhci.c	optional	xhci
399dev/usb/controller/generic_xhci_acpi.c	optional	xhci acpi
400dev/usb/controller/generic_xhci_fdt.c	optional	xhci fdt
401dev/vnic/mrml_bridge.c		optional	vnic fdt
402dev/vnic/nic_main.c		optional	vnic pci
403dev/vnic/nicvf_main.c		optional	vnic pci pci_iov
404dev/vnic/nicvf_queues.c		optional	vnic pci pci_iov
405dev/vnic/thunder_bgx_fdt.c	optional	vnic fdt
406dev/vnic/thunder_bgx.c		optional	vnic pci
407dev/vnic/thunder_mdio_fdt.c	optional	vnic fdt
408dev/vnic/thunder_mdio.c		optional	vnic
409dev/vnic/lmac_if.m		optional	inet | inet6 | vnic
410kern/msi_if.m			optional	intrng
411kern/pic_if.m			optional	intrng
412kern/subr_devmap.c		standard
413kern/subr_intr.c		optional	intrng
414kern/subr_physmem.c		standard
415libkern/bcmp.c			standard
416libkern/memcmp.c		standard				\
417	compile-with "${NORMAL_C:N-fsanitize*}"
418libkern/memset.c		standard				\
419	compile-with "${NORMAL_C:N-fsanitize*}"
420libkern/arm64/crc32c_armv8.S	standard
421cddl/dev/dtrace/aarch64/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
422cddl/dev/dtrace/aarch64/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
423cddl/dev/fbt/aarch64/fbt_isa.c				optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
424
425# RockChip Drivers
426arm64/rockchip/rk3399_emmcphy.c		optional fdt rk_emmcphy soc_rockchip_rk3399
427arm64/rockchip/rk_dwc3.c		optional fdt rk_dwc3 soc_rockchip_rk3399
428arm64/rockchip/rk_i2c.c			optional fdt rk_i2c soc_rockchip_rk3328 | fdt rk_i2c soc_rockchip_rk3399
429arm64/rockchip/rk805.c			optional fdt rk805 soc_rockchip_rk3328 | fdt rk805 soc_rockchip_rk3399
430arm64/rockchip/rk_grf.c			optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
431arm64/rockchip/rk_pinctrl.c		optional fdt rk_pinctrl soc_rockchip_rk3328 | fdt rk_pinctrl soc_rockchip_rk3399
432arm64/rockchip/rk_gpio.c		optional fdt rk_gpio soc_rockchip_rk3328 | fdt rk_gpio soc_rockchip_rk3399
433arm64/rockchip/rk_iodomain.c		optional fdt rk_iodomain
434arm64/rockchip/rk_spi.c			optional fdt rk_spi
435arm64/rockchip/rk_usb2phy.c		optional fdt rk_usb2phy soc_rockchip_rk3328 | soc_rockchip_rk3399
436arm64/rockchip/rk_typec_phy.c		optional fdt rk_typec_phy soc_rockchip_rk3399
437arm64/rockchip/if_dwc_rk.c		optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
438arm64/rockchip/rk_tsadc_if.m		optional fdt soc_rockchip_rk3399
439arm64/rockchip/rk_tsadc.c		optional fdt soc_rockchip_rk3399
440arm64/rockchip/rk_pwm.c			optional fdt rk_pwm
441arm64/rockchip/rk_pcie.c		optional fdt pci soc_rockchip_rk3399
442arm64/rockchip/rk_pcie_phy.c		optional fdt pci soc_rockchip_rk3399
443dev/dwc/if_dwc.c			optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
444dev/dwc/if_dwc_if.m			optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
445
446# RockChip Clock support
447arm64/rockchip/clk/rk_cru.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
448arm64/rockchip/clk/rk_clk_armclk.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
449arm64/rockchip/clk/rk_clk_composite.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
450arm64/rockchip/clk/rk_clk_fract.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
451arm64/rockchip/clk/rk_clk_gate.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
452arm64/rockchip/clk/rk_clk_mux.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
453arm64/rockchip/clk/rk_clk_pll.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
454arm64/rockchip/clk/rk3328_cru.c		optional fdt soc_rockchip_rk3328
455arm64/rockchip/clk/rk3399_cru.c		optional fdt soc_rockchip_rk3399
456arm64/rockchip/clk/rk3399_pmucru.c	optional fdt soc_rockchip_rk3399
457
458
459# i.MX8 Clock support
460arm64/freescale/imx/imx8mq_ccm.c	optional fdt soc_freescale_imx8
461arm64/freescale/imx/clk/imx_clk_gate.c	optional fdt soc_freescale_imx8
462arm64/freescale/imx/clk/imx_clk_mux.c	optional fdt soc_freescale_imx8
463arm64/freescale/imx/clk/imx_clk_composite.c	optional fdt soc_freescale_imx8
464arm64/freescale/imx/clk/imx_clk_sscg_pll.c	optional fdt soc_freescale_imx8
465arm64/freescale/imx/clk/imx_clk_frac_pll.c	optional fdt soc_freescale_imx8
466
467# iMX drivers
468arm/freescale/imx/imx_gpio.c		optional gpio soc_freescale_imx8
469arm/freescale/imx/imx_i2c.c		optional fsliic
470arm/freescale/imx/imx_machdep.c		optional fdt soc_freescale_imx8
471arm64/freescale/imx/imx7gpc.c		optional fdt soc_freescale_imx8
472dev/ffec/if_ffec.c			optional ffec
473
474# Nvidia firmware for Tegra
475tegra210_xusb_fw.c	optional	tegra210_xusb_fw		\
476	dependency	"$S/conf/files.arm64"				\
477	compile-with	"${AWK} -f $S/tools/fw_stub.awk tegra210_xusb.fw:tegra210_xusb_fw -mtegra210_xusb_fw -c${.TARGET}" \
478	no-implicit-rule before-depend local				\
479	clean		"tegra210_xusb_fw.c"
480
481tegra210_xusb.fwo	optional	tegra210_xusb_fw		\
482	dependency	"tegra210_xusb.fw"				\
483	compile-with	"${NORMAL_FWO}"					\
484	no-implicit-rule						\
485	clean		"tegra210_xusb.fwo"
486
487tegra210_xusb.fw	optional	tegra210_xusb_fw		\
488	dependency	"$S/contrib/dev/nvidia/tegra210_xusb.bin.uu"	\
489	compile-with	"${NORMAL_FW}"					\
490	no-obj no-implicit-rule						\
491	clean		"tegra210_xusb.fw"
492