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 | ice pci powerpc64le \ 88 compile-with "${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031e00 -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 | ice pci powerpc64le \ 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 | ice pci powerpc64le \ 97 dependency "$S/contrib/dev/ice/ice-1.3.30.0.pkg" \ 98 compile-with "${CP} $S/contrib/dev/ice/ice-1.3.30.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/strcmp.c standard 192libkern/strlen.c standard 193libkern/strncmp.c standard 194libkern/ucmpdi2.c optional powerpc | powerpcspe 195libkern/udivdi3.c optional powerpc | powerpcspe 196libkern/umoddi3.c optional powerpc | powerpcspe 197powerpc/aim/locore.S optional aim no-obj 198powerpc/aim/aim_machdep.c optional aim 199powerpc/aim/mmu_oea.c optional aim powerpc 200powerpc/aim/mmu_oea64.c optional aim 201powerpc/aim/mmu_radix.c optional aim powerpc64 | aim powerpc64le 202powerpc/aim/moea64_native.c optional aim 203powerpc/aim/mp_cpudep.c optional aim 204powerpc/aim/slb.c optional aim powerpc64 | aim powerpc64le 205powerpc/amigaone/platform_amigaone.c optional amigaone 206powerpc/amigaone/cpld_a1222.c optional powerpc amigaone | powerpcspe amigaone 207powerpc/amigaone/cpld_x5000.c optional powerpc amigaone | powerpc64 amigaone 208powerpc/booke/locore.S optional booke no-obj 209powerpc/booke/booke_machdep.c optional booke 210powerpc/booke/machdep_e500.c optional booke_e500 211powerpc/booke/mp_cpudep.c optional booke smp 212powerpc/booke/platform_bare.c optional booke 213powerpc/booke/pmap.c optional booke 214powerpc/booke/spe.c optional powerpcspe 215powerpc/cpufreq/dfs.c optional cpufreq 216powerpc/cpufreq/mpc85xx_jog.c optional cpufreq mpc85xx 217powerpc/cpufreq/pcr.c optional cpufreq aim 218powerpc/cpufreq/pmcr.c optional cpufreq aim powerpc64 | cpufreq aim powerpc64le 219powerpc/cpufreq/pmufreq.c optional cpufreq aim pmu 220powerpc/fpu/fpu_add.c optional fpu_emu | powerpcspe 221powerpc/fpu/fpu_compare.c optional fpu_emu | powerpcspe 222powerpc/fpu/fpu_div.c optional fpu_emu | powerpcspe 223powerpc/fpu/fpu_emu.c optional fpu_emu 224powerpc/fpu/fpu_explode.c optional fpu_emu | powerpcspe 225powerpc/fpu/fpu_implode.c optional fpu_emu | powerpcspe 226powerpc/fpu/fpu_mul.c optional fpu_emu | powerpcspe 227powerpc/fpu/fpu_sqrt.c optional fpu_emu 228powerpc/fpu/fpu_subr.c optional fpu_emu | powerpcspe 229powerpc/mambo/mambocall.S optional mambo 230powerpc/mambo/mambo.c optional mambo 231powerpc/mambo/mambo_console.c optional mambo 232powerpc/mambo/mambo_disk.c optional mambo 233powerpc/mikrotik/platform_rb.c optional mikrotik 234powerpc/mikrotik/rb_led.c optional mikrotik 235powerpc/mpc85xx/atpic.c optional mpc85xx isa 236powerpc/mpc85xx/ds1553_bus_fdt.c optional ds1553 237powerpc/mpc85xx/ds1553_core.c optional ds1553 238powerpc/mpc85xx/fsl_diu.c optional mpc85xx diu 239powerpc/mpc85xx/fsl_espi.c optional mpc85xx spibus 240powerpc/mpc85xx/fsl_sata.c optional mpc85xx ata 241powerpc/mpc85xx/i2c.c optional mpc85xx iicbus 242powerpc/mpc85xx/isa.c optional mpc85xx isa 243powerpc/mpc85xx/lbc.c optional mpc85xx 244powerpc/mpc85xx/mpc85xx.c optional mpc85xx 245powerpc/mpc85xx/mpc85xx_cache.c optional mpc85xx 246powerpc/mpc85xx/mpc85xx_gpio.c optional mpc85xx gpio 247powerpc/mpc85xx/platform_mpc85xx.c optional mpc85xx 248powerpc/mpc85xx/pci_mpc85xx.c optional pci mpc85xx 249powerpc/mpc85xx/pci_mpc85xx_pcib.c optional pci mpc85xx 250powerpc/ofw/ofw_machdep.c standard 251powerpc/ofw/ofw_pcibus.c optional pci 252powerpc/ofw/ofw_pcib_pci.c optional pci 253powerpc/ofw/ofw_real.c optional aim 254powerpc/ofw/ofw_syscons.c optional sc aim 255powerpc/ofw/ofwcall32.S optional aim powerpc 256powerpc/ofw/ofwcall64.S optional aim powerpc64 | aim powerpc64le 257powerpc/ofw/openpic_ofw.c standard 258powerpc/ofw/rtas.c optional aim 259powerpc/ofw/ofw_initrd.c optional md_root_mem powerpc64 | md_root_mem powerpc64le 260powerpc/powermac/ata_kauai.c optional powermac ata | powermac atamacio 261powerpc/powermac/ata_macio.c optional powermac ata | powermac atamacio 262powerpc/powermac/ata_dbdma.c optional powermac ata | powermac atamacio 263powerpc/powermac/atibl.c optional powermac atibl 264powerpc/powermac/cuda.c optional powermac cuda 265powerpc/powermac/cpcht.c optional powermac pci 266powerpc/powermac/dbdma.c optional powermac pci 267powerpc/powermac/fcu.c optional powermac fcu 268powerpc/powermac/grackle.c optional powermac pci 269powerpc/powermac/hrowpic.c optional powermac pci 270powerpc/powermac/kiic.c optional powermac kiic 271powerpc/powermac/macgpio.c optional powermac pci 272powerpc/powermac/macio.c optional powermac pci 273powerpc/powermac/nvbl.c optional powermac nvbl 274powerpc/powermac/platform_powermac.c optional powermac 275powerpc/powermac/powermac_thermal.c optional powermac 276powerpc/powermac/pswitch.c optional powermac pswitch 277powerpc/powermac/pmu.c optional powermac pmu 278powerpc/powermac/smu.c optional powermac smu 279powerpc/powermac/smusat.c optional powermac smu 280powerpc/powermac/tbgpio.c optional powermac pci smp 281powerpc/powermac/uninorth.c optional powermac 282powerpc/powermac/uninorthpci.c optional powermac pci 283powerpc/powermac/vcoregpio.c optional powermac 284powerpc/powernv/opal.c optional powernv 285powerpc/powernv/opal_async.c optional powernv 286powerpc/powernv/opal_console.c optional powernv 287powerpc/powernv/opal_dbg.c optional powernv gdb 288powerpc/powernv/opal_dev.c optional powernv 289powerpc/powernv/opal_flash.c optional powernv opalflash 290powerpc/powernv/opal_hmi.c optional powernv 291powerpc/powernv/opal_i2c.c optional iicbus fdt powernv 292powerpc/powernv/opal_i2cm.c optional iicbus fdt powernv 293powerpc/powernv/opal_nvram.c optional powernv nvram 294powerpc/powernv/opal_pci.c optional powernv pci 295powerpc/powernv/opal_sensor.c optional powernv 296powerpc/powernv/opalcall.S optional powernv 297powerpc/powernv/platform_powernv.c optional powernv 298powerpc/powernv/powernv_centaur.c optional powernv 299powerpc/powernv/powernv_xscom.c optional powernv 300powerpc/powernv/xive.c optional powernv 301powerpc/powerpc/altivec.c optional !powerpcspe 302powerpc/powerpc/autoconf.c standard 303powerpc/powerpc/bus_machdep.c standard 304powerpc/powerpc/busdma_machdep.c standard 305powerpc/powerpc/clock.c standard 306powerpc/powerpc/copyinout.c optional aim 307powerpc/powerpc/cpu.c standard 308powerpc/powerpc/cpu_subr64.S optional powerpc64 | powerpc64le 309powerpc/powerpc/db_disasm.c optional ddb 310powerpc/powerpc/db_hwwatch.c optional ddb 311powerpc/powerpc/db_interface.c optional ddb 312powerpc/powerpc/db_trace.c optional ddb 313powerpc/powerpc/dump_machdep.c standard 314powerpc/powerpc/elf32_machdep.c optional powerpc | powerpcspe | compat_freebsd32 315powerpc/powerpc/elf64_machdep.c optional powerpc64 | powerpc64le 316powerpc/powerpc/exec_machdep.c standard 317powerpc/powerpc/fpu.c standard 318powerpc/powerpc/gdb_machdep.c optional gdb 319powerpc/powerpc/interrupt.c standard 320powerpc/powerpc/intr_machdep.c standard 321powerpc/powerpc/iommu_if.m standard 322powerpc/powerpc/machdep.c standard 323powerpc/powerpc/mem.c optional mem 324powerpc/powerpc/minidump_machdep.c optional powerpc64 | powerpc64le 325powerpc/powerpc/mp_machdep.c optional smp 326powerpc/powerpc/nexus.c standard 327powerpc/powerpc/openpic.c standard 328powerpc/powerpc/pic_if.m standard 329powerpc/powerpc/pmap_dispatch.c standard 330powerpc/powerpc/platform.c standard 331powerpc/powerpc/platform_if.m standard 332powerpc/powerpc/ptrace_machdep.c standard 333powerpc/powerpc/sc_machdep.c optional sc 334powerpc/powerpc/setjmp.S standard 335powerpc/powerpc/sigcode32.S optional powerpc | powerpcspe | compat_freebsd32 336powerpc/powerpc/sigcode64.S optional powerpc64 | powerpc64le 337powerpc/powerpc/swtch32.S optional powerpc | powerpcspe 338powerpc/powerpc/swtch64.S optional powerpc64 | powerpc64le 339powerpc/powerpc/stack_machdep.c optional ddb | stack 340powerpc/powerpc/support.S optional powerpc64 | powerpc64le | booke 341powerpc/powerpc/syncicache.c standard 342powerpc/powerpc/sys_machdep.c standard 343powerpc/powerpc/trap.c standard 344powerpc/powerpc/uio_machdep.c standard 345powerpc/powerpc/uma_machdep.c standard 346powerpc/powerpc/vm_machdep.c standard 347powerpc/ps3/ehci_ps3.c optional ps3 ehci 348powerpc/ps3/ohci_ps3.c optional ps3 ohci 349powerpc/ps3/if_glc.c optional ps3 glc 350powerpc/ps3/mmu_ps3.c optional ps3 351powerpc/ps3/platform_ps3.c optional ps3 352powerpc/ps3/ps3bus.c optional ps3 353powerpc/ps3/ps3cdrom.c optional ps3 scbus 354powerpc/ps3/ps3disk.c optional ps3 355powerpc/ps3/ps3pic.c optional ps3 356powerpc/ps3/ps3_syscons.c optional ps3 vt 357powerpc/ps3/ps3-hvcall.S optional ps3 358powerpc/pseries/phyp-hvcall.S optional pseries powerpc64 | pseries powerpc64le 359powerpc/pseries/mmu_phyp.c optional pseries powerpc64 | pseries powerpc64le 360powerpc/pseries/phyp_console.c optional pseries powerpc64 uart | pseries powerpc64le uart 361powerpc/pseries/phyp_dbg.c optional pseries powerpc64 gdb | pseries powerpc64le gdb 362powerpc/pseries/phyp_llan.c optional llan 363powerpc/pseries/phyp_vscsi.c optional pseries powerpc64 scbus | pseries powerpc64le scbus 364powerpc/pseries/platform_chrp.c optional pseries 365powerpc/pseries/plpar_iommu.c optional pseries powerpc64 | pseries powerpc64le 366powerpc/pseries/plpar_pcibus.c optional pseries powerpc64 pci | pseries powerpc64le pci 367powerpc/pseries/rtas_dev.c optional pseries 368powerpc/pseries/rtas_pci.c optional pseries pci 369powerpc/pseries/vdevice.c optional pseries powerpc64 | pseries powerpc64le 370powerpc/pseries/xics.c optional pseries powerpc64 | pseries powerpc64le 371powerpc/psim/iobus.c optional psim 372powerpc/psim/ata_iobus.c optional ata psim 373powerpc/psim/openpic_iobus.c optional psim 374powerpc/psim/uart_iobus.c optional uart psim 375