1# This file tells config what files go into building a kernel, 2# files marked standard are always included. 3# 4# $FreeBSD$ 5# 6# The long compile-with and dependency lines are required because of 7# limitations in config: backslash-newline doesn't work in strings, and 8# dependency lines other than the first are silently ignored. 9# 10# 11 12# There is only an asm version on ppc64. 13contrib/openzfs/module/icp/asm-ppc64/blake3/b3_ppc64le_sse2.S optional zfs compile-with "${ZFS_S}" 14contrib/openzfs/module/icp/asm-ppc64/blake3/b3_ppc64le_sse41.S optional zfs compile-with "${ZFS_S}" 15cddl/compat/opensolaris/kern/opensolaris_atomic.c optional zfs powerpc | dtrace powerpc | zfs powerpcspe | dtrace powerpcspe compile-with "${ZFS_C}" 16cddl/dev/dtrace/powerpc/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" 17cddl/dev/dtrace/powerpc/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" 18cddl/dev/fbt/powerpc/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}" 19crypto/des/des_enc.c optional netsmb 20dev/aacraid/aacraid_endian.c optional aacraid 21dev/adb/adb_bus.c optional adb 22dev/adb/adb_kbd.c optional adb 23dev/adb/adb_mouse.c optional adb 24dev/adb/adb_hb_if.m optional adb 25dev/adb/adb_if.m optional adb 26dev/adb/adb_buttons.c optional adb 27dev/agp/agp_apple.c optional agp powermac 28dev/fb/fb.c optional sc 29dev/gpio/qoriq_gpio.c optional mpc85xx gpio 30dev/hwpmc/hwpmc_e500.c optional hwpmc 31dev/hwpmc/hwpmc_mpc7xxx.c optional hwpmc 32dev/hwpmc/hwpmc_power8.c optional hwpmc 33dev/hwpmc/hwpmc_powerpc.c optional hwpmc 34dev/hwpmc/hwpmc_ppc970.c optional hwpmc 35dev/iicbus/ad7417.c optional ad7417 powermac 36dev/iicbus/adm1030.c optional powermac windtunnel | adm1030 powermac 37dev/iicbus/adt746x.c optional adt746x powermac 38dev/iicbus/ds1631.c optional ds1631 powermac 39dev/iicbus/ds1775.c optional ds1775 powermac 40dev/iicbus/max6690.c optional max6690 powermac 41dev/iicbus/ofw_iicbus.c optional iicbus aim 42dev/iicbus/ofw_iicbus_if.m optional iicbus aim 43dev/ipmi/ipmi.c optional ipmi 44dev/ipmi/ipmi_opal.c optional powernv ipmi 45dev/ice/if_ice_iflib.c optional ice pci powerpc64 \ 46 compile-with "${NORMAL_C} -I$S/dev/ice" 47dev/ice/ice_lib.c optional ice pci powerpc64 \ 48 compile-with "${NORMAL_C} -I$S/dev/ice" 49dev/ice/ice_osdep.c optional ice pci powerpc64 \ 50 compile-with "${NORMAL_C} -I$S/dev/ice" 51dev/ice/ice_resmgr.c optional ice pci powerpc64 \ 52 compile-with "${NORMAL_C} -I$S/dev/ice" 53dev/ice/ice_strings.c optional ice pci powerpc64 \ 54 compile-with "${NORMAL_C} -I$S/dev/ice" 55dev/ice/ice_iflib_recovery_txrx.c optional ice pci powerpc64 \ 56 compile-with "${NORMAL_C} -I$S/dev/ice" 57dev/ice/ice_iflib_txrx.c optional ice pci powerpc64 \ 58 compile-with "${NORMAL_C} -I$S/dev/ice" 59dev/ice/ice_common.c optional ice pci powerpc64 \ 60 compile-with "${NORMAL_C} -I$S/dev/ice" 61dev/ice/ice_controlq.c optional ice pci powerpc64 \ 62 compile-with "${NORMAL_C} -I$S/dev/ice" 63dev/ice/ice_dcb.c optional ice pci powerpc64 \ 64 compile-with "${NORMAL_C} -I$S/dev/ice" 65dev/ice/ice_flex_pipe.c optional ice pci powerpc64 \ 66 compile-with "${NORMAL_C} -I$S/dev/ice" 67dev/ice/ice_flow.c optional ice pci powerpc64 \ 68 compile-with "${NORMAL_C} -I$S/dev/ice" 69dev/ice/ice_nvm.c optional ice pci powerpc64 \ 70 compile-with "${NORMAL_C} -I$S/dev/ice" 71dev/ice/ice_sched.c optional ice pci powerpc64 \ 72 compile-with "${NORMAL_C} -I$S/dev/ice" 73dev/ice/ice_switch.c optional ice pci powerpc64 \ 74 compile-with "${NORMAL_C} -I$S/dev/ice" 75dev/ice/ice_vlan_mode.c optional ice pci powerpc64 \ 76 compile-with "${NORMAL_C} -I$S/dev/ice" 77dev/ice/ice_fw_logging.c optional ice pci powerpc64 \ 78 compile-with "${NORMAL_C} -I$S/dev/ice" 79dev/ice/ice_fwlog.c optional ice pci powerpc64 \ 80 compile-with "${NORMAL_C} -I$S/dev/ice" 81dev/ice/ice_rdma.c optional ice pci powerpc64 \ 82 compile-with "${NORMAL_C} -I$S/dev/ice" 83dev/ice/irdma_if.m optional ice pci powerpc64 \ 84 compile-with "${NORMAL_M} -I$S/dev/ice" 85dev/ice/irdma_di_if.m optional ice pci powerpc64 \ 86 compile-with "${NORMAL_M} -I$S/dev/ice" 87ice_ddp.c optional ice_ddp powerpc64 \ 88 compile-with "${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031b00 -mice_ddp -c${.TARGET}" \ 89 no-ctfconvert no-implicit-rule before-depend local \ 90 clean "ice_ddp.c" 91ice_ddp.fwo optional ice_ddp powerpc64 \ 92 dependency "ice_ddp.fw" \ 93 compile-with "${NORMAL_FWO}" \ 94 no-implicit-rule \ 95 clean "ice_ddp.fwo" 96ice_ddp.fw optional ice_ddp powerpc64 \ 97 dependency "$S/contrib/dev/ice/ice-1.3.27.0.pkg" \ 98 compile-with "${CP} $S/contrib/dev/ice/ice-1.3.27.0.pkg ice_ddp.fw" \ 99 no-obj no-implicit-rule \ 100 clean "ice_ddp.fw" 101dev/ixl/if_ixl.c optional ixl pci powerpc64 \ 102 compile-with "${NORMAL_C} -I$S/dev/ixl" 103dev/ixl/ixl_pf_main.c optional ixl pci powerpc64 \ 104 compile-with "${NORMAL_C} -I$S/dev/ixl" 105dev/ixl/ixl_pf_iflib.c optional ixl pci powerpc64 \ 106 compile-with "${NORMAL_C} -I$S/dev/ixl" 107dev/ixl/ixl_pf_qmgr.c optional ixl pci powerpc64 \ 108 compile-with "${NORMAL_C} -I$S/dev/ixl" 109dev/ixl/ixl_pf_iov.c optional ixl pci pci_iov powerpc64 \ 110 compile-with "${NORMAL_C} -I$S/dev/ixl" 111dev/ixl/ixl_pf_i2c.c optional ixl pci powerpc64 \ 112 compile-with "${NORMAL_C} -I$S/dev/ixl" 113dev/ixl/if_iavf.c optional iavf pci powerpc64 \ 114 compile-with "${NORMAL_C} -I$S/dev/ixl" 115dev/ixl/iavf_vc.c optional iavf pci powerpc64 \ 116 compile-with "${NORMAL_C} -I$S/dev/ixl" 117dev/ixl/ixl_txrx.c optional ixl pci powerpc64 | \ 118 iavf pci powerpc64 \ 119 compile-with "${NORMAL_C} -I$S/dev/ixl" 120dev/ixl/i40e_osdep.c optional ixl pci powerpc64 | \ 121 iavf pci powerpc64 \ 122 compile-with "${NORMAL_C} -I$S/dev/ixl" 123dev/ixl/i40e_lan_hmc.c optional ixl pci powerpc64 | \ 124 iavf pci powerpc64 \ 125 compile-with "${NORMAL_C} -I$S/dev/ixl" 126dev/ixl/i40e_hmc.c optional ixl pci powerpc64 | \ 127 iavf pci powerpc64 \ 128 compile-with "${NORMAL_C} -I$S/dev/ixl" 129dev/ixl/i40e_common.c optional ixl pci powerpc64 | \ 130 iavf pci powerpc64 \ 131 compile-with "${NORMAL_C} -I$S/dev/ixl" 132dev/ixl/i40e_nvm.c optional ixl pci powerpc64 | \ 133 iavf pci powerpc64 \ 134 compile-with "${NORMAL_C} -I$S/dev/ixl" 135dev/ixl/i40e_adminq.c optional ixl pci powerpc64 | \ 136 iavf pci powerpc64 \ 137 compile-with "${NORMAL_C} -I$S/dev/ixl" 138dev/ixl/i40e_dcb.c optional ixl pci powerpc64 \ 139 compile-with "${NORMAL_C} -I$S/dev/ixl" 140# Most ofw stuff below is brought in by conf/files for options FDT, but 141# we always want it, even on non-FDT platforms. 142dev/fdt/simplebus.c standard 143dev/ofw/openfirm.c standard 144dev/ofw/openfirmio.c standard 145dev/ofw/ofw_bus_if.m standard 146dev/ofw/ofw_cpu.c standard 147dev/ofw/ofw_if.m standard 148dev/ofw/ofw_bus_subr.c standard 149dev/ofw/ofw_console.c optional aim 150dev/ofw/ofw_disk.c optional ofwd aim 151dev/ofw/ofwbus.c standard 152dev/ofw/ofw_pcib.c optional pci 153dev/ofw/ofw_standard.c optional aim powerpc 154dev/ofw/ofw_subr.c standard 155dev/powermac_nvram/powermac_nvram.c optional powermac_nvram powermac 156dev/quicc/quicc_bfe_fdt.c optional quicc mpc85xx 157dev/random/darn.c optional powerpc64 !random_loadable | powerpc64le !random_loadable 158dev/scc/scc_bfe_macio.c optional scc powermac 159dev/sdhci/fsl_sdhci.c optional mpc85xx sdhci 160dev/sec/sec.c optional sec mpc85xx 161dev/sound/macio/aoa.c optional snd_davbus | snd_ai2s powermac 162dev/sound/macio/davbus.c optional snd_davbus powermac 163dev/sound/macio/i2s.c optional snd_ai2s powermac 164dev/sound/macio/onyx.c optional snd_ai2s iicbus powermac 165dev/sound/macio/snapper.c optional snd_ai2s iicbus powermac 166dev/sound/macio/tumbler.c optional snd_ai2s iicbus powermac 167dev/syscons/scgfbrndr.c optional sc 168dev/tsec/if_tsec.c optional tsec 169dev/tsec/if_tsec_fdt.c optional tsec 170dev/uart/uart_cpu_powerpc.c optional uart 171dev/usb/controller/ehci_fsl.c optional ehci mpc85xx 172dev/vt/hw/ofwfb/ofwfb.c optional vt aim 173kern/subr_atomic64.c optional powerpc | powerpcspe 174kern/subr_dummy_vdso_tc.c standard 175kern/syscalls.c optional ktr 176kern/subr_sfbuf.c standard 177libkern/ashldi3.c optional powerpc | powerpcspe 178libkern/ashrdi3.c optional powerpc | powerpcspe 179libkern/bcopy.c standard 180libkern/cmpdi2.c optional powerpc | powerpcspe 181libkern/divdi3.c optional powerpc | powerpcspe 182libkern/ffs.c standard 183libkern/ffsl.c standard 184libkern/ffsll.c standard 185libkern/flsll.c standard 186libkern/lshrdi3.c optional powerpc | powerpcspe 187libkern/memcmp.c standard 188libkern/memset.c standard 189libkern/moddi3.c optional powerpc | powerpcspe 190libkern/qdivrem.c optional powerpc | powerpcspe 191libkern/strlen.c standard 192libkern/ucmpdi2.c optional powerpc | powerpcspe 193libkern/udivdi3.c optional powerpc | powerpcspe 194libkern/umoddi3.c optional powerpc | powerpcspe 195powerpc/aim/locore.S optional aim no-obj 196powerpc/aim/aim_machdep.c optional aim 197powerpc/aim/mmu_oea.c optional aim powerpc 198powerpc/aim/mmu_oea64.c optional aim 199powerpc/aim/mmu_radix.c optional aim powerpc64 | aim powerpc64le 200powerpc/aim/moea64_native.c optional aim 201powerpc/aim/mp_cpudep.c optional aim 202powerpc/aim/slb.c optional aim powerpc64 | aim powerpc64le 203powerpc/amigaone/platform_amigaone.c optional amigaone 204powerpc/amigaone/cpld_a1222.c optional powerpc amigaone | powerpcspe amigaone 205powerpc/amigaone/cpld_x5000.c optional powerpc amigaone | powerpc64 amigaone 206powerpc/booke/locore.S optional booke no-obj 207powerpc/booke/booke_machdep.c optional booke 208powerpc/booke/machdep_e500.c optional booke_e500 209powerpc/booke/mp_cpudep.c optional booke smp 210powerpc/booke/platform_bare.c optional booke 211powerpc/booke/pmap.c optional booke 212powerpc/booke/spe.c optional powerpcspe 213powerpc/cpufreq/dfs.c optional cpufreq 214powerpc/cpufreq/mpc85xx_jog.c optional cpufreq mpc85xx 215powerpc/cpufreq/pcr.c optional cpufreq aim 216powerpc/cpufreq/pmcr.c optional cpufreq aim powerpc64 | cpufreq aim powerpc64le 217powerpc/cpufreq/pmufreq.c optional cpufreq aim pmu 218powerpc/fpu/fpu_add.c optional fpu_emu | powerpcspe 219powerpc/fpu/fpu_compare.c optional fpu_emu | powerpcspe 220powerpc/fpu/fpu_div.c optional fpu_emu | powerpcspe 221powerpc/fpu/fpu_emu.c optional fpu_emu 222powerpc/fpu/fpu_explode.c optional fpu_emu | powerpcspe 223powerpc/fpu/fpu_implode.c optional fpu_emu | powerpcspe 224powerpc/fpu/fpu_mul.c optional fpu_emu | powerpcspe 225powerpc/fpu/fpu_sqrt.c optional fpu_emu 226powerpc/fpu/fpu_subr.c optional fpu_emu | powerpcspe 227powerpc/mambo/mambocall.S optional mambo 228powerpc/mambo/mambo.c optional mambo 229powerpc/mambo/mambo_console.c optional mambo 230powerpc/mambo/mambo_disk.c optional mambo 231powerpc/mikrotik/platform_rb.c optional mikrotik 232powerpc/mikrotik/rb_led.c optional mikrotik 233powerpc/mpc85xx/atpic.c optional mpc85xx isa 234powerpc/mpc85xx/ds1553_bus_fdt.c optional ds1553 235powerpc/mpc85xx/ds1553_core.c optional ds1553 236powerpc/mpc85xx/fsl_diu.c optional mpc85xx diu 237powerpc/mpc85xx/fsl_espi.c optional mpc85xx spibus 238powerpc/mpc85xx/fsl_sata.c optional mpc85xx ata 239powerpc/mpc85xx/i2c.c optional mpc85xx iicbus 240powerpc/mpc85xx/isa.c optional mpc85xx isa 241powerpc/mpc85xx/lbc.c optional mpc85xx 242powerpc/mpc85xx/mpc85xx.c optional mpc85xx 243powerpc/mpc85xx/mpc85xx_cache.c optional mpc85xx 244powerpc/mpc85xx/mpc85xx_gpio.c optional mpc85xx gpio 245powerpc/mpc85xx/platform_mpc85xx.c optional mpc85xx 246powerpc/mpc85xx/pci_mpc85xx.c optional pci mpc85xx 247powerpc/mpc85xx/pci_mpc85xx_pcib.c optional pci mpc85xx 248powerpc/ofw/ofw_machdep.c standard 249powerpc/ofw/ofw_pcibus.c optional pci 250powerpc/ofw/ofw_pcib_pci.c optional pci 251powerpc/ofw/ofw_real.c optional aim 252powerpc/ofw/ofw_syscons.c optional sc aim 253powerpc/ofw/ofwcall32.S optional aim powerpc 254powerpc/ofw/ofwcall64.S optional aim powerpc64 | aim powerpc64le 255powerpc/ofw/openpic_ofw.c standard 256powerpc/ofw/rtas.c optional aim 257powerpc/ofw/ofw_initrd.c optional md_root_mem powerpc64 | md_root_mem powerpc64le 258powerpc/powermac/ata_kauai.c optional powermac ata | powermac atamacio 259powerpc/powermac/ata_macio.c optional powermac ata | powermac atamacio 260powerpc/powermac/ata_dbdma.c optional powermac ata | powermac atamacio 261powerpc/powermac/atibl.c optional powermac atibl 262powerpc/powermac/cuda.c optional powermac cuda 263powerpc/powermac/cpcht.c optional powermac pci 264powerpc/powermac/dbdma.c optional powermac pci 265powerpc/powermac/fcu.c optional powermac fcu 266powerpc/powermac/grackle.c optional powermac pci 267powerpc/powermac/hrowpic.c optional powermac pci 268powerpc/powermac/kiic.c optional powermac kiic 269powerpc/powermac/macgpio.c optional powermac pci 270powerpc/powermac/macio.c optional powermac pci 271powerpc/powermac/nvbl.c optional powermac nvbl 272powerpc/powermac/platform_powermac.c optional powermac 273powerpc/powermac/powermac_thermal.c optional powermac 274powerpc/powermac/pswitch.c optional powermac pswitch 275powerpc/powermac/pmu.c optional powermac pmu 276powerpc/powermac/smu.c optional powermac smu 277powerpc/powermac/smusat.c optional powermac smu 278powerpc/powermac/tbgpio.c optional powermac pci smp 279powerpc/powermac/uninorth.c optional powermac 280powerpc/powermac/uninorthpci.c optional powermac pci 281powerpc/powermac/vcoregpio.c optional powermac 282powerpc/powernv/opal.c optional powernv 283powerpc/powernv/opal_async.c optional powernv 284powerpc/powernv/opal_console.c optional powernv 285powerpc/powernv/opal_dbg.c optional powernv gdb 286powerpc/powernv/opal_dev.c optional powernv 287powerpc/powernv/opal_flash.c optional powernv opalflash 288powerpc/powernv/opal_hmi.c optional powernv 289powerpc/powernv/opal_i2c.c optional iicbus fdt powernv 290powerpc/powernv/opal_i2cm.c optional iicbus fdt powernv 291powerpc/powernv/opal_nvram.c optional powernv nvram 292powerpc/powernv/opal_pci.c optional powernv pci 293powerpc/powernv/opal_sensor.c optional powernv 294powerpc/powernv/opalcall.S optional powernv 295powerpc/powernv/platform_powernv.c optional powernv 296powerpc/powernv/powernv_centaur.c optional powernv 297powerpc/powernv/powernv_xscom.c optional powernv 298powerpc/powernv/xive.c optional powernv 299powerpc/powerpc/altivec.c optional !powerpcspe 300powerpc/powerpc/autoconf.c standard 301powerpc/powerpc/bus_machdep.c standard 302powerpc/powerpc/busdma_machdep.c standard 303powerpc/powerpc/clock.c standard 304powerpc/powerpc/copyinout.c optional aim 305powerpc/powerpc/cpu.c standard 306powerpc/powerpc/cpu_subr64.S optional powerpc64 | powerpc64le 307powerpc/powerpc/db_disasm.c optional ddb 308powerpc/powerpc/db_hwwatch.c optional ddb 309powerpc/powerpc/db_interface.c optional ddb 310powerpc/powerpc/db_trace.c optional ddb 311powerpc/powerpc/dump_machdep.c standard 312powerpc/powerpc/elf32_machdep.c optional powerpc | powerpcspe | compat_freebsd32 313powerpc/powerpc/elf64_machdep.c optional powerpc64 | powerpc64le 314powerpc/powerpc/exec_machdep.c standard 315powerpc/powerpc/fpu.c standard 316powerpc/powerpc/gdb_machdep.c optional gdb 317powerpc/powerpc/interrupt.c standard 318powerpc/powerpc/intr_machdep.c standard 319powerpc/powerpc/iommu_if.m standard 320powerpc/powerpc/machdep.c standard 321powerpc/powerpc/mem.c optional mem 322powerpc/powerpc/minidump_machdep.c optional powerpc64 | powerpc64le 323powerpc/powerpc/mp_machdep.c optional smp 324powerpc/powerpc/nexus.c standard 325powerpc/powerpc/openpic.c standard 326powerpc/powerpc/pic_if.m standard 327powerpc/powerpc/pmap_dispatch.c standard 328powerpc/powerpc/platform.c standard 329powerpc/powerpc/platform_if.m standard 330powerpc/powerpc/ptrace_machdep.c standard 331powerpc/powerpc/sc_machdep.c optional sc 332powerpc/powerpc/setjmp.S standard 333powerpc/powerpc/sigcode32.S optional powerpc | powerpcspe | compat_freebsd32 334powerpc/powerpc/sigcode64.S optional powerpc64 | powerpc64le 335powerpc/powerpc/swtch32.S optional powerpc | powerpcspe 336powerpc/powerpc/swtch64.S optional powerpc64 | powerpc64le 337powerpc/powerpc/stack_machdep.c optional ddb | stack 338powerpc/powerpc/support.S optional powerpc64 | powerpc64le | booke 339powerpc/powerpc/syncicache.c standard 340powerpc/powerpc/sys_machdep.c standard 341powerpc/powerpc/trap.c standard 342powerpc/powerpc/uio_machdep.c standard 343powerpc/powerpc/uma_machdep.c standard 344powerpc/powerpc/vm_machdep.c standard 345powerpc/ps3/ehci_ps3.c optional ps3 ehci 346powerpc/ps3/ohci_ps3.c optional ps3 ohci 347powerpc/ps3/if_glc.c optional ps3 glc 348powerpc/ps3/mmu_ps3.c optional ps3 349powerpc/ps3/platform_ps3.c optional ps3 350powerpc/ps3/ps3bus.c optional ps3 351powerpc/ps3/ps3cdrom.c optional ps3 scbus 352powerpc/ps3/ps3disk.c optional ps3 353powerpc/ps3/ps3pic.c optional ps3 354powerpc/ps3/ps3_syscons.c optional ps3 vt 355powerpc/ps3/ps3-hvcall.S optional ps3 356powerpc/pseries/phyp-hvcall.S optional pseries powerpc64 | pseries powerpc64le 357powerpc/pseries/mmu_phyp.c optional pseries powerpc64 | pseries powerpc64le 358powerpc/pseries/phyp_console.c optional pseries powerpc64 uart | pseries powerpc64le uart 359powerpc/pseries/phyp_dbg.c optional pseries powerpc64 gdb | pseries powerpc64le gdb 360powerpc/pseries/phyp_llan.c optional llan 361powerpc/pseries/phyp_vscsi.c optional pseries powerpc64 scbus | pseries powerpc64le scbus 362powerpc/pseries/platform_chrp.c optional pseries 363powerpc/pseries/plpar_iommu.c optional pseries powerpc64 | pseries powerpc64le 364powerpc/pseries/plpar_pcibus.c optional pseries powerpc64 pci | pseries powerpc64le pci 365powerpc/pseries/rtas_dev.c optional pseries 366powerpc/pseries/rtas_pci.c optional pseries pci 367powerpc/pseries/vdevice.c optional pseries powerpc64 | pseries powerpc64le 368powerpc/pseries/xics.c optional pseries powerpc64 | pseries powerpc64le 369powerpc/psim/iobus.c optional psim 370powerpc/psim/ata_iobus.c optional ata psim 371powerpc/psim/openpic_iobus.c optional psim 372powerpc/psim/uart_iobus.c optional uart psim 373