xref: /freebsd/sys/conf/files.arm64 (revision f2d48b5e2c3b45850585e4d7aee324fe148afbf2)
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/iommu/iommu.c				optional iommu
215arm64/iommu/iommu_if.m				optional iommu
216arm64/iommu/smmu.c				optional iommu
217arm64/iommu/smmu_acpi.c				optional acpi iommu
218arm64/iommu/smmu_quirks.c			optional iommu
219arm64/qoriq/ls1046_gpio.c			optional ls1046_gpio gpio fdt SOC_NXP_LS
220arm64/qoriq/qoriq_dw_pci.c			optional pci fdt SOC_NXP_LS
221arm64/qoriq/qoriq_therm.c			optional pci fdt SOC_NXP_LS
222arm64/qoriq/qoriq_therm_if.m			optional pci fdt SOC_NXP_LS
223arm64/qoriq/clk/ls1046a_clkgen.c		optional clk SOC_NXP_LS
224arm64/qoriq/clk/lx2160a_clkgen.c		optional clk SOC_NXP_LS
225arm64/qoriq/clk/qoriq_clk_pll.c			optional clk SOC_NXP_LS
226arm64/qoriq/clk/qoriq_clkgen.c			optional clk SOC_NXP_LS
227arm64/qualcomm/qcom_gcc.c			optional qcom_gcc fdt
228contrib/vchiq/interface/compat/vchi_bsd.c	optional vchiq soc_brcm_bcm2837 \
229	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
230contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c	optional vchiq soc_brcm_bcm2837 \
231	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
232contrib/vchiq/interface/vchiq_arm/vchiq_arm.c	optional vchiq soc_brcm_bcm2837 \
233	compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
234contrib/vchiq/interface/vchiq_arm/vchiq_connected.c	optional vchiq soc_brcm_bcm2837 \
235	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
236contrib/vchiq/interface/vchiq_arm/vchiq_core.c	optional vchiq soc_brcm_bcm2837 \
237	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
238contrib/vchiq/interface/vchiq_arm/vchiq_kern_lib.c	optional vchiq soc_brcm_bcm2837 \
239	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
240contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c	optional vchiq soc_brcm_bcm2837 \
241	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
242contrib/vchiq/interface/vchiq_arm/vchiq_shim.c	optional vchiq soc_brcm_bcm2837 \
243	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
244contrib/vchiq/interface/vchiq_arm/vchiq_util.c	optional vchiq soc_brcm_bcm2837 \
245	compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq"
246crypto/armv8/armv8_crypto.c	optional	armv8crypto
247armv8_crypto_wrap.o		optional	armv8crypto		\
248	dependency	"$S/crypto/armv8/armv8_crypto_wrap.c"		\
249	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}" \
250	no-implicit-rule						\
251	clean		"armv8_crypto_wrap.o"
252crypto/des/des_enc.c		optional	netsmb
253crypto/openssl/ossl_aarch64.c	optional	ossl
254crypto/openssl/aarch64/sha1-armv8.S	optional ossl		\
255	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
256crypto/openssl/aarch64/sha256-armv8.S	optional ossl		\
257	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
258crypto/openssl/aarch64/sha512-armv8.S	optional ossl		\
259	compile-with	"${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${PROF} ${.IMPSRC}"
260dev/acpica/acpi_bus_if.m	optional	acpi
261dev/acpica/acpi_if.m		optional	acpi
262dev/acpica/acpi_pci_link.c	optional	acpi pci
263dev/acpica/acpi_pcib.c		optional	acpi pci
264dev/acpica/acpi_pxm.c		optional	acpi
265dev/ahci/ahci_fsl_fdt.c		optional	SOC_NXP_LS ahci fdt
266dev/ahci/ahci_generic.c		optional	ahci
267dev/altera/dwc/if_dwc_socfpga.c	optional	fdt dwc_socfpga
268dev/axgbe/if_axgbe.c		optional	axa
269dev/axgbe/xgbe-desc.c		optional	axa
270dev/axgbe/xgbe-dev.c		optional	axa
271dev/axgbe/xgbe-drv.c		optional	axa
272dev/axgbe/xgbe-mdio.c		optional	axa
273dev/axgbe/xgbe-sysctl.c		optional	axa
274dev/axgbe/xgbe-txrx.c		optional	axa
275dev/axgbe/xgbe_osdep.c		optional	axa
276dev/axgbe/xgbe-phy-v1.c		optional	axa
277dev/cpufreq/cpufreq_dt.c	optional	cpufreq fdt
278dev/gpio/pl061.c		optional	pl061 gpio
279dev/gpio/pl061_acpi.c		optional	pl061 gpio acpi
280dev/gpio/pl061_fdt.c		optional	pl061 gpio fdt
281dev/hwpmc/hwpmc_arm64.c		optional	hwpmc
282dev/hwpmc/hwpmc_arm64_md.c	optional	hwpmc
283dev/ice/if_ice_iflib.c		optional	ice pci \
284	compile-with "${NORMAL_C} -I$S/dev/ice"
285dev/ice/ice_lib.c		optional	ice pci \
286	compile-with "${NORMAL_C} -I$S/dev/ice"
287dev/ice/ice_osdep.c		optional	ice pci \
288	compile-with "${NORMAL_C} -I$S/dev/ice"
289dev/ice/ice_resmgr.c		optional	ice pci \
290	compile-with "${NORMAL_C} -I$S/dev/ice"
291dev/ice/ice_strings.c		optional	ice pci \
292	compile-with "${NORMAL_C} -I$S/dev/ice"
293dev/ice/ice_iflib_recovery_txrx.c	optional	ice pci \
294	compile-with "${NORMAL_C} -I$S/dev/ice"
295dev/ice/ice_iflib_txrx.c	optional	ice pci \
296	compile-with "${NORMAL_C} -I$S/dev/ice"
297dev/ice/ice_common.c		optional	ice pci \
298	compile-with "${NORMAL_C} -I$S/dev/ice"
299dev/ice/ice_controlq.c		optional	ice pci \
300	compile-with "${NORMAL_C} -I$S/dev/ice"
301dev/ice/ice_dcb.c		optional	ice pci \
302	compile-with "${NORMAL_C} -I$S/dev/ice"
303dev/ice/ice_flex_pipe.c		optional	ice pci \
304	compile-with "${NORMAL_C} -I$S/dev/ice"
305dev/ice/ice_flow.c		optional	ice pci \
306	compile-with "${NORMAL_C} -I$S/dev/ice"
307dev/ice/ice_nvm.c		optional	ice pci \
308	compile-with "${NORMAL_C} -I$S/dev/ice"
309dev/ice/ice_sched.c		optional	ice pci \
310	compile-with "${NORMAL_C} -I$S/dev/ice"
311dev/ice/ice_sriov.c		optional	ice pci \
312	compile-with "${NORMAL_C} -I$S/dev/ice"
313dev/ice/ice_switch.c		optional	ice pci \
314	compile-with "${NORMAL_C} -I$S/dev/ice"
315ice_ddp.c			optional ice_ddp	\
316	compile-with	"${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031000 -mice_ddp -c${.TARGET}"	\
317	no-implicit-rule before-depend local		\
318	clean		"ice_ddp.c"
319ice_ddp.fwo			optional ice_ddp	\
320	dependency	"ice_ddp.fw"			\
321	compile-with	"${NORMAL_FWO}"			\
322	no-implicit-rule				\
323	clean		"ice_ddp.fwo"
324ice_ddp.fw			optional ice_ddp	\
325	dependency	"$S/contrib/dev/ice/ice-1.3.16.0.pkg" \
326	compile-with	"${CP} $S/contrib/dev/ice/ice-1.3.16.0.pkg ice_ddp.fw" \
327	no-obj no-implicit-rule				\
328	clean		"ice_ddp.fw"
329dev/iicbus/sy8106a.c		optional	sy8106a fdt
330dev/iicbus/twsi/mv_twsi.c	optional	twsi fdt
331dev/iicbus/twsi/a10_twsi.c	optional	twsi fdt
332dev/iicbus/twsi/twsi.c		optional	twsi fdt
333dev/iommu/busdma_iommu.c	optional	iommu
334dev/iommu/iommu_gas.c		optional	iommu
335dev/mbox/mbox_if.m		optional	soc_brcm_bcm2837
336dev/mmc/host/dwmmc.c		optional	dwmmc fdt
337dev/mmc/host/dwmmc_altera.c	optional	dwmmc dwmmc_altera fdt
338dev/mmc/host/dwmmc_hisi.c	optional	dwmmc dwmmc_hisi fdt
339dev/mmc/host/dwmmc_rockchip.c	optional	dwmmc rk_dwmmc fdt
340dev/neta/if_mvneta_fdt.c	optional	neta fdt
341dev/neta/if_mvneta.c		optional	neta mdio mii
342dev/ofw/ofw_cpu.c		optional	fdt
343dev/ofw/ofwpci.c		optional 	fdt pci
344dev/pci/controller/pci_n1sdp.c	optional	pci_n1sdp acpi
345dev/pci/pci_host_generic.c	optional	pci
346dev/pci/pci_host_generic_acpi.c	optional	pci acpi
347dev/pci/pci_host_generic_fdt.c	optional	pci fdt
348dev/pci/pci_dw_mv.c		optional	pci fdt
349dev/pci/pci_dw.c		optional	pci fdt
350dev/pci/pci_dw_if.m		optional	pci fdt
351dev/psci/psci.c			standard
352dev/psci/smccc_arm64.S		standard
353dev/psci/smccc.c		standard
354dev/safexcel/safexcel.c		optional	safexcel fdt
355dev/sdhci/sdhci_xenon.c		optional	sdhci_xenon sdhci fdt
356dev/uart/uart_cpu_arm64.c	optional	uart
357dev/uart/uart_dev_mu.c		optional	uart uart_mu
358dev/uart/uart_dev_pl011.c	optional	uart pl011
359dev/usb/controller/dwc_otg_hisi.c optional	dwcotg fdt soc_hisi_hi6220
360dev/usb/controller/dwc3.c	optional fdt dwc3
361dev/usb/controller/ehci_mv.c	optional	ehci_mv fdt
362dev/usb/controller/generic_ehci.c optional	ehci
363dev/usb/controller/generic_ehci_acpi.c optional	ehci acpi
364dev/usb/controller/generic_ehci_fdt.c optional	ehci fdt
365dev/usb/controller/generic_ohci.c optional	ohci fdt
366dev/usb/controller/generic_usb_if.m optional	ohci fdt
367dev/usb/controller/musb_otg_allwinner.c	optional musb fdt soc_allwinner_a64
368dev/usb/controller/usb_nop_xceiv.c	optional fdt ext_resources
369dev/usb/controller/generic_xhci.c	optional	xhci
370dev/usb/controller/generic_xhci_acpi.c	optional	xhci acpi
371dev/usb/controller/generic_xhci_fdt.c	optional	xhci fdt
372dev/vnic/mrml_bridge.c		optional	vnic fdt
373dev/vnic/nic_main.c		optional	vnic pci
374dev/vnic/nicvf_main.c		optional	vnic pci pci_iov
375dev/vnic/nicvf_queues.c		optional	vnic pci pci_iov
376dev/vnic/thunder_bgx_fdt.c	optional	vnic fdt
377dev/vnic/thunder_bgx.c		optional	vnic pci
378dev/vnic/thunder_mdio_fdt.c	optional	vnic fdt
379dev/vnic/thunder_mdio.c		optional	vnic
380dev/vnic/lmac_if.m		optional	inet | inet6 | vnic
381kern/msi_if.m			optional	intrng
382kern/pic_if.m			optional	intrng
383kern/subr_devmap.c		standard
384kern/subr_intr.c		optional	intrng
385kern/subr_physmem.c		standard
386libkern/bcmp.c			standard
387libkern/memcmp.c		standard				\
388	compile-with "${NORMAL_C:N-fsanitize*}"
389libkern/memset.c		standard				\
390	compile-with "${NORMAL_C:N-fsanitize*}"
391libkern/arm64/crc32c_armv8.S	standard
392cddl/dev/dtrace/aarch64/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
393cddl/dev/dtrace/aarch64/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
394cddl/dev/fbt/aarch64/fbt_isa.c				optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
395
396# RockChip Drivers
397arm64/rockchip/rk3399_emmcphy.c		optional fdt rk_emmcphy soc_rockchip_rk3399
398arm64/rockchip/rk_dwc3.c		optional fdt rk_dwc3 soc_rockchip_rk3399
399arm64/rockchip/rk_i2c.c			optional fdt rk_i2c soc_rockchip_rk3328 | fdt rk_i2c soc_rockchip_rk3399
400arm64/rockchip/rk805.c			optional fdt rk805 soc_rockchip_rk3328 | fdt rk805 soc_rockchip_rk3399
401arm64/rockchip/rk_grf.c			optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
402arm64/rockchip/rk_pinctrl.c		optional fdt rk_pinctrl soc_rockchip_rk3328 | fdt rk_pinctrl soc_rockchip_rk3399
403arm64/rockchip/rk_gpio.c		optional fdt rk_gpio soc_rockchip_rk3328 | fdt rk_gpio soc_rockchip_rk3399
404arm64/rockchip/rk_iodomain.c		optional fdt rk_iodomain
405arm64/rockchip/rk_spi.c			optional fdt rk_spi
406arm64/rockchip/rk_usb2phy.c		optional fdt rk_usb2phy soc_rockchip_rk3328 | soc_rockchip_rk3399
407arm64/rockchip/rk_typec_phy.c		optional fdt rk_typec_phy soc_rockchip_rk3399
408arm64/rockchip/if_dwc_rk.c		optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
409arm64/rockchip/rk_tsadc_if.m		optional fdt soc_rockchip_rk3399
410arm64/rockchip/rk_tsadc.c		optional fdt soc_rockchip_rk3399
411arm64/rockchip/rk_pwm.c			optional fdt rk_pwm
412arm64/rockchip/rk_pcie.c		optional fdt pci soc_rockchip_rk3399
413arm64/rockchip/rk_pcie_phy.c		optional fdt pci soc_rockchip_rk3399
414dev/dwc/if_dwc.c			optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
415dev/dwc/if_dwc_if.m			optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399
416
417# RockChip Clock support
418arm64/rockchip/clk/rk_cru.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
419arm64/rockchip/clk/rk_clk_armclk.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
420arm64/rockchip/clk/rk_clk_composite.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
421arm64/rockchip/clk/rk_clk_fract.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
422arm64/rockchip/clk/rk_clk_gate.c	optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
423arm64/rockchip/clk/rk_clk_mux.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
424arm64/rockchip/clk/rk_clk_pll.c		optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399
425arm64/rockchip/clk/rk3328_cru.c		optional fdt soc_rockchip_rk3328
426arm64/rockchip/clk/rk3399_cru.c		optional fdt soc_rockchip_rk3399
427arm64/rockchip/clk/rk3399_pmucru.c	optional fdt soc_rockchip_rk3399
428
429# i.MX8 Clock support
430arm64/freescale/imx/imx8mq_ccm.c	optional fdt soc_freescale_imx8
431arm64/freescale/imx/clk/imx_clk_gate.c	optional fdt soc_freescale_imx8
432arm64/freescale/imx/clk/imx_clk_mux.c	optional fdt soc_freescale_imx8
433arm64/freescale/imx/clk/imx_clk_composite.c	optional fdt soc_freescale_imx8
434arm64/freescale/imx/clk/imx_clk_sscg_pll.c	optional fdt soc_freescale_imx8
435arm64/freescale/imx/clk/imx_clk_frac_pll.c	optional fdt soc_freescale_imx8
436
437# iMX drivers
438arm/freescale/imx/imx_gpio.c		optional gpio soc_freescale_imx8
439arm/freescale/imx/imx_i2c.c		optional fsliic
440arm/freescale/imx/imx_machdep.c		optional fdt soc_freescale_imx8
441arm64/freescale/imx/imx7gpc.c		optional fdt soc_freescale_imx8
442dev/ffec/if_ffec.c			optional ffec
443