1# This file tells config what files go into building a kernel, 2# files marked standard are always included. 3# 4# 5 6# common files stuff between i386 and amd64 7include "conf/files.x86" 8 9# The long compile-with and dependency lines are required because of 10# limitations in config: backslash-newline doesn't work in strings, and 11# dependency lines other than the first are silently ignored. 12# 13cddl/dev/dtrace/i386/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" 14cddl/dev/dtrace/i386/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" 15crypto/aesni/aeskeys_i386.S optional aesni 16crypto/des/arch/i386/des_enc.S optional netsmb 17crypto/openssl/i386/aesni-x86.S optional ossl 18crypto/openssl/i386/chacha-x86.S optional ossl 19crypto/openssl/i386/poly1305-x86.S optional ossl 20crypto/openssl/i386/sha1-586.S optional ossl 21crypto/openssl/i386/sha256-586.S optional ossl 22crypto/openssl/i386/sha512-586.S optional ossl 23dev/agp/agp_ali.c optional agp 24dev/agp/agp_amd.c optional agp 25dev/agp/agp_ati.c optional agp 26dev/agp/agp_intel.c optional agp 27dev/agp/agp_nvidia.c optional agp 28dev/agp/agp_sis.c optional agp 29dev/glxiic/glxiic.c optional glxiic 30dev/glxsb/glxsb.c optional glxsb 31dev/glxsb/glxsb_hash.c optional glxsb 32dev/hyperv/vmbus/i386/hyperv_machdep.c optional hyperv 33dev/le/if_le_isa.c optional le isa 34dev/ofw/ofw_pcib.c optional fdt pci 35dev/pcf/pcf_isa.c optional pcf 36dev/sbni/if_sbni.c optional sbni 37dev/sbni/if_sbni_isa.c optional sbni isa 38dev/sbni/if_sbni_pci.c optional sbni pci 39i386/acpica/acpi_machdep.c optional acpi 40i386/acpica/acpi_wakeup.c optional acpi 41acpi_wakecode.o optional acpi \ 42 dependency "$S/i386/acpica/acpi_wakecode.S assym.inc" \ 43 compile-with "${NORMAL_S}" \ 44 no-obj no-implicit-rule before-depend \ 45 clean "acpi_wakecode.o" 46acpi_wakecode.bin optional acpi \ 47 dependency "acpi_wakecode.o" \ 48 compile-with "${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \ 49 no-obj no-implicit-rule before-depend \ 50 clean "acpi_wakecode.bin" 51acpi_wakecode.h optional acpi \ 52 dependency "acpi_wakecode.bin" \ 53 compile-with "file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \ 54 no-obj no-implicit-rule before-depend \ 55 clean "acpi_wakecode.h" 56acpi_wakedata.h optional acpi \ 57 dependency "acpi_wakecode.o" \ 58 compile-with '${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define $${what} 0x$${offset}"; done > ${.TARGET}' \ 59 no-obj no-implicit-rule before-depend \ 60 clean "acpi_wakedata.h" 61# 62i386/bios/smapi.c optional smapi 63i386/bios/smapi_bios.S optional smapi 64#i386/i386/apic_vector.S optional apic 65i386/i386/bios.c standard 66i386/i386/bioscall.S standard 67i386/i386/bpf_jit_machdep.c optional bpf_jitter 68i386/i386/copyout.c standard 69i386/i386/db_disasm.c optional ddb 70i386/i386/db_interface.c optional ddb 71i386/i386/db_trace.c optional ddb 72i386/i386/exec_machdep.c standard 73i386/i386/elan-mmcr.c optional cpu_elan | cpu_soekris 74i386/i386/elf_machdep.c standard 75i386/i386/exception.S standard 76i386/i386/gdb_machdep.c optional gdb 77i386/i386/geode.c optional cpu_geode 78i386/i386/in_cksum_machdep.c optional inet | inet6 79i386/i386/initcpu.c standard 80i386/i386/io.c optional io 81i386/i386/k6_mem.c optional mem 82i386/i386/locore.S standard no-obj 83i386/i386/longrun.c optional cpu_enable_longrun 84i386/i386/machdep.c standard 85i386/i386/mem.c optional mem 86i386/i386/minidump_machdep.c standard 87i386/i386/minidump_machdep_pae.c standard 88i386/i386/minidump_machdep_nopae.c standard 89i386/i386/mp_clock.c optional smp 90i386/i386/mp_machdep.c optional smp 91i386/i386/mpboot.S optional smp 92i386/i386/npx.c standard 93i386/i386/perfmon.c optional perfmon 94i386/i386/pmap_base.c standard 95i386/i386/pmap_nopae.c standard 96i386/i386/pmap_pae.c standard 97i386/i386/ptrace_machdep.c standard 98i386/i386/sigtramp.S standard 99i386/i386/support.S standard 100i386/i386/swtch.S standard 101i386/i386/sys_machdep.c standard 102i386/i386/trap.c standard 103i386/i386/uio_machdep.c standard 104i386/i386/vm86.c standard 105i386/i386/vm_machdep.c standard 106i386/pci/pci_cfgreg.c optional pci 107i386/pci/pci_pir.c optional pci 108kern/subr_sfbuf.c standard 109libkern/divdi3.c standard 110libkern/divmoddi4.c standard 111libkern/memcmp.c standard 112libkern/memset.c standard 113libkern/moddi3.c standard 114libkern/qdivrem.c standard 115libkern/strlen.c standard 116libkern/ucmpdi2.c standard 117libkern/udivdi3.c standard 118libkern/udivmoddi4.c standard 119libkern/umoddi3.c standard 120# 121# x86 real mode BIOS support, required by dpms/pci/vesa 122# 123compat/x86bios/x86bios.c optional x86bios | dpms | pci | vesa 124# Common files where we currently configure the system differently, but perhaps shouldn't 125# config(8) doesn't have a way to force standard options, so we've been inconsistent 126# about marking non-optional things 'standard'. 127x86/acpica/madt.c optional acpi apic 128x86/cpufreq/smist.c optional cpufreq 129x86/isa/atpic.c optional atpic 130x86/isa/elcr.c optional atpic | apic 131x86/isa/isa.c optional isa 132x86/isa/isa_dma.c optional isa 133x86/x86/io_apic.c optional apic 134x86/x86/local_apic.c optional apic 135x86/x86/mptable.c optional apic 136x86/x86/mptable_pci.c optional apic pci 137x86/x86/msi.c optional apic pci 138# Clock calibration subroutine; uses floating-point arithmetic 139subr_clockcalib.o standard \ 140 dependency "$S/kern/subr_clockcalib.c" \ 141 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -m80387 ${.IMPSRC}" \ 142 no-implicit-rule \ 143 clean "subr_clockcalib.o" 144