1d2be885eSDavid E. O'Brien# This file tells config what files go into building a kernel, 2d2be885eSDavid E. O'Brien# files marked standard are always included. 3d2be885eSDavid E. O'Brien# 4d2be885eSDavid E. O'Brien# $FreeBSD$ 5d2be885eSDavid E. O'Brien# 6d2be885eSDavid E. O'Brien# The long compile-with and dependency lines are required because of 7d2be885eSDavid E. O'Brien# limitations in config: backslash-newline doesn't work in strings, and 8d2be885eSDavid E. O'Brien# dependency lines other than the first are silently ignored. 9d2be885eSDavid E. O'Brien# 10ea0fabbcSTim J. Robbins# 11ea0fabbcSTim J. Robbinslinux32_genassym.o optional compat_linux32 \ 12ea0fabbcSTim J. Robbins dependency "$S/amd64/linux32/linux32_genassym.c" \ 13ea0fabbcSTim J. Robbins compile-with "${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}" \ 14ea0fabbcSTim J. Robbins no-obj no-implicit-rule \ 15ea0fabbcSTim J. Robbins clean "linux32_genassym.o" 16ea0fabbcSTim J. Robbins# 17ea0fabbcSTim J. Robbinslinux32_assym.h optional compat_linux32 \ 18ea0fabbcSTim J. Robbins dependency "$S/kern/genassym.sh linux32_genassym.o" \ 19ea0fabbcSTim J. Robbins compile-with "sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \ 20ea0fabbcSTim J. Robbins no-obj no-implicit-rule before-depend \ 21ea0fabbcSTim J. Robbins clean "linux32_assym.h" 22ea0fabbcSTim J. Robbins# 230d2a2989SPeter Wemmia32_genassym.o standard \ 24401004dbSPeter Wemm dependency "$S/compat/ia32/ia32_genassym.c" \ 25d85631c4SPeter Wemm compile-with "${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}" \ 26d85631c4SPeter Wemm no-obj no-implicit-rule \ 27d85631c4SPeter Wemm clean "ia32_genassym.o" 28d85631c4SPeter Wemm# 290d2a2989SPeter Wemmia32_assym.h standard \ 30d85631c4SPeter Wemm dependency "$S/kern/genassym.sh ia32_genassym.o" \ 31f91067a3SDavid E. O'Brien compile-with "env NM='${NM}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \ 32d85631c4SPeter Wemm no-obj no-implicit-rule before-depend \ 33d85631c4SPeter Wemm clean "ia32_assym.h" 34d85631c4SPeter Wemm# 3554262acdSDavid E. O'Brienfont.h optional sc_dflt_font \ 3654262acdSDavid E. O'Brien compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'static u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'static u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'static u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \ 3754262acdSDavid E. O'Brien no-obj no-implicit-rule before-depend \ 3854262acdSDavid E. O'Brien clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8" 3954262acdSDavid E. O'Brien# 4054262acdSDavid E. O'Brienatkbdmap.h optional atkbd_dflt_keymap \ 4154262acdSDavid E. O'Brien compile-with "/usr/sbin/kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \ 4254262acdSDavid E. O'Brien no-obj no-implicit-rule before-depend \ 4354262acdSDavid E. O'Brien clean "atkbdmap.h" 4454262acdSDavid E. O'Brien# 4554262acdSDavid E. O'Brienukbdmap.h optional ukbd_dflt_keymap \ 4654262acdSDavid E. O'Brien compile-with "/usr/sbin/kbdcontrol -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h" \ 4754262acdSDavid E. O'Brien no-obj no-implicit-rule before-depend \ 4854262acdSDavid E. O'Brien clean "ukbdmap.h" 4954262acdSDavid E. O'Brien# 501556fbfcSPeter Wemmhal.o optional ath_hal \ 511556fbfcSPeter Wemm dependency "$S/contrib/dev/ath/public/x86_64-elf.hal.o.uu" \ 521556fbfcSPeter Wemm compile-with "uudecode < $S/contrib/dev/ath/public/x86_64-elf.hal.o.uu" \ 531556fbfcSPeter Wemm no-implicit-rule 541556fbfcSPeter Wemmopt_ah.h optional ath_hal \ 551556fbfcSPeter Wemm dependency "$S/contrib/dev/ath/public/x86_64-elf.opt_ah.h" \ 562c298b17SMatt Jacob compile-with "rm -f opt_ah.h; cp $S/contrib/dev/ath/public/x86_64-elf.opt_ah.h opt_ah.h" \ 571556fbfcSPeter Wemm no-obj no-implicit-rule before-depend \ 581556fbfcSPeter Wemm clean "opt_ah.h" 591556fbfcSPeter Wemm# 601b1a07adSDavid E. O'Briennvenetlib.o optional nve pci \ 611b1a07adSDavid E. O'Brien dependency "$S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu" \ 621b1a07adSDavid E. O'Brien compile-with "uudecode $S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu ; bzip2 -df nvenetlib.o.bz2" \ 631b1a07adSDavid E. O'Brien no-implicit-rule 641b1a07adSDavid E. O'Brien# 651b1a07adSDavid E. O'Brienos+%DIKED-nve.h optional nve pci \ 661b1a07adSDavid E. O'Brien dependency "$S/contrib/dev/nve/os.h" \ 671b1a07adSDavid E. O'Brien compile-with "sed -e 's/^.*#include.*phy\.h.*$$//' $S/contrib/dev/nve/os.h > os+%DIKED-nve.h" \ 68108311baSRuslan Ermilov no-implicit-rule no-obj before-depend \ 69108311baSRuslan Ermilov clean "os+%DIKED-nve.h" 701b1a07adSDavid E. O'Brien# 71dc8540a9SScott Longhptmvraid.o optional hptmv \ 72dc8540a9SScott Long dependency "$S/dev/hptmv/amd64-elf.raid.o.uu" \ 73dc8540a9SScott Long compile-with "uudecode < $S/dev/hptmv/amd64-elf.raid.o.uu" \ 74dc8540a9SScott Long no-implicit-rule 7527aafcdaSScott Longrr232x_lib.o optional rr232x \ 7627aafcdaSScott Long dependency "$S/dev/rr232x/amd64-elf.rr232x_lib.o.uu" \ 7727aafcdaSScott Long compile-with "uudecode < $S/dev/rr232x/amd64-elf.rr232x_lib.o.uu" \ 7827aafcdaSScott Long no-implicit-rule 79dc8540a9SScott Long# 80ff7bf2f7SPeter Wemmamd64/acpica/OsdEnvironment.c optional acpi 81ff7bf2f7SPeter Wemmamd64/acpica/acpi_machdep.c optional acpi 82ff7bf2f7SPeter Wemmamd64/acpica/acpi_wakeup.c optional acpi 830d2a2989SPeter Wemmamd64/acpica/madt.c optional acpi 84932fc0bcSMark Murrayamd64/amd64/amd64_mem.c optional mem 85003d5d66SBruce Evans#amd64/amd64/apic_vector.S standard 860d2a2989SPeter Wemmamd64/amd64/atomic.c standard 87b05deb9bSPeter Wemmamd64/amd64/autoconf.c standard 8821691935SPeter Wemmamd64/amd64/bios.c standard 89848c454cSJung-uk Kimamd64/amd64/bpf_jit_machdep.c optional bpf_jitter 90b05deb9bSPeter Wemmamd64/amd64/busdma_machdep.c standard 917dca36c9SPeter Wemmamd64/amd64/cpu_switch.S standard 92ec2343a8SPeter Wemmamd64/amd64/db_disasm.c optional ddb 93ec2343a8SPeter Wemmamd64/amd64/db_interface.c optional ddb 94ec2343a8SPeter Wemmamd64/amd64/db_trace.c optional ddb 95b05deb9bSPeter Wemmamd64/amd64/dump_machdep.c standard 96b05deb9bSPeter Wemmamd64/amd64/elf_machdep.c standard 9727828625SPeter Wemmamd64/amd64/exception.S standard 980d2a2989SPeter Wemmamd64/amd64/fpu.c standard 995971a234SMarcel Moolenaaramd64/amd64/gdb_machdep.c optional gdb 100b05deb9bSPeter Wemmamd64/amd64/identcpu.c standard 1010d2a2989SPeter Wemmamd64/amd64/in_cksum.c optional inet 102b05deb9bSPeter Wemmamd64/amd64/initcpu.c standard 1030d2a2989SPeter Wemmamd64/amd64/intr_machdep.c standard 1048ab2f5ecSMark Murrayamd64/amd64/io.c optional io 1050d2a2989SPeter Wemmamd64/amd64/io_apic.c standard 106b05deb9bSPeter Wemmamd64/amd64/legacy.c standard 1070d2a2989SPeter Wemmamd64/amd64/local_apic.c standard 10827828625SPeter Wemmamd64/amd64/locore.S standard no-obj 109b05deb9bSPeter Wemmamd64/amd64/machdep.c standard 1108ab2f5ecSMark Murrayamd64/amd64/mem.c optional mem 111c0345a84SPeter Wemmamd64/amd64/minidump_machdep.c standard 1120d2a2989SPeter Wemmamd64/amd64/mp_machdep.c optional smp 1135fe155d0SPeter Wemmamd64/amd64/mp_watchdog.c optional mp_watchdog smp 1140d2a2989SPeter Wemmamd64/amd64/mpboot.S optional smp 1150d2a2989SPeter Wemmamd64/amd64/mptable.c optional mptable 1160d2a2989SPeter Wemmamd64/amd64/mptable_pci.c optional mptable pci 11741849009SJohn Baldwinamd64/amd64/msi.c optional pci 118b05deb9bSPeter Wemmamd64/amd64/nexus.c standard 119b05deb9bSPeter Wemmamd64/amd64/pmap.c standard 120a51bebabSBruce Evansamd64/amd64/prof_machdep.c optional profiling-routine 12127828625SPeter Wemmamd64/amd64/sigtramp.S standard 12227828625SPeter Wemmamd64/amd64/support.S standard 123b05deb9bSPeter Wemmamd64/amd64/sys_machdep.c standard 124b05deb9bSPeter Wemmamd64/amd64/trap.c standard 125b05deb9bSPeter Wemmamd64/amd64/tsc.c standard 12633d13796SAlan Coxamd64/amd64/uio_machdep.c standard 1277fb57893SAlan Coxamd64/amd64/uma_machdep.c standard 128b05deb9bSPeter Wemmamd64/amd64/vm_machdep.c standard 1290d2a2989SPeter Wemmamd64/isa/atpic.c optional atpic isa 130003d5d66SBruce Evans#amd64/isa/atpic_vector.S optional atpic isa 131b05deb9bSPeter Wemmamd64/isa/clock.c standard 132463e5aa6SPeter Wemmamd64/isa/elcr.c standard 133b05deb9bSPeter Wemmamd64/isa/isa.c standard 134b05deb9bSPeter Wemmamd64/isa/isa_dma.c standard 1350d2a2989SPeter Wemmamd64/isa/nmi.c standard 136b05deb9bSPeter Wemmamd64/pci/pci_bus.c optional pci 1370d2a2989SPeter Wemmamd64/pci/pci_cfgreg.c optional pci 138b2630c29SGeorge V. Neville-Neilcrypto/blowfish/bf_enc.c optional crypto | ipsec 139b2630c29SGeorge V. Neville-Neilcrypto/des/des_enc.c optional crypto | ipsec | netsmb 140939000cfSDavid E. O'Briendev/acpica/acpi_if.m standard 1415ec8c336SScott Longdev/arcmsr/arcmsr.c optional arcmsr pci 142520b6353SMarius Strobldev/atkbdc/atkbd.c optional atkbd atkbdc 143520b6353SMarius Strobldev/atkbdc/atkbd_atkbdc.c optional atkbd atkbdc 144520b6353SMarius Strobldev/atkbdc/atkbdc.c optional atkbdc 145520b6353SMarius Strobldev/atkbdc/atkbdc_isa.c optional atkbdc isa 146520b6353SMarius Strobldev/atkbdc/atkbdc_subr.c optional atkbdc 147520b6353SMarius Strobldev/atkbdc/psm.c optional psm atkbdc 1486ec29713SPeter Wemm# There are no systems with isa slots, so all ed isa entries should go.. 1496ec29713SPeter Wemmdev/ed/if_ed_3c503.c optional ed isa ed_3c503 1506ec29713SPeter Wemmdev/ed/if_ed_isa.c optional ed isa 1516ec29713SPeter Wemmdev/ed/if_ed_wd80x3.c optional ed isa 1526ec29713SPeter Wemmdev/ed/if_ed_hpp.c optional ed isa ed_hpp 1536ec29713SPeter Wemmdev/ed/if_ed_sic.c optional ed isa ed_sic 154a8e06f2aSRuslan Ermilovdev/fb/fb.c optional fb | vga 155b05deb9bSPeter Wemmdev/fb/vga.c optional vga 15680a11093SPeter Wemmdev/ichwd/ichwd.c optional ichwd 157d8f2dda7SBill Pauldev/if_ndis/if_ndis.c optional ndis 158d8f2dda7SBill Pauldev/if_ndis/if_ndis_pccard.c optional ndis pccard 159a8e06f2aSRuslan Ermilovdev/if_ndis/if_ndis_pci.c optional ndis cardbus | ndis pci 16096b50ea3SBill Pauldev/if_ndis/if_ndis_usb.c optional ndis usb 1618ab2f5ecSMark Murraydev/io/iodev.c optional io 1621c204a57SDoug Ambriskodev/ipmi/ipmi.c optional ipmi 163d72a0786SJohn Baldwindev/ipmi/ipmi_acpi.c optional ipmi acpi 164d72a0786SJohn Baldwindev/ipmi/ipmi_isa.c optional ipmi isa 165d72a0786SJohn Baldwindev/ipmi/ipmi_kcs.c optional ipmi 166d72a0786SJohn Baldwindev/ipmi/ipmi_smic.c optional ipmi 167d72a0786SJohn Baldwindev/ipmi/ipmi_smbus.c optional ipmi smbus 168d72a0786SJohn Baldwindev/ipmi/ipmi_smbios.c optional ipmi 169d72a0786SJohn Baldwindev/ipmi/ipmi_ssif.c optional ipmi smbus 1701c204a57SDoug Ambriskodev/ipmi/ipmi_pci.c optional ipmi pci 17101a8e5a9SWarner Loshdev/fdc/fdc.c optional fdc 17232cfa665SNate Lawsondev/fdc/fdc_acpi.c optional fdc 1738ade021aSWarner Loshdev/fdc/fdc_isa.c optional fdc isa 1748ade021aSWarner Loshdev/fdc/fdc_pccard.c optional fdc pccard 175dc8540a9SScott Longdev/hptmv/entry.c optional hptmv 176dc8540a9SScott Longdev/hptmv/mv.c optional hptmv 177dc8540a9SScott Longdev/hptmv/gui_lib.c optional hptmv 178dc8540a9SScott Longdev/hptmv/hptproc.c optional hptmv 179dc8540a9SScott Longdev/hptmv/ioctl.c optional hptmv 1809fa98e70SScott Longdev/hwpmc/hwpmc_amd.c optional hwpmc 181f263522aSJoseph Koshydev/hwpmc/hwpmc_piv.c optional hwpmc 182f263522aSJoseph Koshydev/hwpmc/hwpmc_x86.c optional hwpmc 183a8e06f2aSRuslan Ermilovdev/kbd/kbd.c optional atkbd | sc | ukbd 18429fe871dSMark Murraydev/mem/memutil.c optional mem 185bfc788c2SDavid E. O'Briendev/nfe/if_nfe.c optional nfe pci 1861b1a07adSDavid E. O'Briendev/nve/if_nve.c optional nve pci 18727aafcdaSScott Longdev/rr232x/os_bsd.c optional rr232x 18827aafcdaSScott Longdev/rr232x/osm_bsd.c optional rr232x 18927aafcdaSScott Longdev/rr232x/rr232x_config.c optional rr232x 1900d2a2989SPeter Wemmdev/sio/sio.c optional sio 1910d2a2989SPeter Wemmdev/sio/sio_isa.c optional sio isa 192302981e7SMarcel Moolenaardev/sio/sio_pccard.c optional sio pccard 193302981e7SMarcel Moolenaardev/sio/sio_pci.c optional sio pci 194302981e7SMarcel Moolenaardev/sio/sio_puc.c optional sio puc 1956d8200ffSRuslan Ermilovdev/speaker/spkr.c optional speaker 1960d2a2989SPeter Wemmdev/syscons/apm/apm_saver.c optional apm_saver apm 197b05deb9bSPeter Wemmdev/syscons/scterm-sc.c optional sc 198b05deb9bSPeter Wemmdev/syscons/scvgarndr.c optional sc vga 199b05deb9bSPeter Wemmdev/syscons/scvtb.c optional sc 2000d2a2989SPeter Wemmdev/uart/uart_cpu_amd64.c optional uart 201b05deb9bSPeter Wemmisa/syscons_isa.c optional sc 202b05deb9bSPeter Wemmisa/vga_isa.c optional vga 2034d6bcc83SPeter Wemmkern/link_elf_obj.c standard 2043c749e3fSDavid E. O'Brienpci/agp_amd64.c optional agp 205f031f0c0SEric Anholtpci/agp_i810.c optional agp 2060d2a2989SPeter Wemmpci/agp_intel.c optional agp 2070d2a2989SPeter Wemm# 2080d2a2989SPeter Wemm# IA32 binary support 2090d2a2989SPeter Wemm# 2107a071c6aSDavid E. O'Brien#amd64/ia32/ia32_exception.S optional compat_ia32 21162919d78SPeter Wemmamd64/ia32/ia32_reg.c optional compat_ia32 2127a071c6aSDavid E. O'Brienamd64/ia32/ia32_signal.c optional compat_ia32 2137a071c6aSDavid E. O'Brienamd64/ia32/ia32_sigtramp.S optional compat_ia32 2147a071c6aSDavid E. O'Brienamd64/ia32/ia32_syscall.c optional compat_ia32 2157a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_misc.c optional compat_ia32 2167a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_syscalls.c optional compat_ia32 2177a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_sysent.c optional compat_ia32 2187a071c6aSDavid E. O'Briencompat/ia32/ia32_sysvec.c optional compat_ia32 219f4eb4717SAlexander Leidingercompat/linprocfs/linprocfs.c optional linprocfs 22032397ce0SDoug Ambriskocompat/linsysfs/linsysfs.c optional linsysfs 2217a071c6aSDavid E. O'Brienkern/imgact_elf32.c optional compat_ia32 222ea0fabbcSTim J. Robbins# 223ea0fabbcSTim J. Robbins# Linux/i386 binary support 224ea0fabbcSTim J. Robbins# 225ea0fabbcSTim J. Robbinsamd64/linux32/linux32_dummy.c optional compat_linux32 226ea0fabbcSTim J. Robbinsamd64/linux32/linux32_locore.s optional compat_linux32 \ 227ea0fabbcSTim J. Robbins dependency "linux32_assym.h" 228ea0fabbcSTim J. Robbinsamd64/linux32/linux32_machdep.c optional compat_linux32 229a96811b1SKonstantin Belousovamd64/linux32/linux32_support.s optional compat_linux32 \ 230a96811b1SKonstantin Belousov dependency "linux32_assym.h" 231ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysent.c optional compat_linux32 232ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysvec.c optional compat_linux32 2339b44bfc5SAlexander Leidingercompat/linux/linux_emul.c optional compat_linux32 234ea0fabbcSTim J. Robbinscompat/linux/linux_file.c optional compat_linux32 2359b44bfc5SAlexander Leidingercompat/linux/linux_futex.c optional compat_linux32 236ea0fabbcSTim J. Robbinscompat/linux/linux_getcwd.c optional compat_linux32 237ea0fabbcSTim J. Robbinscompat/linux/linux_ioctl.c optional compat_linux32 238ea0fabbcSTim J. Robbinscompat/linux/linux_ipc.c optional compat_linux32 239ea0fabbcSTim J. Robbinscompat/linux/linux_mib.c optional compat_linux32 240ea0fabbcSTim J. Robbinscompat/linux/linux_misc.c optional compat_linux32 241ea0fabbcSTim J. Robbinscompat/linux/linux_signal.c optional compat_linux32 242ea0fabbcSTim J. Robbinscompat/linux/linux_socket.c optional compat_linux32 243ea0fabbcSTim J. Robbinscompat/linux/linux_stats.c optional compat_linux32 244ea0fabbcSTim J. Robbinscompat/linux/linux_sysctl.c optional compat_linux32 2459b44bfc5SAlexander Leidingercompat/linux/linux_time.c optional compat_linux32 246ea0fabbcSTim J. Robbinscompat/linux/linux_uid16.c optional compat_linux32 247ea0fabbcSTim J. Robbinscompat/linux/linux_util.c optional compat_linux32 248084500bcSDoug Ambriskodev/amr/amr_linux.c optional compat_linux32 amr 249741367d5SDoug Ambriskodev/mfi/mfi_linux.c optional compat_linux32 mfi 250d8f2dda7SBill Paul# 251d8f2dda7SBill Paul# Windows NDIS driver support 252d8f2dda7SBill Paul# 253d8f2dda7SBill Paulcompat/ndis/kern_ndis.c optional ndisapi pci 254d8f2dda7SBill Paulcompat/ndis/kern_windrv.c optional ndisapi pci 255d8f2dda7SBill Paulcompat/ndis/subr_hal.c optional ndisapi pci 256d8f2dda7SBill Paulcompat/ndis/subr_ndis.c optional ndisapi pci 257d8f2dda7SBill Paulcompat/ndis/subr_ntoskrnl.c optional ndisapi pci 258d8f2dda7SBill Paulcompat/ndis/subr_pe.c optional ndisapi pci 25963ba67b6SBill Paulcompat/ndis/subr_usbd.c optional ndisapi pci 260d8f2dda7SBill Paulcompat/ndis/winx64_wrap.S optional ndisapi pci 261a52daa5fSJung-uk Kimi386/bios/smbios.c optional smbios 2624bf21bfeSPeter Wemmi386/bios/vpd.c optional vpd 263bc4c8712SNate Lawsoni386/cpufreq/powernow.c optional cpufreq 264712de323SPaul Saabi386/cpufreq/est.c optional cpufreq 265712de323SPaul Saabi386/cpufreq/p4tcc.c optional cpufreq 26689c40e5fSAlexander Kabaev# 26789c40e5fSAlexander Kabaevlibkern/memset.c standard 268