1# $FreeBSD$ 2 3arm/arm/autoconf.c standard 4arm/arm/bcopy_page.S standard 5arm/arm/bcopyinout.S standard 6arm/arm/blockio.S standard 7arm/arm/bus_space_asm_generic.S standard 8arm/arm/bus_space_base.c optional fdt 9arm/arm/bus_space_generic.c standard 10arm/arm/busdma_machdep.c standard 11arm/arm/copystr.S standard 12arm/arm/cpufunc.c standard 13arm/arm/cpufunc_asm.S standard 14arm/arm/cpufunc_asm_arm9.S optional cpu_arm9e 15arm/arm/cpufunc_asm_arm11x6.S optional cpu_arm1176 16arm/arm/cpufunc_asm_armv4.S optional cpu_arm9e 17arm/arm/cpufunc_asm_armv5_ec.S optional cpu_arm9e 18arm/arm/cpufunc_asm_armv7.S optional cpu_cortexa | cpu_krait | cpu_mv_pj4b 19arm/arm/cpufunc_asm_pj4b.S optional cpu_mv_pj4b 20arm/arm/cpufunc_asm_sheeva.S optional cpu_arm9e 21arm/arm/cpuinfo.c standard 22arm/arm/cpu_asm-v6.S optional armv7 | armv6 23arm/arm/db_disasm.c optional ddb 24arm/arm/db_interface.c optional ddb 25arm/arm/db_trace.c optional ddb 26arm/arm/debug_monitor.c optional ddb armv6 27arm/arm/debug_monitor.c optional ddb armv7 28arm/arm/disassem.c optional ddb 29arm/arm/dump_machdep.c standard 30arm/arm/elf_machdep.c standard 31arm/arm/elf_note.S standard 32arm/arm/exception.S standard 33arm/arm/fiq.c standard 34arm/arm/fiq_subr.S standard 35arm/arm/fusu.S standard 36arm/arm/gdb_machdep.c optional gdb 37arm/arm/generic_timer.c optional generic_timer 38arm/arm/gic.c optional gic 39arm/arm/gic_fdt.c optional gic fdt 40arm/arm/identcpu-v4.c optional !armv7 !armv6 41arm/arm/identcpu-v6.c optional armv7 | armv6 42arm/arm/in_cksum.c optional inet | inet6 43arm/arm/in_cksum_arm.S optional inet | inet6 44arm/arm/intr.c optional !intrng 45kern/subr_intr.c optional intrng 46arm/arm/locore.S standard no-obj 47arm/arm/hypervisor-stub.S optional armv7 | armv6 48arm/arm/machdep.c standard 49arm/arm/machdep_boot.c standard 50arm/arm/machdep_kdb.c standard 51arm/arm/machdep_intr.c standard 52arm/arm/machdep_ptrace.c standard 53arm/arm/mem.c optional mem 54arm/arm/minidump_machdep.c standard 55arm/arm/mp_machdep.c optional smp 56arm/arm/mpcore_timer.c optional mpcore_timer 57arm/arm/nexus.c standard 58arm/arm/ofw_machdep.c optional fdt 59arm/arm/pl190.c optional pl190 60arm/arm/pl310.c optional pl310 61arm/arm/platform.c optional platform 62arm/arm/platform_if.m optional platform 63arm/arm/platform_pl310_if.m optional platform pl310 64arm/arm/pmap-v4.c optional !armv7 !armv6 65arm/arm/pmap-v6.c optional armv7 | armv6 66arm/arm/pmu.c optional pmu | fdt hwpmc 67arm/arm/ptrace_machdep.c standard 68arm/arm/sc_machdep.c optional sc 69arm/arm/setcpsr.S standard 70arm/arm/setstack.s standard 71arm/arm/stack_machdep.c optional ddb | stack 72arm/arm/stdatomic.c standard \ 73 compile-with "${NORMAL_C:N-Wmissing-prototypes}" 74arm/arm/support.S standard 75arm/arm/swtch.S standard 76arm/arm/swtch-v4.S optional !armv7 !armv6 77arm/arm/swtch-v6.S optional armv7 | armv6 78arm/arm/sys_machdep.c standard 79arm/arm/syscall.c standard 80arm/arm/trap-v4.c optional !armv7 !armv6 81arm/arm/trap-v6.c optional armv7 | armv6 82arm/arm/uio_machdep.c standard 83arm/arm/undefined.c standard 84arm/arm/unwind.c optional ddb | kdtrace_hooks | stack 85arm/arm/vm_machdep.c standard 86arm/arm/vfp.c standard 87arm/cloudabi32/cloudabi32_sysvec.c optional compat_cloudabi32 88cddl/compat/opensolaris/kern/opensolaris_atomic.c optional !armv7 !armv6 zfs | !armv7 !armv6 dtrace compile-with "${CDDL_C}" 89cddl/dev/dtrace/arm/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" 90cddl/dev/dtrace/arm/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" 91cddl/dev/fbt/arm/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}" 92crypto/des/des_enc.c optional netsmb 93dev/cpufreq/cpufreq_dt.c optional cpufreq fdt 94dev/dwc/if_dwc.c optional dwc 95dev/dwc/if_dwc_if.m optional dwc 96dev/fb/fb.c optional sc 97dev/fdt/fdt_arm_platform.c optional platform fdt 98dev/hdmi/hdmi_if.m optional hdmi 99dev/hwpmc/hwpmc_arm.c optional hwpmc 100dev/hwpmc/hwpmc_armv7.c optional hwpmc armv6 101dev/hwpmc/hwpmc_armv7.c optional hwpmc armv7 102dev/iicbus/twsi/twsi.c optional twsi 103dev/ofw/ofwpci.c optional fdt pci 104dev/pci/pci_host_generic.c optional pci_host_generic pci 105dev/pci/pci_host_generic_fdt.c optional pci_host_generic pci fdt 106dev/psci/psci.c optional psci 107dev/psci/smccc_arm.S optional psci 108dev/syscons/scgfbrndr.c optional sc 109dev/uart/uart_cpu_fdt.c optional uart fdt 110 111kern/msi_if.m optional intrng 112kern/pic_if.m optional intrng 113kern/subr_busdma_bufalloc.c standard 114kern/subr_devmap.c standard 115kern/subr_physmem.c standard 116kern/subr_sfbuf.c standard 117libkern/arm/aeabi_unwind.c standard 118libkern/arm/divsi3.S standard 119libkern/arm/ffs.S optional !armv7 !armv6 120libkern/arm/ldivmod.S standard 121libkern/arm/ldivmod_helper.c standard 122libkern/arm/memclr.S standard 123libkern/arm/memcpy.S standard 124libkern/arm/memset.S standard 125libkern/arm/muldi3.c standard 126libkern/ashldi3.c standard 127libkern/ashrdi3.c standard 128libkern/divdi3.c standard 129libkern/ffsl.c optional !armv7 !armv6 130libkern/ffsll.c optional !armv7 !armv6 131libkern/fls.c optional !armv7 !armv6 132libkern/flsl.c optional !armv7 !armv6 133libkern/flsll.c optional !armv7 !armv6 134libkern/lshrdi3.c standard 135libkern/memcmp.c standard 136libkern/moddi3.c standard 137libkern/qdivrem.c standard 138libkern/ucmpdi2.c standard 139libkern/udivdi3.c standard 140libkern/umoddi3.c standard 141 142# CloudABI support 143cloudabi32_vdso.o optional compat_cloudabi32 \ 144 dependency "$S/contrib/cloudabi/cloudabi_vdso_armv6.S" \ 145 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}" \ 146 no-obj no-implicit-rule \ 147 clean "cloudabi32_vdso.o" 148# 149cloudabi32_vdso_blob.o optional compat_cloudabi32 \ 150 dependency "cloudabi32_vdso.o" \ 151 compile-with "${OBJCOPY} --input-target binary --output-target elf32-littlearm --binary-architecture arm cloudabi32_vdso.o ${.TARGET}" \ 152 no-implicit-rule \ 153 clean "cloudabi32_vdso_blob.o" 154# 155 156# Annapurna support 157arm/annapurna/alpine/alpine_ccu.c optional al_ccu fdt 158arm/annapurna/alpine/alpine_nb_service.c optional al_nb_service fdt 159arm/annapurna/alpine/alpine_pci.c optional al_pci fdt 160arm/annapurna/alpine/alpine_pci_msix.c optional al_pci fdt 161arm/annapurna/alpine/alpine_serdes.c optional al_serdes fdt \ 162 no-depend \ 163 compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${PROF} ${.IMPSRC}" 164