1c585bae1SBenno Rice# This file tells config what files go into building a kernel, 2c585bae1SBenno Rice# files marked standard are always included. 3c585bae1SBenno Rice# 4c585bae1SBenno Rice# $FreeBSD$ 5c585bae1SBenno Rice# 6c585bae1SBenno Rice# The long compile-with and dependency lines are required because of 7c585bae1SBenno Rice# limitations in config: backslash-newline doesn't work in strings, and 8c585bae1SBenno Rice# dependency lines other than the first are silently ignored. 9c585bae1SBenno Rice# 10c585bae1SBenno Rice# 11c585bae1SBenno Rice 12473795dcSPeter Grehanfont.h optional sc \ 13473795dcSPeter Grehan compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \ 14473795dcSPeter Grehan no-obj no-implicit-rule before-depend \ 15473795dcSPeter Grehan clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8" 161773f778SSam Leffler# 1788c7c434SPeter Wemm# There is only an asm version on ppc64. 1888c7c434SPeter Wemmcddl/compat/opensolaris/kern/opensolaris_atomic.c optional zfs powerpc compile-with "${ZFS_C}" 1988c7c434SPeter Wemmcddl/contrib/opensolaris/common/atomic/powerpc64/opensolaris_atomic.S optional zfs powerpc64 compile-with "${ZFS_S}" 20dd3456c0SMarcel Moolenaarcrypto/blowfish/bf_enc.c optional crypto | ipsec 21237abf0cSDavide Italianocrypto/des/des_enc.c optional crypto | ipsec | netsmb 22cf99524aSMarcel Moolenaardev/bm/if_bm.c optional bm powermac 23b4dbc599SNathan Whitehorndev/adb/adb_bus.c optional adb 24b4dbc599SNathan Whitehorndev/adb/adb_kbd.c optional adb 25b4dbc599SNathan Whitehorndev/adb/adb_mouse.c optional adb 26b4dbc599SNathan Whitehorndev/adb/adb_hb_if.m optional adb 27b4dbc599SNathan Whitehorndev/adb/adb_if.m optional adb 28b6faf3cfSNathan Whitehorndev/adb/adb_buttons.c optional adb 2950fd2a5bSNathan Whitehorndev/agp/agp_apple.c optional agp powermac 30473795dcSPeter Grehandev/fb/fb.c optional sc 31d1d3233eSRafal Jaworowskidev/fdt/fdt_powerpc.c optional fdt 32f263522aSJoseph Koshydev/hwpmc/hwpmc_powerpc.c optional hwpmc 3398fa0351SGleb Smirnoffdev/hwpmc/hwpmc_mpc7xxx.c optional hwpmc 34169dd953SJustin Hibbitsdev/hwpmc/hwpmc_ppc970.c optional hwpmc 35d188174aSAndreas Toblerdev/iicbus/ad7417.c optional ad7417 powermac 36e9152038SJustin Hibbitsdev/iicbus/adm1030.c optional powermac windtunnel | adm1030 powermac 37c017acc7SJustin Hibbitsdev/iicbus/adt746x.c optional adt746x powermac 38a894f6a0SAndreas Toblerdev/iicbus/ds1631.c optional ds1631 powermac 39da89fa28SAndreas Toblerdev/iicbus/ds1775.c optional ds1775 powermac 40da89fa28SAndreas Toblerdev/iicbus/max6690.c optional max6690 powermac 4127cf7d04SAleksandr Rybalkodev/kbd/kbd.c optional sc | vt 427c45c9e4SMarcel Moolenaardev/nand/nfc_fsl.c optional nand mpc85xx 435d26cae7SWarner Losh# ofw can be either aim or fdt: fdt case handled in files. aim only powerpc specific. 445d26cae7SWarner Loshdev/ofw/openfirm.c optional aim 455d26cae7SWarner Loshdev/ofw/openfirmio.c optional aim 465d26cae7SWarner Loshdev/ofw/ofw_bus_if.m optional aim 47*5cead939SRui Paulodev/ofw/ofw_cpu.c optional aim 485d26cae7SWarner Loshdev/ofw/ofw_if.m optional aim 495d26cae7SWarner Loshdev/ofw/ofw_bus_subr.c optional aim 50bd71bd37SMarcel Moolenaardev/ofw/ofw_console.c optional aim 51bd71bd37SMarcel Moolenaardev/ofw/ofw_disk.c optional ofwd aim 523bb481ffSNathan Whitehorndev/ofw/ofw_iicbus.c optional iicbus aim 5365d08437SNathan Whitehorndev/ofw/ofwbus.c optional aim | fdt 54c3e289e1SNathan Whitehorndev/ofw/ofw_standard.c optional aim powerpc 55dd3456c0SMarcel Moolenaardev/powermac_nvram/powermac_nvram.c optional powermac_nvram powermac 56d1d3233eSRafal Jaworowskidev/quicc/quicc_bfe_fdt.c optional quicc mpc85xx 57dd3456c0SMarcel Moolenaardev/scc/scc_bfe_macio.c optional scc powermac 5802b553caSRafal Jaworowskidev/sec/sec.c optional sec mpc85xx 598486eb86SNathan Whitehorndev/sound/macio/aoa.c optional snd_davbus | snd_ai2s powermac 608486eb86SNathan Whitehorndev/sound/macio/davbus.c optional snd_davbus powermac 618486eb86SNathan Whitehorndev/sound/macio/i2s.c optional snd_ai2s powermac 629c3fbfbdSAndreas Toblerdev/sound/macio/onyx.c optional snd_ai2s iicbus powermac 638486eb86SNathan Whitehorndev/sound/macio/snapper.c optional snd_ai2s iicbus powermac 648486eb86SNathan Whitehorndev/sound/macio/tumbler.c optional snd_ai2s iicbus powermac 65dd3456c0SMarcel Moolenaardev/syscons/scgfbrndr.c optional sc 66b4b1c516SEd Schoutendev/syscons/scterm-teken.c optional sc 67dd3456c0SMarcel Moolenaardev/syscons/scvtb.c optional sc 68321578e3SRafal Jaworowskidev/tsec/if_tsec.c optional tsec 69d1d3233eSRafal Jaworowskidev/tsec/if_tsec_fdt.c optional tsec fdt 7049aba28aSNathan Whitehorndev/uart/uart_cpu_powerpc.c optional uart 71d3576a3fSMarcel Moolenaardev/usb/controller/ehci_fsl.c optional ehci mpc85xx 7227cf7d04SAleksandr Rybalkodev/vt/hw/ofwfb/ofwfb.c optional vt aim 73707c2fb9SAlexander Motinkern/kern_clocksource.c standard 74aea81038SKonstantin Belousovkern/subr_dummy_vdso_tc.c standard 75dd3456c0SMarcel Moolenaarkern/syscalls.c optional ktr 76c8d2ffd6SGleb Smirnoffkern/subr_sfbuf.c standard 77c3e289e1SNathan Whitehornlibkern/ashldi3.c optional powerpc 78c3e289e1SNathan Whitehornlibkern/ashrdi3.c optional powerpc 79c585bae1SBenno Ricelibkern/bcmp.c standard 80c3e289e1SNathan Whitehornlibkern/cmpdi2.c optional powerpc 81c3e289e1SNathan Whitehornlibkern/divdi3.c optional powerpc 82c585bae1SBenno Ricelibkern/ffs.c standard 831de30b60SDag-Erling Smørgravlibkern/ffsl.c standard 841de30b60SDag-Erling Smørgravlibkern/fls.c standard 851de30b60SDag-Erling Smørgravlibkern/flsl.c standard 86f25e50cfSAndriy Gaponlibkern/flsll.c standard 87c3e289e1SNathan Whitehornlibkern/lshrdi3.c optional powerpc 88802cb57eSEd Schoutenlibkern/memmove.c standard 899f94082eSYoshihiro Takahashilibkern/memset.c standard 90c3e289e1SNathan Whitehornlibkern/moddi3.c optional powerpc 91c3e289e1SNathan Whitehornlibkern/qdivrem.c optional powerpc 92c3e289e1SNathan Whitehornlibkern/ucmpdi2.c optional powerpc 93c3e289e1SNathan Whitehornlibkern/udivdi3.c optional powerpc 94c3e289e1SNathan Whitehornlibkern/umoddi3.c optional powerpc 95bd71bd37SMarcel Moolenaarpowerpc/aim/interrupt.c optional aim 96bd71bd37SMarcel Moolenaarpowerpc/aim/locore.S optional aim no-obj 97bd71bd37SMarcel Moolenaarpowerpc/aim/machdep.c optional aim 98c3e289e1SNathan Whitehornpowerpc/aim/mmu_oea.c optional aim powerpc 991c96bdd1SNathan Whitehornpowerpc/aim/mmu_oea64.c optional aim 100bef5da7fSNathan Whitehornpowerpc/aim/moea64_if.m optional aim 101bef5da7fSNathan Whitehornpowerpc/aim/moea64_native.c optional aim 102e1c161e7SJustin Hibbitspowerpc/aim/mp_cpudep.c optional aim 103c3e289e1SNathan Whitehornpowerpc/aim/slb.c optional aim powerpc64 104bd71bd37SMarcel Moolenaarpowerpc/aim/trap.c optional aim 105bd71bd37SMarcel Moolenaarpowerpc/aim/uma_machdep.c optional aim 10617f4cae4SRafal Jaworowskipowerpc/booke/interrupt.c optional booke 10717f4cae4SRafal Jaworowskipowerpc/booke/locore.S optional booke no-obj 10817f4cae4SRafal Jaworowskipowerpc/booke/machdep.c optional booke 109aa6bc7dcSRafal Jaworowskipowerpc/booke/machdep_e500.c optional booke_e500 11017f4cae4SRafal Jaworowskipowerpc/booke/mp_cpudep.c optional booke smp 111302acc2eSNathan Whitehornpowerpc/booke/platform_bare.c optional booke 11217f4cae4SRafal Jaworowskipowerpc/booke/pmap.c optional booke 11317f4cae4SRafal Jaworowskipowerpc/booke/trap.c optional booke 1149eb9db93SNathan Whitehornpowerpc/cpufreq/dfs.c optional cpufreq 1151016f143SNathan Whitehornpowerpc/cpufreq/pcr.c optional cpufreq aim 1164702d987SJustin Hibbitspowerpc/cpufreq/pmufreq.c optional cpufreq aim pmu 11743fdca95SJohn Baldwinpowerpc/fpu/fpu_add.c optional fpu_emu 11843fdca95SJohn Baldwinpowerpc/fpu/fpu_compare.c optional fpu_emu 11943fdca95SJohn Baldwinpowerpc/fpu/fpu_div.c optional fpu_emu 12043fdca95SJohn Baldwinpowerpc/fpu/fpu_emu.c optional fpu_emu 12143fdca95SJohn Baldwinpowerpc/fpu/fpu_explode.c optional fpu_emu 12243fdca95SJohn Baldwinpowerpc/fpu/fpu_implode.c optional fpu_emu 12343fdca95SJohn Baldwinpowerpc/fpu/fpu_mul.c optional fpu_emu 12443fdca95SJohn Baldwinpowerpc/fpu/fpu_sqrt.c optional fpu_emu 12543fdca95SJohn Baldwinpowerpc/fpu/fpu_subr.c optional fpu_emu 1262c16c8d7SNathan Whitehornpowerpc/mambo/mambocall.S optional mambo 1272c16c8d7SNathan Whitehornpowerpc/mambo/mambo.c optional mambo 1282c16c8d7SNathan Whitehornpowerpc/mambo/mambo_console.c optional mambo 1292c16c8d7SNathan Whitehornpowerpc/mambo/mambo_disk.c optional mambo 130ac741ae5SMarcel Moolenaarpowerpc/mpc85xx/atpic.c optional mpc85xx isa 131d1d3233eSRafal Jaworowskipowerpc/mpc85xx/ds1553_bus_fdt.c optional ds1553 fdt 132f07ef6e4SRafal Jaworowskipowerpc/mpc85xx/ds1553_core.c optional ds1553 133d1d3233eSRafal Jaworowskipowerpc/mpc85xx/i2c.c optional iicbus fdt 134f2396192SRafal Jaworowskipowerpc/mpc85xx/isa.c optional mpc85xx isa 13508077f58SMarcel Moolenaarpowerpc/mpc85xx/lbc.c optional mpc85xx 136a1cd472aSRafal Jaworowskipowerpc/mpc85xx/mpc85xx.c optional mpc85xx 137302acc2eSNathan Whitehornpowerpc/mpc85xx/platform_mpc85xx.c optional mpc85xx 138178cdf9aSNathan Whitehornpowerpc/mpc85xx/pci_mpc85xx.c optional pci mpc85xx 139629aa519SNathan Whitehornpowerpc/ofw/ofw_machdep.c standard 140178cdf9aSNathan Whitehornpowerpc/ofw/ofw_pci.c optional pci 141178cdf9aSNathan Whitehornpowerpc/ofw/ofw_pcibus.c optional pci 142178cdf9aSNathan Whitehornpowerpc/ofw/ofw_pcib_pci.c optional pci 1438446b206SNathan Whitehornpowerpc/ofw/ofw_real.c optional aim 144bd71bd37SMarcel Moolenaarpowerpc/ofw/ofw_syscons.c optional sc aim 1450d7136baSNathan Whitehornpowerpc/ofw/ofwcall32.S optional aim powerpc 1460d7136baSNathan Whitehornpowerpc/ofw/ofwcall64.S optional aim powerpc64 1470d7136baSNathan Whitehornpowerpc/ofw/ofwmagic.S optional aim 14817593f86SNathan Whitehornpowerpc/ofw/openpic_ofw.c optional aim | fdt 1490d7136baSNathan Whitehornpowerpc/ofw/rtas.c optional aim 1507bf5cfedSNathan Whitehornpowerpc/powermac/ata_kauai.c optional powermac ata | powermac atamacio 1517bf5cfedSNathan Whitehornpowerpc/powermac/ata_macio.c optional powermac ata | powermac atamacio 1527bf5cfedSNathan Whitehornpowerpc/powermac/ata_dbdma.c optional powermac ata | powermac atamacio 1533cc28bd9SJustin Hibbitspowerpc/powermac/atibl.c optional powermac atibl 1541016f143SNathan Whitehornpowerpc/powermac/cuda.c optional powermac cuda 1551016f143SNathan Whitehornpowerpc/powermac/cpcht.c optional powermac pci 1567d8ccad7SMarcel Moolenaarpowerpc/powermac/dbdma.c optional powermac pci 157da89fa28SAndreas Toblerpowerpc/powermac/fcu.c optional powermac fcu 158c8718f79SPeter Grehanpowerpc/powermac/grackle.c optional powermac pci 159c8718f79SPeter Grehanpowerpc/powermac/hrowpic.c optional powermac pci 160a9cade51SNathan Whitehornpowerpc/powermac/kiic.c optional powermac kiic 1611016f143SNathan Whitehornpowerpc/powermac/macgpio.c optional powermac pci 162f8735aa3SPeter Grehanpowerpc/powermac/macio.c optional powermac pci 163d0ec68d4SJustin Hibbitspowerpc/powermac/nvbl.c optional powermac nvbl 164b2a237beSNathan Whitehornpowerpc/powermac/platform_powermac.c optional powermac 16584d77676SNathan Whitehornpowerpc/powermac/powermac_thermal.c optional powermac 166f8735aa3SPeter Grehanpowerpc/powermac/pswitch.c optional powermac pswitch 167b4dbc599SNathan Whitehornpowerpc/powermac/pmu.c optional powermac pmu 1681016f143SNathan Whitehornpowerpc/powermac/smu.c optional powermac smu 1699efb0787SNathan Whitehornpowerpc/powermac/smusat.c optional powermac smu 170ca2c1931SNathan Whitehornpowerpc/powermac/uninorth.c optional powermac 171ca2c1931SNathan Whitehornpowerpc/powermac/uninorthpci.c optional powermac pci 1729eb9db93SNathan Whitehornpowerpc/powermac/vcoregpio.c optional powermac 173debe4455SNathan Whitehornpowerpc/powerpc/altivec.c standard 174dd3456c0SMarcel Moolenaarpowerpc/powerpc/autoconf.c standard 175dd3456c0SMarcel Moolenaarpowerpc/powerpc/bcopy.c standard 176de2fa7b8SMarcel Moolenaarpowerpc/powerpc/bus_machdep.c standard 177dd3456c0SMarcel Moolenaarpowerpc/powerpc/busdma_machdep.c standard 178228f09b3SNathan Whitehornpowerpc/powerpc/clock.c standard 179e39c26a9SNathan Whitehornpowerpc/powerpc/copyinout.c standard 180dd3456c0SMarcel Moolenaarpowerpc/powerpc/copystr.c standard 181dd3456c0SMarcel Moolenaarpowerpc/powerpc/cpu.c standard 182dd3456c0SMarcel Moolenaarpowerpc/powerpc/db_disasm.c optional ddb 183dd3456c0SMarcel Moolenaarpowerpc/powerpc/db_hwwatch.c optional ddb 184dd3456c0SMarcel Moolenaarpowerpc/powerpc/db_interface.c optional ddb 185dd3456c0SMarcel Moolenaarpowerpc/powerpc/db_trace.c optional ddb 18627457a80SMarcel Moolenaarpowerpc/powerpc/dump_machdep.c standard 187c3e289e1SNathan Whitehornpowerpc/powerpc/elf32_machdep.c optional powerpc | compat_freebsd32 188c3e289e1SNathan Whitehornpowerpc/powerpc/elf64_machdep.c optional powerpc64 189cc81c44dSNathan Whitehornpowerpc/powerpc/exec_machdep.c standard 190debe4455SNathan Whitehornpowerpc/powerpc/fpu.c standard 191dd3456c0SMarcel Moolenaarpowerpc/powerpc/fuswintr.c standard 192dd3456c0SMarcel Moolenaarpowerpc/powerpc/gdb_machdep.c optional gdb 19370df4233SBjoern A. Zeebpowerpc/powerpc/in_cksum.c optional inet | inet6 194dd3456c0SMarcel Moolenaarpowerpc/powerpc/intr_machdep.c standard 195e2326639SNathan Whitehornpowerpc/powerpc/iommu_if.m standard 196dd3456c0SMarcel Moolenaarpowerpc/powerpc/mem.c optional mem 197dd3456c0SMarcel Moolenaarpowerpc/powerpc/mmu_if.m standard 1981c17588fSMarcel Moolenaarpowerpc/powerpc/mp_machdep.c optional smp 199e4cf0633SNathan Whitehornpowerpc/powerpc/nexus.c standard 200dd3456c0SMarcel Moolenaarpowerpc/powerpc/openpic.c standard 201dd3456c0SMarcel Moolenaarpowerpc/powerpc/pic_if.m standard 202dd3456c0SMarcel Moolenaarpowerpc/powerpc/pmap_dispatch.c standard 203b40ce02aSNathan Whitehornpowerpc/powerpc/platform.c standard 204b40ce02aSNathan Whitehornpowerpc/powerpc/platform_if.m standard 205dd3456c0SMarcel Moolenaarpowerpc/powerpc/sc_machdep.c optional sc 206dd3456c0SMarcel Moolenaarpowerpc/powerpc/setjmp.S standard 207c3e289e1SNathan Whitehornpowerpc/powerpc/sigcode32.S optional powerpc | compat_freebsd32 208c3e289e1SNathan Whitehornpowerpc/powerpc/sigcode64.S optional powerpc64 209bdac4360SNathan Whitehornpowerpc/powerpc/swtch32.S optional powerpc 210bdac4360SNathan Whitehornpowerpc/powerpc/swtch64.S optional powerpc64 211dd3456c0SMarcel Moolenaarpowerpc/powerpc/stack_machdep.c optional ddb | stack 212dd3456c0SMarcel Moolenaarpowerpc/powerpc/suswintr.c standard 213dd3456c0SMarcel Moolenaarpowerpc/powerpc/syncicache.c standard 214dd3456c0SMarcel Moolenaarpowerpc/powerpc/sys_machdep.c standard 2151c96bdd1SNathan Whitehornpowerpc/powerpc/uio_machdep.c standard 2161cfdc971SNathan Whitehornpowerpc/powerpc/vm_machdep.c standard 21703479763SNathan Whitehornpowerpc/ps3/ehci_ps3.c optional ps3 ehci 2189ba8a927SNathan Whitehornpowerpc/ps3/ohci_ps3.c optional ps3 ohci 21903479763SNathan Whitehornpowerpc/ps3/if_glc.c optional ps3 glc 22003479763SNathan Whitehornpowerpc/ps3/mmu_ps3.c optional ps3 22103479763SNathan Whitehornpowerpc/ps3/platform_ps3.c optional ps3 22203479763SNathan Whitehornpowerpc/ps3/ps3bus.c optional ps3 2239f2c359fSNathan Whitehornpowerpc/ps3/ps3cdrom.c optional ps3 scbus 2240d317057SNathan Whitehornpowerpc/ps3/ps3disk.c optional ps3 22503479763SNathan Whitehornpowerpc/ps3/ps3pic.c optional ps3 22649588d0fSNathan Whitehornpowerpc/ps3/ps3_syscons.c optional ps3 vt 22749588d0fSNathan Whitehornpowerpc/ps3/ps3-hvcall.S optional ps3 2287a8d25c0SNathan Whitehornpowerpc/pseries/phyp-hvcall.S optional pseries powerpc64 2297a8d25c0SNathan Whitehornpowerpc/pseries/mmu_phyp.c optional pseries powerpc64 2304f835517SNathan Whitehornpowerpc/pseries/phyp_console.c optional pseries powerpc64 uart 231757e5b29SNathan Whitehornpowerpc/pseries/phyp_llan.c optional llan 232391dff86SNathan Whitehornpowerpc/pseries/phyp_vscsi.c optional pseries powerpc64 scbus 2337a8d25c0SNathan Whitehornpowerpc/pseries/platform_chrp.c optional pseries 2347a8d25c0SNathan Whitehornpowerpc/pseries/plpar_iommu.c optional pseries powerpc64 235817ba5c0SNathan Whitehornpowerpc/pseries/plpar_pcibus.c optional pseries powerpc64 pci 2367a8d25c0SNathan Whitehornpowerpc/pseries/rtas_dev.c optional pseries 2377a8d25c0SNathan Whitehornpowerpc/pseries/rtas_pci.c optional pseries pci 2387a8d25c0SNathan Whitehornpowerpc/pseries/vdevice.c optional pseries powerpc64 2397a8d25c0SNathan Whitehornpowerpc/pseries/xics.c optional pseries powerpc64 240e1f89baeSPeter Grehanpowerpc/psim/iobus.c optional psim 241e1f89baeSPeter Grehanpowerpc/psim/ata_iobus.c optional ata psim 242f8735aa3SPeter Grehanpowerpc/psim/openpic_iobus.c optional psim 243cd320bc9SMarcel Moolenaarpowerpc/psim/uart_iobus.c optional uart psim 24431ec0f7aSAdrian Chaddpowerpc/wii/platform_wii.c optional wii 24531ec0f7aSAdrian Chaddpowerpc/wii/wii_bus.c optional wii 24631ec0f7aSAdrian Chaddpowerpc/wii/wii_pic.c optional wii 24731ec0f7aSAdrian Chaddpowerpc/wii/wii_fb.c optional wii 24861e642bcSRui Paulopowerpc/wii/wii_gpio.c optional wii wiigpio 24931ec0f7aSAdrian Chaddpowerpc/wii/wii_ipc.c optional wii 250