xref: /freebsd/sys/conf/files.arm64 (revision 4f52dfbb8d6c4d446500c5b097e3806ec219fbd4)
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_ehci.c	optional	ehci aw_ehci fdt
29arm/allwinner/aw_gpio.c		optional	gpio aw_gpio fdt
30arm/allwinner/aw_mmc.c		optional	mmc aw_mmc fdt
31arm/allwinner/aw_nmi.c		optional	aw_nmi fdt \
32	compile-with "${NORMAL_C} -I$S/gnu/dts/include"
33arm/allwinner/aw_rsb.c		optional	aw_rsb fdt
34arm/allwinner/aw_rtc.c		optional	aw_rtc fdt
35arm/allwinner/aw_sid.c		optional	aw_sid fdt
36arm/allwinner/aw_thermal.c	optional	aw_thermal fdt
37arm/allwinner/aw_usbphy.c	optional	ehci aw_usbphy fdt
38arm/allwinner/aw_wdog.c		optional	aw_wdog fdt
39arm/allwinner/axp81x.c		optional	axp81x fdt
40arm/allwinner/if_awg.c		optional	awg ext_resources syscon fdt
41
42# Allwinner clock driver
43arm/allwinner/clkng/aw_ccung.c		optional	aw_ccu fdt
44arm/allwinner/clkng/aw_clk_nkmp.c	optional	aw_ccu fdt
45arm/allwinner/clkng/aw_clk_nm.c		optional	aw_ccu fdt
46arm/allwinner/clkng/aw_clk_prediv_mux.c	optional	aw_ccu fdt
47arm/allwinner/clkng/ccu_a64.c		optional	soc_allwinner_a64 aw_ccu fdt
48arm/allwinner/clkng/ccu_h3.c		optional	soc_allwinner_h5 aw_ccu fdt
49arm/allwinner/clkng/ccu_sun8i_r.c	optional	aw_ccu fdt
50
51# Allwinner padconf files
52arm/allwinner/a64/a64_padconf.c	optional	soc_allwinner_a64 fdt
53arm/allwinner/a64/a64_r_padconf.c optional	soc_allwinner_a64 fdt
54arm/allwinner/h3/h3_padconf.c	optional	soc_allwinner_h5 fdt
55arm/allwinner/h3/h3_r_padconf.c optional	soc_allwinner_h5 fdt
56
57arm/annapurna/alpine/alpine_ccu.c		optional	al_ccu fdt
58arm/annapurna/alpine/alpine_nb_service.c	optional	al_nb_service fdt
59arm/annapurna/alpine/alpine_pci.c		optional	al_pci fdt
60arm/annapurna/alpine/alpine_pci_msix.c		optional	al_pci fdt
61arm/annapurna/alpine/alpine_serdes.c		optional al_serdes fdt		\
62	no-depend	\
63	compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}"
64arm/arm/generic_timer.c		standard
65arm/arm/gic.c			standard
66arm/arm/gic_acpi.c		optional	acpi
67arm/arm/gic_fdt.c		optional	fdt
68arm/arm/pmu.c			standard
69arm/broadcom/bcm2835/bcm2835_audio.c		optional sound vchiq fdt \
70	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
71arm/broadcom/bcm2835/bcm2835_bsc.c		optional bcm2835_bsc soc_brcm_bcm2837 fdt
72arm/broadcom/bcm2835/bcm2835_cpufreq.c		optional soc_brcm_bcm2837 fdt
73arm/broadcom/bcm2835/bcm2835_dma.c		optional soc_brcm_bcm2837 fdt
74arm/broadcom/bcm2835/bcm2835_fbd.c		optional vt soc_brcm_bcm2837 fdt
75arm/broadcom/bcm2835/bcm2835_ft5406.c		optional evdev bcm2835_ft5406 soc_brcm_bcm2837 fdt
76arm/broadcom/bcm2835/bcm2835_gpio.c		optional gpio soc_brcm_bcm2837 fdt
77arm/broadcom/bcm2835/bcm2835_intr.c		optional soc_brcm_bcm2837 fdt
78arm/broadcom/bcm2835/bcm2835_mbox.c		optional soc_brcm_bcm2837 fdt
79arm/broadcom/bcm2835/bcm2835_rng.c		optional random soc_brcm_bcm2837 fdt
80arm/broadcom/bcm2835/bcm2835_sdhci.c		optional sdhci soc_brcm_bcm2837 fdt
81arm/broadcom/bcm2835/bcm2835_spi.c		optional bcm2835_spi soc_brcm_bcm2837 fdt
82arm/broadcom/bcm2835/bcm2835_vcio.c		optional soc_brcm_bcm2837 fdt
83arm/broadcom/bcm2835/bcm2835_wdog.c		optional soc_brcm_bcm2837 fdt
84arm/broadcom/bcm2835/bcm2836.c			optional soc_brcm_bcm2837 fdt
85arm/broadcom/bcm2835/bcm283x_dwc_fdt.c		optional dwcotg fdt soc_brcm_bcm2837
86arm/mv/armada38x/armada38x_rtc.c		optional mv_rtc fdt
87arm64/acpica/acpi_machdep.c	optional	acpi
88arm64/acpica/OsdEnvironment.c	optional	acpi
89arm64/acpica/acpi_wakeup.c	optional	acpi
90arm64/acpica/pci_cfgreg.c	optional	acpi	pci
91arm64/arm64/autoconf.c		standard
92arm64/arm64/bus_machdep.c	standard
93arm64/arm64/bus_space_asm.S	standard
94arm64/arm64/busdma_bounce.c	standard
95arm64/arm64/busdma_machdep.c	standard
96arm64/arm64/bzero.S		standard
97arm64/arm64/clock.c		standard
98arm64/arm64/copyinout.S		standard
99arm64/arm64/copystr.c		standard
100arm64/arm64/cpu_errata.c	standard
101arm64/arm64/cpufunc_asm.S	standard
102arm64/arm64/db_disasm.c		optional	ddb
103arm64/arm64/db_interface.c	optional	ddb
104arm64/arm64/db_trace.c		optional	ddb
105arm64/arm64/debug_monitor.c	optional	ddb
106arm64/arm64/disassem.c		optional	ddb
107arm64/arm64/dump_machdep.c	standard
108arm64/arm64/efirt_machdep.c	optional	efirt
109arm64/arm64/elf32_machdep.c	optional	compat_freebsd32
110arm64/arm64/elf_machdep.c	standard
111arm64/arm64/exception.S		standard
112arm64/arm64/freebsd32_machdep.c	optional	compat_freebsd32
113arm64/arm64/gicv3_its.c		optional	intrng fdt
114arm64/arm64/gic_v3.c		standard
115arm64/arm64/gic_v3_acpi.c	optional	acpi
116arm64/arm64/gic_v3_fdt.c	optional	fdt
117arm64/arm64/identcpu.c		standard
118arm64/arm64/in_cksum.c		optional	inet | inet6
119arm64/arm64/locore.S		standard	no-obj
120arm64/arm64/machdep.c		standard
121arm64/arm64/mem.c		standard
122arm64/arm64/memcpy.S		standard
123arm64/arm64/memmove.S		standard
124arm64/arm64/minidump_machdep.c	standard
125arm64/arm64/mp_machdep.c	optional	smp
126arm64/arm64/nexus.c		standard
127arm64/arm64/ofw_machdep.c	optional	fdt
128arm64/arm64/pmap.c		standard
129arm64/arm64/stack_machdep.c	optional	ddb | stack
130arm64/arm64/support.S		standard
131arm64/arm64/swtch.S		standard
132arm64/arm64/sys_machdep.c	standard
133arm64/arm64/trap.c		standard
134arm64/arm64/uio_machdep.c	standard
135arm64/arm64/uma_machdep.c	standard
136arm64/arm64/undefined.c		standard
137arm64/arm64/unwind.c		optional	ddb | kdtrace_hooks | stack
138arm64/arm64/vfp.c		standard
139arm64/arm64/vm_machdep.c	standard
140arm64/cavium/thunder_pcie_fdt.c		optional	soc_cavm_thunderx pci fdt
141arm64/cavium/thunder_pcie_pem.c		optional	soc_cavm_thunderx pci
142arm64/cavium/thunder_pcie_pem_fdt.c	optional	soc_cavm_thunderx pci fdt
143arm64/cavium/thunder_pcie_common.c	optional	soc_cavm_thunderx pci
144arm64/cloudabi32/cloudabi32_sysvec.c	optional compat_cloudabi32
145arm64/cloudabi64/cloudabi64_sysvec.c	optional compat_cloudabi64
146arm64/coresight/coresight.c			standard
147arm64/coresight/coresight_if.m			standard
148arm64/coresight/coresight-cmd.c			standard
149arm64/coresight/coresight-cpu-debug.c		standard
150arm64/coresight/coresight-dynamic-replicator.c	standard
151arm64/coresight/coresight-etm4x.c		standard
152arm64/coresight/coresight-funnel.c		standard
153arm64/coresight/coresight-tmc.c			standard
154arm64/qualcomm/qcom_gcc.c			optional qcom_gcc fdt
155contrib/vchiq/interface/compat/vchi_bsd.c	optional vchiq soc_brcm_bcm2837 \
156	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
157contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c	optional vchiq soc_brcm_bcm2837 \
158	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
159contrib/vchiq/interface/vchiq_arm/vchiq_arm.c	optional vchiq soc_brcm_bcm2837 \
160	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
161contrib/vchiq/interface/vchiq_arm/vchiq_connected.c	optional vchiq soc_brcm_bcm2837 \
162	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
163contrib/vchiq/interface/vchiq_arm/vchiq_core.c	optional vchiq soc_brcm_bcm2837 \
164	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
165contrib/vchiq/interface/vchiq_arm/vchiq_kern_lib.c	optional vchiq soc_brcm_bcm2837 \
166	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
167contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c	optional vchiq soc_brcm_bcm2837 \
168	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
169contrib/vchiq/interface/vchiq_arm/vchiq_shim.c	optional vchiq soc_brcm_bcm2837 \
170	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
171contrib/vchiq/interface/vchiq_arm/vchiq_util.c	optional vchiq soc_brcm_bcm2837 \
172	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
173crypto/armv8/armv8_crypto.c	optional	armv8crypto
174armv8_crypto_wrap.o		optional	armv8crypto		\
175	dependency	"$S/crypto/armv8/armv8_crypto_wrap.c"		\
176	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} ${WERROR} ${NO_WCAST_QUAL} ${PROF} -march=armv8-a+crypto ${.IMPSRC}" \
177	no-implicit-rule						\
178	clean		"armv8_crypto_wrap.o"
179crypto/blowfish/bf_enc.c	optional	crypto | ipsec | ipsec_support
180crypto/des/des_enc.c		optional	crypto | ipsec | ipsec_support | netsmb
181dev/acpica/acpi_bus_if.m	optional	acpi
182dev/acpica/acpi_if.m		optional	acpi
183dev/acpica/acpi_pci_link.c	optional	acpi pci
184dev/acpica/acpi_pcib.c		optional	acpi pci
185dev/ahci/ahci_generic.c		optional	ahci
186dev/axgbe/if_axgbe.c		optional	axgbe
187dev/axgbe/xgbe-desc.c		optional	axgbe
188dev/axgbe/xgbe-dev.c		optional	axgbe
189dev/axgbe/xgbe-drv.c		optional	axgbe
190dev/axgbe/xgbe-mdio.c		optional	axgbe
191dev/cpufreq/cpufreq_dt.c	optional	cpufreq fdt
192dev/iicbus/twsi/a10_twsi.c	optional	twsi fdt
193dev/iicbus/twsi/twsi.c		optional	twsi fdt
194dev/hwpmc/hwpmc_arm64.c		optional	hwpmc
195dev/hwpmc/hwpmc_arm64_md.c	optional	hwpmc
196dev/mbox/mbox_if.m		optional	soc_brcm_bcm2837
197dev/mmc/host/dwmmc.c		optional	dwmmc fdt
198dev/mmc/host/dwmmc_hisi.c	optional	dwmmc fdt soc_hisi_hi6220
199dev/mmc/host/dwmmc_rockchip.c	optional	dwmmc fdt soc_rockchip_rk3328
200dev/neta/if_mvneta_fdt.c	optional	neta fdt
201dev/neta/if_mvneta.c		optional	neta mdio mii
202dev/ofw/ofw_cpu.c		optional	fdt
203dev/ofw/ofwpci.c		optional 	fdt pci
204dev/pci/pci_host_generic.c	optional	pci
205dev/pci/pci_host_generic_acpi.c	optional	pci acpi
206dev/pci/pci_host_generic_fdt.c	optional	pci fdt
207dev/psci/psci.c			optional	psci
208dev/psci/psci_arm64.S		optional	psci
209dev/uart/uart_cpu_arm64.c	optional	uart
210dev/uart/uart_dev_pl011.c	optional	uart pl011
211dev/usb/controller/dwc_otg_hisi.c optional	dwcotg fdt soc_hisi_hi6220
212dev/usb/controller/ehci_mv.c	optional	ehci_mv fdt
213dev/usb/controller/generic_ehci.c optional	ehci acpi
214dev/usb/controller/generic_ohci.c optional	ohci fdt
215dev/usb/controller/generic_usb_if.m optional	ohci fdt
216dev/usb/controller/xhci_mv.c	optional	xhci_mv fdt
217dev/vnic/mrml_bridge.c		optional	vnic fdt
218dev/vnic/nic_main.c		optional	vnic pci
219dev/vnic/nicvf_main.c		optional	vnic pci pci_iov
220dev/vnic/nicvf_queues.c		optional	vnic pci pci_iov
221dev/vnic/thunder_bgx_fdt.c	optional	vnic fdt
222dev/vnic/thunder_bgx.c		optional	vnic pci
223dev/vnic/thunder_mdio_fdt.c	optional	vnic fdt
224dev/vnic/thunder_mdio.c		optional	vnic
225dev/vnic/lmac_if.m		optional	inet | inet6 | vnic
226kern/kern_clocksource.c		standard
227kern/msi_if.m			optional	intrng
228kern/pic_if.m			optional	intrng
229kern/subr_devmap.c		standard
230kern/subr_intr.c		optional	intrng
231libkern/bcmp.c			standard
232libkern/ffs.c			standard
233libkern/ffsl.c			standard
234libkern/ffsll.c			standard
235libkern/fls.c			standard
236libkern/flsl.c			standard
237libkern/flsll.c			standard
238libkern/memset.c		standard
239libkern/arm64/crc32c_armv8.S	standard
240cddl/contrib/opensolaris/common/atomic/aarch64/opensolaris_atomic.S	optional zfs | dtrace compile-with "${CDDL_C}"
241cddl/dev/dtrace/aarch64/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
242cddl/dev/dtrace/aarch64/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
243cddl/dev/fbt/aarch64/fbt_isa.c				optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
244
245arm64/rockchip/rk_grf.c			optional fdt soc_rockchip_rk3328
246arm64/rockchip/rk_pinctrl.c		optional fdt soc_rockchip_rk3328
247arm64/rockchip/rk_gpio.c		optional fdt soc_rockchip_rk3328
248arm64/rockchip/clk/rk_cru.c		optional fdt soc_rockchip_rk3328
249arm64/rockchip/clk/rk_clk_composite.c	optional fdt soc_rockchip_rk3328
250arm64/rockchip/clk/rk_clk_gate.c	optional fdt soc_rockchip_rk3328
251arm64/rockchip/clk/rk_clk_mux.c		optional fdt soc_rockchip_rk3328
252arm64/rockchip/clk/rk_clk_pll.c		optional fdt soc_rockchip_rk3328
253arm64/rockchip/clk/rk3328_cru.c		optional fdt soc_rockchip_rk3328
254