xref: /freebsd/sys/conf/files.arm64 (revision c203bd70b5957f85616424b6fa374479372d06e3)
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/contrib/device-tree/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/gdb_machdep.c	optional	gdb
172arm64/arm64/gicv3_its.c		optional	intrng fdt
173arm64/arm64/gic_v3.c		standard
174arm64/arm64/gic_v3_acpi.c	optional	acpi
175arm64/arm64/gic_v3_fdt.c	optional	fdt
176arm64/arm64/identcpu.c		standard
177arm64/arm64/in_cksum.c		optional	inet | inet6
178arm64/arm64/locore.S		standard	no-obj
179arm64/arm64/machdep.c		standard
180arm64/arm64/machdep_boot.c	standard
181arm64/arm64/mem.c		standard
182arm64/arm64/memcpy.S		standard
183arm64/arm64/memmove.S		standard
184arm64/arm64/minidump_machdep.c	standard
185arm64/arm64/mp_machdep.c	optional	smp
186arm64/arm64/nexus.c		standard
187arm64/arm64/ofw_machdep.c	optional	fdt
188arm64/arm64/pmap.c		standard
189arm64/arm64/stack_machdep.c	optional	ddb | stack
190arm64/arm64/support.S		standard
191arm64/arm64/swtch.S		standard
192arm64/arm64/sys_machdep.c	standard
193arm64/arm64/trap.c		standard
194arm64/arm64/uio_machdep.c	standard
195arm64/arm64/uma_machdep.c	standard
196arm64/arm64/undefined.c		standard
197arm64/arm64/unwind.c		optional	ddb | kdtrace_hooks | stack
198arm64/arm64/vfp.c		standard
199arm64/arm64/vm_machdep.c	standard
200arm64/broadcom/brcmmdio/mdio_mux_iproc.c	optional	fdt
201arm64/broadcom/brcmmdio/mdio_nexus_iproc.c	optional	fdt
202arm64/broadcom/brcmmdio/mdio_ns2_pcie_phy.c	optional	fdt pci
203arm64/broadcom/genet/if_genet.c		optional SOC_BRCM_BCM2838 fdt genet
204arm64/cavium/thunder_pcie_fdt.c		optional	soc_cavm_thunderx pci fdt
205arm64/cavium/thunder_pcie_pem.c		optional	soc_cavm_thunderx pci
206arm64/cavium/thunder_pcie_pem_fdt.c	optional	soc_cavm_thunderx pci fdt
207arm64/cavium/thunder_pcie_common.c	optional	soc_cavm_thunderx pci
208arm64/cloudabi32/cloudabi32_sysvec.c	optional compat_cloudabi32
209arm64/cloudabi64/cloudabi64_sysvec.c	optional compat_cloudabi64
210arm64/coresight/coresight.c			standard
211arm64/coresight/coresight_acpi.c		optional acpi
212arm64/coresight/coresight_fdt.c			optional fdt
213arm64/coresight/coresight_if.m			standard
214arm64/coresight/coresight_cmd.c			standard
215arm64/coresight/coresight_cpu_debug.c		standard
216arm64/coresight/coresight_etm4x.c		standard
217arm64/coresight/coresight_etm4x_acpi.c		optional acpi
218arm64/coresight/coresight_etm4x_fdt.c		optional fdt
219arm64/coresight/coresight_funnel.c		standard
220arm64/coresight/coresight_funnel_acpi.c		optional acpi
221arm64/coresight/coresight_funnel_fdt.c		optional fdt
222arm64/coresight/coresight_replicator.c		standard
223arm64/coresight/coresight_replicator_acpi.c	optional acpi
224arm64/coresight/coresight_replicator_fdt.c	optional fdt
225arm64/coresight/coresight_tmc.c			standard
226arm64/coresight/coresight_tmc_acpi.c		optional acpi
227arm64/coresight/coresight_tmc_fdt.c		optional fdt
228arm64/intel/firmware.c				optional soc_intel_stratix10
229arm64/intel/stratix10-soc-fpga-mgr.c		optional soc_intel_stratix10
230arm64/intel/stratix10-svc.c			optional soc_intel_stratix10
231arm64/iommu/iommu.c				optional iommu
232arm64/iommu/iommu_if.m				optional iommu
233arm64/iommu/smmu.c				optional iommu
234arm64/iommu/smmu_acpi.c				optional acpi iommu
235arm64/iommu/smmu_quirks.c			optional iommu
236arm64/nvidia/tegra210/max77620.c		optional fdt soc_nvidia_tegra210
237arm64/nvidia/tegra210/max77620_gpio.c		optional fdt soc_nvidia_tegra210
238arm64/nvidia/tegra210/max77620_regulators.c	optional fdt soc_nvidia_tegra210
239arm64/nvidia/tegra210/max77620_rtc.c		optional fdt soc_nvidia_tegra210
240arm64/nvidia/tegra210/tegra210_car.c		optional fdt soc_nvidia_tegra210
241arm64/nvidia/tegra210/tegra210_clk_per.c	optional fdt soc_nvidia_tegra210
242arm64/nvidia/tegra210/tegra210_clk_pll.c	optional fdt soc_nvidia_tegra210
243arm64/nvidia/tegra210/tegra210_clk_super.c	optional fdt soc_nvidia_tegra210
244arm64/nvidia/tegra210/tegra210_coretemp.c	optional fdt soc_nvidia_tegra210
245arm64/nvidia/tegra210/tegra210_cpufreq.c	optional fdt soc_nvidia_tegra210
246arm64/nvidia/tegra210/tegra210_pinmux.c		optional fdt soc_nvidia_tegra210
247arm64/nvidia/tegra210/tegra210_pmc.c		optional fdt soc_nvidia_tegra210
248arm64/nvidia/tegra210/tegra210_xusbpadctl.c	optional fdt soc_nvidia_tegra210
249arm64/qoriq/ls1046_gpio.c			optional ls1046_gpio gpio fdt SOC_NXP_LS
250arm64/qoriq/qoriq_dw_pci.c			optional pci fdt SOC_NXP_LS
251arm64/qoriq/qoriq_therm.c			optional pci fdt SOC_NXP_LS
252arm64/qoriq/qoriq_therm_if.m			optional pci fdt SOC_NXP_LS
253arm64/qoriq/clk/ls1046a_clkgen.c		optional clk SOC_NXP_LS
254arm64/qoriq/clk/lx2160a_clkgen.c		optional clk SOC_NXP_LS
255arm64/qoriq/clk/qoriq_clk_pll.c			optional clk SOC_NXP_LS
256arm64/qoriq/clk/qoriq_clkgen.c			optional clk SOC_NXP_LS
257arm64/qualcomm/qcom_gcc.c			optional qcom_gcc fdt
258contrib/vchiq/interface/compat/vchi_bsd.c	optional vchiq soc_brcm_bcm2837 \
259	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
260contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c	optional vchiq soc_brcm_bcm2837 \
261	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
262contrib/vchiq/interface/vchiq_arm/vchiq_arm.c	optional vchiq soc_brcm_bcm2837 \
263	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
264contrib/vchiq/interface/vchiq_arm/vchiq_connected.c	optional vchiq soc_brcm_bcm2837 \
265	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
266contrib/vchiq/interface/vchiq_arm/vchiq_core.c	optional vchiq soc_brcm_bcm2837 \
267	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
268contrib/vchiq/interface/vchiq_arm/vchiq_kern_lib.c	optional vchiq soc_brcm_bcm2837 \
269	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
270contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c	optional vchiq soc_brcm_bcm2837 \
271	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
272contrib/vchiq/interface/vchiq_arm/vchiq_shim.c	optional vchiq soc_brcm_bcm2837 \
273	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
274contrib/vchiq/interface/vchiq_arm/vchiq_util.c	optional vchiq soc_brcm_bcm2837 \
275	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
276crypto/armv8/armv8_crypto.c	optional	armv8crypto
277armv8_crypto_wrap.o		optional	armv8crypto		\
278	dependency	"$S/crypto/armv8/armv8_crypto_wrap.c"		\
279	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}" \
280	no-implicit-rule						\
281	clean		"armv8_crypto_wrap.o"
282aesv8-armx.o		optional	armv8crypto			\
283	dependency	"$S/crypto/openssl/aarch64/aesv8-armx.S"	\
284	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ -I$S/crypto/openssl/crypto ${WERROR} ${NO_WCAST_QUAL} ${PROF} -march=armv8-a+crypto ${.IMPSRC}" \
285	no-implicit-rule						\
286	clean		"aesv8-armx.o"
287ghashv8-armx.o		optional	armv8crypto			\
288	dependency	"$S/crypto/openssl/aarch64/ghashv8-armx.S"	\
289	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ -I$S/crypto/openssl/crypto ${WERROR} ${NO_WCAST_QUAL} ${PROF} -march=armv8-a+crypto ${.IMPSRC}" \
290	no-implicit-rule						\
291	clean		"ghashv8-armx.o"
292crypto/des/des_enc.c		optional	netsmb
293crypto/openssl/ossl_aarch64.c	optional	ossl
294crypto/openssl/aarch64/sha1-armv8.S	optional ossl		\
295	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
296crypto/openssl/aarch64/sha256-armv8.S	optional ossl		\
297	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
298crypto/openssl/aarch64/sha512-armv8.S	optional ossl		\
299	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
300dev/acpica/acpi_bus_if.m	optional	acpi
301dev/acpica/acpi_if.m		optional	acpi
302dev/acpica/acpi_pci_link.c	optional	acpi pci
303dev/acpica/acpi_pcib.c		optional	acpi pci
304dev/acpica/acpi_pxm.c		optional	acpi
305dev/ahci/ahci_fsl_fdt.c		optional	SOC_NXP_LS ahci fdt
306dev/ahci/ahci_generic.c		optional	ahci
307dev/altera/dwc/if_dwc_socfpga.c	optional	fdt dwc_socfpga
308dev/axgbe/if_axgbe.c		optional	axa
309dev/axgbe/xgbe-desc.c		optional	axa
310dev/axgbe/xgbe-dev.c		optional	axa
311dev/axgbe/xgbe-drv.c		optional	axa
312dev/axgbe/xgbe-mdio.c		optional	axa
313dev/axgbe/xgbe-sysctl.c		optional	axa
314dev/axgbe/xgbe-txrx.c		optional	axa
315dev/axgbe/xgbe_osdep.c		optional	axa
316dev/axgbe/xgbe-phy-v1.c		optional	axa
317dev/cpufreq/cpufreq_dt.c	optional	cpufreq fdt
318dev/gpio/pl061.c		optional	pl061 gpio
319dev/gpio/pl061_acpi.c		optional	pl061 gpio acpi
320dev/gpio/pl061_fdt.c		optional	pl061 gpio fdt
321dev/hwpmc/hwpmc_arm64.c		optional	hwpmc
322dev/hwpmc/hwpmc_arm64_md.c	optional	hwpmc
323dev/ice/if_ice_iflib.c		optional	ice pci \
324	compile-with "${NORMAL_C} -I$S/dev/ice"
325dev/ice/ice_lib.c		optional	ice pci \
326	compile-with "${NORMAL_C} -I$S/dev/ice"
327dev/ice/ice_osdep.c		optional	ice pci \
328	compile-with "${NORMAL_C} -I$S/dev/ice"
329dev/ice/ice_resmgr.c		optional	ice pci \
330	compile-with "${NORMAL_C} -I$S/dev/ice"
331dev/ice/ice_strings.c		optional	ice pci \
332	compile-with "${NORMAL_C} -I$S/dev/ice"
333dev/ice/ice_iflib_recovery_txrx.c	optional	ice pci \
334	compile-with "${NORMAL_C} -I$S/dev/ice"
335dev/ice/ice_iflib_txrx.c	optional	ice pci \
336	compile-with "${NORMAL_C} -I$S/dev/ice"
337dev/ice/ice_common.c		optional	ice pci \
338	compile-with "${NORMAL_C} -I$S/dev/ice"
339dev/ice/ice_controlq.c		optional	ice pci \
340	compile-with "${NORMAL_C} -I$S/dev/ice"
341dev/ice/ice_dcb.c		optional	ice pci \
342	compile-with "${NORMAL_C} -I$S/dev/ice"
343dev/ice/ice_flex_pipe.c		optional	ice pci \
344	compile-with "${NORMAL_C} -I$S/dev/ice"
345dev/ice/ice_flow.c		optional	ice pci \
346	compile-with "${NORMAL_C} -I$S/dev/ice"
347dev/ice/ice_nvm.c		optional	ice pci \
348	compile-with "${NORMAL_C} -I$S/dev/ice"
349dev/ice/ice_sched.c		optional	ice pci \
350	compile-with "${NORMAL_C} -I$S/dev/ice"
351dev/ice/ice_sriov.c		optional	ice pci \
352	compile-with "${NORMAL_C} -I$S/dev/ice"
353dev/ice/ice_switch.c		optional	ice pci \
354	compile-with "${NORMAL_C} -I$S/dev/ice"
355ice_ddp.c			optional ice_ddp	\
356	compile-with	"${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031000 -mice_ddp -c${.TARGET}"	\
357	no-ctfconvert no-implicit-rule before-depend local	\
358	clean		"ice_ddp.c"
359ice_ddp.fwo			optional ice_ddp	\
360	dependency	"ice_ddp.fw"			\
361	compile-with	"${NORMAL_FWO}"			\
362	no-implicit-rule				\
363	clean		"ice_ddp.fwo"
364ice_ddp.fw			optional ice_ddp	\
365	dependency	"$S/contrib/dev/ice/ice-1.3.16.0.pkg" \
366	compile-with	"${CP} $S/contrib/dev/ice/ice-1.3.16.0.pkg ice_ddp.fw" \
367	no-obj no-implicit-rule				\
368	clean		"ice_ddp.fw"
369dev/iicbus/sy8106a.c		optional	sy8106a fdt
370dev/iicbus/twsi/mv_twsi.c	optional	twsi fdt
371dev/iicbus/twsi/a10_twsi.c	optional	twsi fdt
372dev/iicbus/twsi/twsi.c		optional	twsi fdt
373dev/iommu/busdma_iommu.c	optional	iommu
374dev/iommu/iommu_gas.c		optional	iommu
375dev/ipmi/ipmi.c			optional	ipmi
376dev/ipmi/ipmi_acpi.c		optional	ipmi acpi
377dev/ipmi/ipmi_kcs.c		optional	ipmi
378dev/ipmi/ipmi_smic.c		optional	ipmi
379dev/mbox/mbox_if.m		optional	soc_brcm_bcm2837
380dev/mmc/host/dwmmc.c		optional	dwmmc fdt
381dev/mmc/host/dwmmc_altera.c	optional	dwmmc dwmmc_altera fdt
382dev/mmc/host/dwmmc_hisi.c	optional	dwmmc dwmmc_hisi fdt
383dev/mmc/host/dwmmc_rockchip.c	optional	dwmmc rk_dwmmc fdt
384dev/neta/if_mvneta_fdt.c	optional	neta fdt
385dev/neta/if_mvneta.c		optional	neta mdio mii
386dev/ofw/ofw_cpu.c		optional	fdt
387dev/ofw/ofwpci.c		optional 	fdt pci
388dev/pci/controller/pci_n1sdp.c	optional	pci_n1sdp acpi
389dev/pci/pci_host_generic.c	optional	pci
390dev/pci/pci_host_generic_acpi.c	optional	pci acpi
391dev/pci/pci_host_generic_fdt.c	optional	pci fdt
392dev/pci/pci_dw_mv.c		optional	pci fdt
393dev/pci/pci_dw.c		optional	pci fdt
394dev/pci/pci_dw_if.m		optional	pci fdt
395dev/psci/psci.c			standard
396dev/psci/smccc_arm64.S		standard
397dev/psci/smccc.c		standard
398dev/safexcel/safexcel.c		optional	safexcel fdt
399dev/sdhci/sdhci_xenon.c		optional	sdhci_xenon sdhci fdt
400dev/uart/uart_cpu_arm64.c	optional	uart
401dev/uart/uart_dev_mu.c		optional	uart uart_mu
402dev/uart/uart_dev_pl011.c	optional	uart pl011
403dev/usb/controller/dwc_otg_hisi.c optional	dwcotg fdt soc_hisi_hi6220
404dev/usb/controller/dwc3.c	optional fdt dwc3
405dev/usb/controller/ehci_mv.c	optional	ehci_mv fdt
406dev/usb/controller/generic_ehci.c optional	ehci
407dev/usb/controller/generic_ehci_acpi.c optional	ehci acpi
408dev/usb/controller/generic_ehci_fdt.c optional	ehci fdt
409dev/usb/controller/generic_ohci.c optional	ohci fdt
410dev/usb/controller/generic_usb_if.m optional	ohci fdt
411dev/usb/controller/musb_otg_allwinner.c	optional musb fdt soc_allwinner_a64
412dev/usb/controller/usb_nop_xceiv.c	optional fdt ext_resources
413dev/usb/controller/generic_xhci.c	optional	xhci
414dev/usb/controller/generic_xhci_acpi.c	optional	xhci acpi
415dev/usb/controller/generic_xhci_fdt.c	optional	xhci fdt
416dev/vnic/mrml_bridge.c		optional	vnic fdt
417dev/vnic/nic_main.c		optional	vnic pci
418dev/vnic/nicvf_main.c		optional	vnic pci pci_iov
419dev/vnic/nicvf_queues.c		optional	vnic pci pci_iov
420dev/vnic/thunder_bgx_fdt.c	optional	vnic fdt
421dev/vnic/thunder_bgx.c		optional	vnic pci
422dev/vnic/thunder_mdio_fdt.c	optional	vnic fdt
423dev/vnic/thunder_mdio.c		optional	vnic
424dev/vnic/lmac_if.m		optional	inet | inet6 | vnic
425kern/msi_if.m			optional	intrng
426kern/pic_if.m			optional	intrng
427kern/subr_devmap.c		standard
428kern/subr_intr.c		optional	intrng
429kern/subr_physmem.c		standard
430libkern/bcmp.c			standard
431libkern/memcmp.c		standard				\
432	compile-with "${NORMAL_C:N-fsanitize*}"
433libkern/memset.c		standard				\
434	compile-with "${NORMAL_C:N-fsanitize*}"
435libkern/arm64/crc32c_armv8.S	standard
436cddl/dev/dtrace/aarch64/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
437cddl/dev/dtrace/aarch64/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
438cddl/dev/fbt/aarch64/fbt_isa.c				optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
439
440# RockChip Drivers
441arm64/rockchip/rk3399_emmcphy.c		optional fdt rk_emmcphy soc_rockchip_rk3399
442arm64/rockchip/rk_dwc3.c		optional fdt rk_dwc3 soc_rockchip_rk3399
443arm64/rockchip/rk_i2c.c			optional fdt rk_i2c soc_rockchip_rk3328 | fdt rk_i2c soc_rockchip_rk3399
444arm64/rockchip/rk805.c			optional fdt rk805 soc_rockchip_rk3328 | fdt rk805 soc_rockchip_rk3399
445arm64/rockchip/rk_grf.c			optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
446arm64/rockchip/rk_pinctrl.c		optional fdt rk_pinctrl soc_rockchip_rk3328 | fdt rk_pinctrl soc_rockchip_rk3399
447arm64/rockchip/rk_gpio.c		optional fdt rk_gpio soc_rockchip_rk3328 | fdt rk_gpio soc_rockchip_rk3399
448arm64/rockchip/rk_iodomain.c		optional fdt rk_iodomain
449arm64/rockchip/rk_spi.c			optional fdt rk_spi
450arm64/rockchip/rk_usb2phy.c		optional fdt rk_usb2phy soc_rockchip_rk3328 | soc_rockchip_rk3399
451arm64/rockchip/rk_typec_phy.c		optional fdt rk_typec_phy soc_rockchip_rk3399
452arm64/rockchip/if_dwc_rk.c		optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
453arm64/rockchip/rk_tsadc_if.m		optional fdt soc_rockchip_rk3399
454arm64/rockchip/rk_tsadc.c		optional fdt soc_rockchip_rk3399
455arm64/rockchip/rk_pwm.c			optional fdt rk_pwm
456arm64/rockchip/rk_pcie.c		optional fdt pci soc_rockchip_rk3399
457arm64/rockchip/rk_pcie_phy.c		optional fdt pci soc_rockchip_rk3399
458dev/dwc/if_dwc.c			optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
459dev/dwc/if_dwc_if.m			optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
460
461# RockChip Clock support
462arm64/rockchip/clk/rk_cru.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
463arm64/rockchip/clk/rk_clk_armclk.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
464arm64/rockchip/clk/rk_clk_composite.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
465arm64/rockchip/clk/rk_clk_fract.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
466arm64/rockchip/clk/rk_clk_gate.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
467arm64/rockchip/clk/rk_clk_mux.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
468arm64/rockchip/clk/rk_clk_pll.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
469arm64/rockchip/clk/rk3328_cru.c		optional fdt soc_rockchip_rk3328
470arm64/rockchip/clk/rk3399_cru.c		optional fdt soc_rockchip_rk3399
471arm64/rockchip/clk/rk3399_pmucru.c	optional fdt soc_rockchip_rk3399
472
473
474# i.MX8 Clock support
475arm64/freescale/imx/imx8mq_ccm.c	optional fdt soc_freescale_imx8
476arm64/freescale/imx/clk/imx_clk_gate.c	optional fdt soc_freescale_imx8
477arm64/freescale/imx/clk/imx_clk_mux.c	optional fdt soc_freescale_imx8
478arm64/freescale/imx/clk/imx_clk_composite.c	optional fdt soc_freescale_imx8
479arm64/freescale/imx/clk/imx_clk_sscg_pll.c	optional fdt soc_freescale_imx8
480arm64/freescale/imx/clk/imx_clk_frac_pll.c	optional fdt soc_freescale_imx8
481
482# iMX drivers
483arm/freescale/imx/imx_gpio.c		optional gpio soc_freescale_imx8
484arm/freescale/imx/imx_i2c.c		optional fsliic
485arm/freescale/imx/imx_machdep.c		optional fdt soc_freescale_imx8
486arm64/freescale/imx/imx7gpc.c		optional fdt soc_freescale_imx8
487dev/ffec/if_ffec.c			optional ffec
488
489# Nvidia firmware for Tegra
490tegra210_xusb_fw.c	optional	tegra210_xusb_fw		\
491	dependency	"$S/conf/files.arm64"				\
492	compile-with	"${AWK} -f $S/tools/fw_stub.awk tegra210_xusb.fw:tegra210_xusb_fw -mtegra210_xusb_fw -c${.TARGET}" \
493	no-ctfconvert no-implicit-rule before-depend local		\
494	clean		"tegra210_xusb_fw.c"
495
496tegra210_xusb.fwo	optional	tegra210_xusb_fw		\
497	dependency	"tegra210_xusb.fw"				\
498	compile-with	"${NORMAL_FWO}"					\
499	no-implicit-rule						\
500	clean		"tegra210_xusb.fwo"
501
502tegra210_xusb.fw	optional	tegra210_xusb_fw		\
503	dependency	"$S/contrib/dev/nvidia/tegra210_xusb.bin.uu"	\
504	compile-with	"${NORMAL_FW}"					\
505	no-obj no-implicit-rule						\
506	clean		"tegra210_xusb.fw"
507
508compat/linuxkpi/common/src/linux_fpu.c		optional compat_linuxkpi \
509	compile-with "${LINUXKPI_C}"
510