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