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" \ 561556fbfcSPeter Wemm compile-with "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 117b05deb9bSPeter Wemmamd64/amd64/nexus.c standard 118b05deb9bSPeter Wemmamd64/amd64/pmap.c standard 119a51bebabSBruce Evansamd64/amd64/prof_machdep.c optional profiling-routine 12027828625SPeter Wemmamd64/amd64/sigtramp.S standard 12127828625SPeter Wemmamd64/amd64/support.S standard 122b05deb9bSPeter Wemmamd64/amd64/sys_machdep.c standard 123b05deb9bSPeter Wemmamd64/amd64/trap.c standard 124b05deb9bSPeter Wemmamd64/amd64/tsc.c standard 12533d13796SAlan Coxamd64/amd64/uio_machdep.c standard 1267fb57893SAlan Coxamd64/amd64/uma_machdep.c standard 127b05deb9bSPeter Wemmamd64/amd64/vm_machdep.c standard 1280d2a2989SPeter Wemmamd64/isa/atpic.c optional atpic isa 129003d5d66SBruce Evans#amd64/isa/atpic_vector.S optional atpic isa 130b05deb9bSPeter Wemmamd64/isa/clock.c standard 131463e5aa6SPeter Wemmamd64/isa/elcr.c standard 132b05deb9bSPeter Wemmamd64/isa/isa.c standard 133b05deb9bSPeter Wemmamd64/isa/isa_dma.c standard 1340d2a2989SPeter Wemmamd64/isa/nmi.c standard 135b05deb9bSPeter Wemmamd64/pci/pci_bus.c optional pci 1360d2a2989SPeter Wemmamd64/pci/pci_cfgreg.c optional pci 137a8e06f2aSRuslan Ermilovcrypto/blowfish/bf_enc.c optional crypto | ipsec ipsec_esp 138a8e06f2aSRuslan Ermilovcrypto/des/des_enc.c optional crypto | ipsec ipsec_esp | \ 1398d96e455SYaroslav Tykhiy 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/splash.c optional splash 156b05deb9bSPeter Wemmdev/fb/vga.c optional vga 15780a11093SPeter Wemmdev/ichwd/ichwd.c optional ichwd 158d8f2dda7SBill Pauldev/if_ndis/if_ndis.c optional ndis 159d8f2dda7SBill Pauldev/if_ndis/if_ndis_pccard.c optional ndis pccard 160a8e06f2aSRuslan Ermilovdev/if_ndis/if_ndis_pci.c optional ndis cardbus | ndis pci 16196b50ea3SBill Pauldev/if_ndis/if_ndis_usb.c optional ndis usb 1628ab2f5ecSMark Murraydev/io/iodev.c optional io 1631c204a57SDoug Ambriskodev/ipmi/ipmi.c optional ipmi 1641c204a57SDoug Ambriskodev/ipmi/ipmi_smbios.c optional ipmi isa 1651c204a57SDoug Ambriskodev/ipmi/ipmi_pci.c optional ipmi pci 16601a8e5a9SWarner Loshdev/fdc/fdc.c optional fdc 16732cfa665SNate Lawsondev/fdc/fdc_acpi.c optional fdc 1688ade021aSWarner Loshdev/fdc/fdc_isa.c optional fdc isa 1698ade021aSWarner Loshdev/fdc/fdc_pccard.c optional fdc pccard 170dc8540a9SScott Longdev/hptmv/entry.c optional hptmv 171dc8540a9SScott Longdev/hptmv/mv.c optional hptmv 172dc8540a9SScott Longdev/hptmv/gui_lib.c optional hptmv 173dc8540a9SScott Longdev/hptmv/hptproc.c optional hptmv 174dc8540a9SScott Longdev/hptmv/ioctl.c optional hptmv 1759fa98e70SScott Longdev/hwpmc/hwpmc_amd.c optional hwpmc 176f263522aSJoseph Koshydev/hwpmc/hwpmc_piv.c optional hwpmc 177f263522aSJoseph Koshydev/hwpmc/hwpmc_x86.c optional hwpmc 178a8e06f2aSRuslan Ermilovdev/kbd/kbd.c optional atkbd | sc | ukbd 17929fe871dSMark Murraydev/mem/memutil.c optional mem 180bfc788c2SDavid E. O'Briendev/nfe/if_nfe.c optional nfe pci 1811b1a07adSDavid E. O'Briendev/nve/if_nve.c optional nve pci 18227aafcdaSScott Longdev/rr232x/os_bsd.c optional rr232x 18327aafcdaSScott Longdev/rr232x/osm_bsd.c optional rr232x 18427aafcdaSScott Longdev/rr232x/rr232x_config.c optional rr232x 1850d2a2989SPeter Wemmdev/sio/sio.c optional sio 1860d2a2989SPeter Wemmdev/sio/sio_isa.c optional sio isa 1876d8200ffSRuslan Ermilovdev/speaker/spkr.c optional speaker 1880d2a2989SPeter Wemmdev/syscons/apm/apm_saver.c optional apm_saver apm 189b05deb9bSPeter Wemmdev/syscons/schistory.c optional sc 190b05deb9bSPeter Wemmdev/syscons/scmouse.c optional sc 191b05deb9bSPeter Wemmdev/syscons/scterm-dumb.c optional sc 192b05deb9bSPeter Wemmdev/syscons/scterm-sc.c optional sc 1930d2a2989SPeter Wemmdev/syscons/scterm.c optional sc 194b05deb9bSPeter Wemmdev/syscons/scvgarndr.c optional sc vga 195b05deb9bSPeter Wemmdev/syscons/scvidctl.c optional sc 196b05deb9bSPeter Wemmdev/syscons/scvtb.c optional sc 197b05deb9bSPeter Wemmdev/syscons/syscons.c optional sc 198b05deb9bSPeter Wemmdev/syscons/sysmouse.c optional sc 1990d2a2989SPeter Wemmdev/uart/uart_cpu_amd64.c optional uart 200b05deb9bSPeter Wemmgeom/geom_bsd.c standard 201b05deb9bSPeter Wemmgeom/geom_bsd_enc.c standard 202b05deb9bSPeter Wemmgeom/geom_mbr.c standard 203b05deb9bSPeter Wemmgeom/geom_mbr_enc.c standard 204b05deb9bSPeter Wemmisa/syscons_isa.c optional sc 205b05deb9bSPeter Wemmisa/vga_isa.c optional vga 2064d6bcc83SPeter Wemmkern/link_elf_obj.c standard 2073c749e3fSDavid E. O'Brienpci/agp_amd64.c optional agp 2080d2a2989SPeter Wemmpci/agp_intel.c optional agp 2090d2a2989SPeter Wemm# 2100d2a2989SPeter Wemm# IA32 binary support 2110d2a2989SPeter Wemm# 2127a071c6aSDavid E. O'Brien#amd64/ia32/ia32_exception.S optional compat_ia32 21362919d78SPeter Wemmamd64/ia32/ia32_reg.c optional compat_ia32 2147a071c6aSDavid E. O'Brienamd64/ia32/ia32_signal.c optional compat_ia32 2157a071c6aSDavid E. O'Brienamd64/ia32/ia32_sigtramp.S optional compat_ia32 2167a071c6aSDavid E. O'Brienamd64/ia32/ia32_syscall.c optional compat_ia32 2177a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_misc.c optional compat_ia32 2187a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_syscalls.c optional compat_ia32 2197a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_sysent.c optional compat_ia32 2207a071c6aSDavid E. O'Briencompat/ia32/ia32_sysvec.c optional compat_ia32 221f4eb4717SAlexander Leidingercompat/linprocfs/linprocfs.c optional linprocfs 22232397ce0SDoug Ambriskocompat/linsysfs/linsysfs.c optional linsysfs 2237a071c6aSDavid E. O'Brienkern/imgact_elf32.c optional compat_ia32 224ea0fabbcSTim J. Robbins# 225ea0fabbcSTim J. Robbins# Linux/i386 binary support 226ea0fabbcSTim J. Robbins# 227ea0fabbcSTim J. Robbinsamd64/linux32/linux32_dummy.c optional compat_linux32 228ea0fabbcSTim J. Robbinsamd64/linux32/linux32_locore.s optional compat_linux32 \ 229ea0fabbcSTim J. Robbins dependency "linux32_assym.h" 230ea0fabbcSTim J. Robbinsamd64/linux32/linux32_machdep.c optional compat_linux32 231ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysent.c optional compat_linux32 232ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysvec.c optional compat_linux32 233ea0fabbcSTim J. Robbinscompat/linux/linux_file.c optional compat_linux32 234ea0fabbcSTim J. Robbinscompat/linux/linux_getcwd.c optional compat_linux32 235ea0fabbcSTim J. Robbinscompat/linux/linux_ioctl.c optional compat_linux32 236ea0fabbcSTim J. Robbinscompat/linux/linux_ipc.c optional compat_linux32 237ea0fabbcSTim J. Robbinscompat/linux/linux_mib.c optional compat_linux32 238ea0fabbcSTim J. Robbinscompat/linux/linux_misc.c optional compat_linux32 239ea0fabbcSTim J. Robbinscompat/linux/linux_signal.c optional compat_linux32 240ea0fabbcSTim J. Robbinscompat/linux/linux_socket.c optional compat_linux32 241ea0fabbcSTim J. Robbinscompat/linux/linux_stats.c optional compat_linux32 242ea0fabbcSTim J. Robbinscompat/linux/linux_sysctl.c optional compat_linux32 243ea0fabbcSTim J. Robbinscompat/linux/linux_uid16.c optional compat_linux32 244ea0fabbcSTim J. Robbinscompat/linux/linux_util.c optional compat_linux32 245084500bcSDoug Ambriskodev/amr/amr_linux.c optional compat_linux32 amr 246741367d5SDoug Ambriskodev/mfi/mfi_linux.c optional compat_linux32 mfi 247d8f2dda7SBill Paul# 248d8f2dda7SBill Paul# Windows NDIS driver support 249d8f2dda7SBill Paul# 250d8f2dda7SBill Paulcompat/ndis/kern_ndis.c optional ndisapi pci 251d8f2dda7SBill Paulcompat/ndis/kern_windrv.c optional ndisapi pci 252d8f2dda7SBill Paulcompat/ndis/subr_hal.c optional ndisapi pci 253d8f2dda7SBill Paulcompat/ndis/subr_ndis.c optional ndisapi pci 254d8f2dda7SBill Paulcompat/ndis/subr_ntoskrnl.c optional ndisapi pci 255d8f2dda7SBill Paulcompat/ndis/subr_pe.c optional ndisapi pci 25663ba67b6SBill Paulcompat/ndis/subr_usbd.c optional ndisapi pci 257d8f2dda7SBill Paulcompat/ndis/winx64_wrap.S optional ndisapi pci 258a52daa5fSJung-uk Kimi386/bios/smbios.c optional smbios 2594bf21bfeSPeter Wemmi386/bios/vpd.c optional vpd 260bc4c8712SNate Lawsoni386/cpufreq/powernow.c optional cpufreq 261712de323SPaul Saabi386/cpufreq/est.c optional cpufreq 262712de323SPaul Saabi386/cpufreq/p4tcc.c optional cpufreq 263