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