178b36e3cSOlivier Houchard# $FreeBSD$ 2dbfb4063SEmmanuel Vadot 378b36e3cSOlivier Houchardarm/arm/autoconf.c standard 478b36e3cSOlivier Houchardarm/arm/bcopy_page.S standard 578b36e3cSOlivier Houchardarm/arm/bcopyinout.S standard 678b36e3cSOlivier Houchardarm/arm/blockio.S standard 778b36e3cSOlivier Houchardarm/arm/bus_space_asm_generic.S standard 8210d6af7SAndrew Turnerarm/arm/bus_space_base.c optional fdt 9210d6af7SAndrew Turnerarm/arm/bus_space_generic.c standard 10c312e0f4SWarner Losharm/arm/busdma_machdep.c standard 1178b36e3cSOlivier Houchardarm/arm/copystr.S standard 1278b36e3cSOlivier Houchardarm/arm/cpufunc.c standard 1378b36e3cSOlivier Houchardarm/arm/cpufunc_asm.S standard 140ebebb12SAndrew Turnerarm/arm/cpufunc_asm_arm11x6.S optional cpu_arm1176 1593a065e7SMichal Melounarm/arm/cpufunc_asm_armv7.S optional cpu_cortexa | cpu_krait | cpu_mv_pj4b 160ebebb12SAndrew Turnerarm/arm/cpufunc_asm_pj4b.S optional cpu_mv_pj4b 172b71562fSIan Leporearm/arm/cpuinfo.c standard 18b88b2751SMichal Melounarm/arm/cpu_asm-v6.S standard 1978b36e3cSOlivier Houchardarm/arm/db_disasm.c optional ddb 2078b36e3cSOlivier Houchardarm/arm/db_interface.c optional ddb 2178b36e3cSOlivier Houchardarm/arm/db_trace.c optional ddb 22595f8a59SZbigniew Bodekarm/arm/debug_monitor.c optional ddb armv6 23094fc1edSWarner Losharm/arm/debug_monitor.c optional ddb armv7 24ae413598SOlivier Houchardarm/arm/disassem.c optional ddb 2578b36e3cSOlivier Houchardarm/arm/dump_machdep.c standard 2678b36e3cSOlivier Houchardarm/arm/elf_machdep.c standard 275c8f95d5SAndrew Turnerarm/arm/elf_note.S standard 2878b36e3cSOlivier Houchardarm/arm/exception.S standard 2978b36e3cSOlivier Houchardarm/arm/fiq.c standard 3078b36e3cSOlivier Houchardarm/arm/fiq_subr.S standard 3178b36e3cSOlivier Houchardarm/arm/fusu.S standard 32be050429SOlivier Houchardarm/arm/gdb_machdep.c optional gdb 33ed18006cSAndrew Turnerarm/arm/generic_timer.c optional generic_timer 34e4ca1499SAndrew Turnerarm/arm/gic.c optional gic 35727c18a8SAndrew Turnerarm/arm/gic_fdt.c optional gic fdt 36b88b2751SMichal Melounarm/arm/identcpu-v6.c standard 3770df4233SBjoern A. Zeebarm/arm/in_cksum.c optional inet | inet6 3870df4233SBjoern A. Zeebarm/arm/in_cksum_arm.S optional inet | inet6 39b88b2751SMichal Melounkern/subr_intr.c standard 4078b36e3cSOlivier Houchardarm/arm/locore.S standard no-obj 41b88b2751SMichal Melounarm/arm/hypervisor-stub.S standard 4278b36e3cSOlivier Houchardarm/arm/machdep.c standard 43ffeeb2abSMichal Melounarm/arm/machdep_boot.c standard 44ffeeb2abSMichal Melounarm/arm/machdep_kdb.c standard 452b3ad188SAdrian Chaddarm/arm/machdep_intr.c standard 46ffeeb2abSMichal Melounarm/arm/machdep_ptrace.c standard 47df6f945bSOlivier Houchardarm/arm/mem.c optional mem 486e17fbacSMark Johnstonarm/arm/minidump_machdep.c standard 49cf1a573fSOleksandr Tymoshenkoarm/arm/mp_machdep.c optional smp 50ed18006cSAndrew Turnerarm/arm/mpcore_timer.c optional mpcore_timer 51f9af595fSOlivier Houchardarm/arm/nexus.c standard 52bc7b9300SIan Leporearm/arm/ofw_machdep.c optional fdt 53e6440e15SOleksandr Tymoshenkoarm/arm/pl190.c optional pl190 54cf1a573fSOleksandr Tymoshenkoarm/arm/pl310.c optional pl310 5527521ff8SAndrew Turnerarm/arm/platform.c optional platform 5627521ff8SAndrew Turnerarm/arm/platform_if.m optional platform 5775f48c23SAndrew Turnerarm/arm/platform_pl310_if.m optional platform pl310 58b88b2751SMichal Melounarm/arm/pmap-v6.c standard 59*5e78bbb7SAndrew Turnerarm/arm/pmu.c optional pmu | hwpmc 60*5e78bbb7SAndrew Turnerarm/arm/pmu_fdt.c optional fdt pmu | fdt hwpmc 61197e3ae5SJohn Baldwinarm/arm/ptrace_machdep.c standard 62e1f04cd0SOleksandr Tymoshenkoarm/arm/sc_machdep.c optional sc 6378b36e3cSOlivier Houchardarm/arm/setcpsr.S standard 6478b36e3cSOlivier Houchardarm/arm/setstack.s standard 653c90d1eaSRobert Watsonarm/arm/stack_machdep.c optional ddb | stack 6667ccda16SEd Schoutenarm/arm/stdatomic.c standard \ 6767ccda16SEd Schouten compile-with "${NORMAL_C:N-Wmissing-prototypes}" 6878b36e3cSOlivier Houchardarm/arm/support.S standard 6978b36e3cSOlivier Houchardarm/arm/swtch.S standard 70b88b2751SMichal Melounarm/arm/swtch-v6.S standard 7178b36e3cSOlivier Houchardarm/arm/sys_machdep.c standard 72293b5c22SAndrew Turnerarm/arm/syscall.c standard 73b88b2751SMichal Melounarm/arm/trap-v6.c standard 7478b36e3cSOlivier Houchardarm/arm/uio_machdep.c standard 7578b36e3cSOlivier Houchardarm/arm/undefined.c standard 76d38efda0SIan Leporearm/arm/unwind.c optional ddb | kdtrace_hooks | stack 7778b36e3cSOlivier Houchardarm/arm/vm_machdep.c standard 78c5de7237SAndrew Turnerarm/arm/vfp.c standard 795e7b54b1SEd Schoutenarm/cloudabi32/cloudabi32_sysvec.c optional compat_cloudabi32 80d0c0856fSAndriy Gaponcddl/compat/opensolaris/kern/opensolaris_atomic.c optional !armv7 !armv6 zfs | !armv7 !armv6 dtrace compile-with "${CDDL_C}" 814f4d15f0SRuslan Bukincddl/dev/dtrace/arm/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" 824f4d15f0SRuslan Bukincddl/dev/dtrace/arm/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" 834f4d15f0SRuslan Bukincddl/dev/fbt/arm/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}" 840e00c709SJohn Baldwincrypto/des/des_enc.c optional netsmb 85fa1cbf00SJared McNeilldev/cpufreq/cpufreq_dt.c optional cpufreq fdt 865df53927SLuiz Otavio O Souzadev/dwc/if_dwc.c optional dwc 875df53927SLuiz Otavio O Souzadev/dwc/if_dwc_if.m optional dwc 88e1f04cd0SOleksandr Tymoshenkodev/fb/fb.c optional sc 8927521ff8SAndrew Turnerdev/fdt/fdt_arm_platform.c optional platform fdt 9006785ff6SJared McNeilldev/hdmi/hdmi_if.m optional hdmi 91bbb8e19dSRui Paulodev/hwpmc/hwpmc_arm.c optional hwpmc 9254384e56SBjoern A. Zeebdev/hwpmc/hwpmc_armv7.c optional hwpmc armv6 93094fc1edSWarner Loshdev/hwpmc/hwpmc_armv7.c optional hwpmc armv7 94632381edSAndrew Turnerdev/iicbus/twsi/twsi.c optional twsi 95c43a8674SZbigniew Bodekdev/ofw/ofwpci.c optional fdt pci 96f94f8e62SAndrew Turnerdev/pci/pci_host_generic.c optional pci_host_generic pci 97f94f8e62SAndrew Turnerdev/pci/pci_host_generic_fdt.c optional pci_host_generic pci fdt 9846b1fe92SAndrew Turnerdev/psci/psci.c optional psci 997722d8c7SRuslan Bukindev/psci/smccc_arm.S optional psci 100e1f04cd0SOleksandr Tymoshenkodev/syscons/scgfbrndr.c optional sc 101cb34ed44SMarcel Moolenaardev/uart/uart_cpu_fdt.c optional uart fdt 102cb34ed44SMarcel Moolenaar 1033fc155dcSAndrew Turnerkern/msi_if.m optional intrng 10459c3cb81SAndrew Turnerkern/pic_if.m optional intrng 1054c712a25SOlivier Houchardkern/subr_busdma_bufalloc.c standard 10630b72b68SRuslan Bukinkern/subr_devmap.c standard 10749439183SMitchell Hornekern/subr_physmem.c standard 108c8d2ffd6SGleb Smirnoffkern/subr_sfbuf.c standard 1095cc8d54cSAndrew Turnerlibkern/arm/aeabi_unwind.c standard 11078b36e3cSOlivier Houchardlibkern/arm/divsi3.S standard 1111c76d3a9SDoug Moorelibkern/arm/ffs.S optional !armv7 !armv6 11246d741dcSAndrew Turnerlibkern/arm/ldivmod.S standard 11346d741dcSAndrew Turnerlibkern/arm/ldivmod_helper.c standard 1146c50960bSAndrew Turnerlibkern/arm/memclr.S standard 115530bff3fSAndrew Turnerlibkern/arm/memcpy.S standard 11669d758b4SAndrew Turnerlibkern/arm/memset.S standard 11778b36e3cSOlivier Houchardlibkern/arm/muldi3.c standard 11878b36e3cSOlivier Houchardlibkern/ashldi3.c standard 11978b36e3cSOlivier Houchardlibkern/ashrdi3.c standard 12078b36e3cSOlivier Houchardlibkern/divdi3.c standard 1211c76d3a9SDoug Moorelibkern/ffsl.c optional !armv7 !armv6 1221c76d3a9SDoug Moorelibkern/ffsll.c optional !armv7 !armv6 1231c76d3a9SDoug Moorelibkern/fls.c optional !armv7 !armv6 1241c76d3a9SDoug Moorelibkern/flsl.c optional !armv7 !armv6 1251c76d3a9SDoug Moorelibkern/flsll.c optional !armv7 !armv6 12678b36e3cSOlivier Houchardlibkern/lshrdi3.c standard 127a8e3f99eSMateusz Guziklibkern/memcmp.c standard 12878b36e3cSOlivier Houchardlibkern/moddi3.c standard 12978b36e3cSOlivier Houchardlibkern/qdivrem.c standard 1301693ce44SOlivier Houchardlibkern/ucmpdi2.c standard 13178b36e3cSOlivier Houchardlibkern/udivdi3.c standard 13278b36e3cSOlivier Houchardlibkern/umoddi3.c standard 133dbfb4063SEmmanuel Vadot 13467bf7c51SEmmanuel Vadot# CloudABI support 13567bf7c51SEmmanuel Vadotcloudabi32_vdso.o optional compat_cloudabi32 \ 13667bf7c51SEmmanuel Vadot dependency "$S/contrib/cloudabi/cloudabi_vdso_armv6.S" \ 13767bf7c51SEmmanuel Vadot compile-with "${CC} -x assembler-with-cpp -shared -nostdinc -nostdlib -Wl,-T$S/compat/cloudabi/cloudabi_vdso.lds $S/contrib/cloudabi/cloudabi_vdso_armv6.S -o ${.TARGET}" \ 13867bf7c51SEmmanuel Vadot no-obj no-implicit-rule \ 13967bf7c51SEmmanuel Vadot clean "cloudabi32_vdso.o" 14067bf7c51SEmmanuel Vadot# 14167bf7c51SEmmanuel Vadotcloudabi32_vdso_blob.o optional compat_cloudabi32 \ 14267bf7c51SEmmanuel Vadot dependency "cloudabi32_vdso.o" \ 14367bf7c51SEmmanuel Vadot compile-with "${OBJCOPY} --input-target binary --output-target elf32-littlearm --binary-architecture arm cloudabi32_vdso.o ${.TARGET}" \ 14467bf7c51SEmmanuel Vadot no-implicit-rule \ 14567bf7c51SEmmanuel Vadot clean "cloudabi32_vdso_blob.o" 14667bf7c51SEmmanuel Vadot# 14767bf7c51SEmmanuel Vadot 14867bf7c51SEmmanuel Vadot# Annapurna support 14967bf7c51SEmmanuel Vadotarm/annapurna/alpine/alpine_ccu.c optional al_ccu fdt 15067bf7c51SEmmanuel Vadotarm/annapurna/alpine/alpine_nb_service.c optional al_nb_service fdt 15167bf7c51SEmmanuel Vadotarm/annapurna/alpine/alpine_pci.c optional al_pci fdt 15267bf7c51SEmmanuel Vadotarm/annapurna/alpine/alpine_pci_msix.c optional al_pci fdt 15367bf7c51SEmmanuel Vadotarm/annapurna/alpine/alpine_serdes.c optional al_serdes fdt \ 15467bf7c51SEmmanuel Vadot no-depend \ 15567bf7c51SEmmanuel Vadot compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}" 156