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