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" 25# 26linux_genassym.o optional compat_linux \ 27 dependency "$S/i386/linux/linux_genassym.c offset.inc" \ 28 compile-with "${CC} ${CFLAGS:N-flto:N-fno-common} -c ${.IMPSRC}" \ 29 no-obj no-implicit-rule \ 30 clean "linux_genassym.o" 31# 32linux_assym.h optional compat_linux \ 33 dependency "$S/kern/genassym.sh linux_genassym.o" \ 34 compile-with "sh $S/kern/genassym.sh linux_genassym.o > ${.TARGET}" \ 35 no-obj no-implicit-rule before-depend \ 36 clean "linux_assym.h" 37# 38linux_locore.o optional compat_linux \ 39 dependency "linux_assym.h $S/i386/linux/linux_locore.asm" \ 40 compile-with "${CC} -x assembler-with-cpp -DLOCORE -shared -s -pipe -I. -I$S ${WERROR} -Wall -fPIC -fno-common -nostdinc -nostdlib -Wl,-T$S/i386/linux/linux_vdso.lds.s -Wl,-soname=linux_vdso.so,--eh-frame-hdr,-warn-common ${.IMPSRC} -o ${.TARGET}" \ 41 no-obj no-implicit-rule \ 42 clean "linux_locore.o" 43# 44linux_vdso.so optional compat_linux \ 45 dependency "linux_locore.o" \ 46 compile-with "${OBJCOPY} --input-target binary --output-target elf32-i386-freebsd --binary-architecture i386 linux_locore.o ${.TARGET}" \ 47 no-implicit-rule \ 48 clean "linux_vdso.so" 49# 50cddl/contrib/opensolaris/common/atomic/i386/opensolaris_atomic.S optional zfs | dtrace compile-with "${ZFS_S}" 51cddl/dev/dtrace/i386/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" 52cddl/dev/dtrace/i386/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" 53compat/linprocfs/linprocfs.c optional linprocfs 54compat/linsysfs/linsysfs.c optional linsysfs 55compat/linux/linux_event.c optional compat_linux 56compat/linux/linux_emul.c optional compat_linux 57compat/linux/linux_errno.c optional compat_linux 58compat/linux/linux_file.c optional compat_linux 59compat/linux/linux_fork.c optional compat_linux 60compat/linux/linux_futex.c optional compat_linux 61compat/linux/linux_getcwd.c optional compat_linux 62compat/linux/linux_ioctl.c optional compat_linux 63compat/linux/linux_ipc.c optional compat_linux 64compat/linux/linux_mib.c optional compat_linux 65compat/linux/linux_misc.c optional compat_linux 66compat/linux/linux_mmap.c optional compat_linux 67compat/linux/linux_signal.c optional compat_linux 68compat/linux/linux_socket.c optional compat_linux 69compat/linux/linux_stats.c optional compat_linux 70compat/linux/linux_sysctl.c optional compat_linux 71compat/linux/linux_time.c optional compat_linux 72compat/linux/linux_timer.c optional compat_linux 73compat/linux/linux_uid16.c optional compat_linux 74compat/linux/linux_util.c optional compat_linux 75compat/linux/linux_vdso.c optional compat_linux 76compat/linux/linux.c optional compat_linux 77compat/ndis/winx32_wrap.S optional ndisapi pci 78bf_enc.o optional crypto | ipsec | ipsec_support \ 79 dependency "$S/crypto/blowfish/arch/i386/bf_enc.S $S/crypto/blowfish/arch/i386/bf_enc_586.S $S/crypto/blowfish/arch/i386/bf_enc_686.S" \ 80 compile-with "${CC} -c -I$S/crypto/blowfish/arch/i386 ${ASM_CFLAGS} ${WERROR} ${.IMPSRC}" \ 81 no-implicit-rule 82crypto/aesni/aeskeys_i386.S optional aesni 83crypto/des/arch/i386/des_enc.S optional crypto | ipsec | ipsec_support | netsmb 84dev/agp/agp_ali.c optional agp 85dev/agp/agp_amd.c optional agp 86dev/agp/agp_amd64.c optional agp 87dev/agp/agp_ati.c optional agp 88dev/agp/agp_i810.c optional agp 89dev/agp/agp_intel.c optional agp 90dev/agp/agp_nvidia.c optional agp 91dev/agp/agp_sis.c optional agp 92dev/agp/agp_via.c optional agp 93dev/ce/ceddk.c optional ce 94dev/ce/if_ce.c optional ce 95dev/ce/tau32-ddk.c optional ce \ 96 compile-with "${NORMAL_C} ${NO_WCONSTANT_CONVERSION}" 97dev/cp/cpddk.c optional cp 98dev/cp/if_cp.c optional cp 99dev/ctau/ctau.c optional ctau 100dev/ctau/ctddk.c optional ctau 101dev/ctau/if_ct.c optional ctau 102dev/cx/csigma.c optional cx 103dev/cx/cxddk.c optional cx 104dev/cx/if_cx.c optional cx 105dev/glxiic/glxiic.c optional glxiic 106dev/glxsb/glxsb.c optional glxsb 107dev/glxsb/glxsb_hash.c optional glxsb 108dev/hyperv/vmbus/i386/hyperv_machdep.c optional hyperv 109dev/hyperv/vmbus/i386/vmbus_vector.S optional hyperv 110dev/le/if_le_isa.c optional le isa 111dev/nctgpio/nctgpio.c optional nctgpio 112dev/nfe/if_nfe.c optional nfe pci 113dev/ntb/if_ntb/if_ntb.c optional if_ntb 114dev/ntb/ntb_transport.c optional ntb_transport | if_ntb 115dev/ntb/ntb.c optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw 116dev/ntb/ntb_if.m optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw 117dev/ntb/ntb_hw/ntb_hw_amd.c optional ntb_hw_amd | ntb_hw 118dev/ntb/ntb_hw/ntb_hw_intel.c optional ntb_hw_intel | ntb_hw 119dev/ntb/ntb_hw/ntb_hw_plx.c optional ntb_hw_plx | ntb_hw 120dev/ntb/test/ntb_tool.c optional ntb_tool 121dev/nvram/nvram.c optional nvram isa 122dev/ofw/ofwpci.c optional fdt pci 123dev/pcf/pcf_isa.c optional pcf 124dev/random/ivy.c optional rdrand_rng !random_loadable 125dev/random/nehemiah.c optional padlock_rng !random_loadable 126dev/sbni/if_sbni.c optional sbni 127dev/sbni/if_sbni_isa.c optional sbni isa 128dev/sbni/if_sbni_pci.c optional sbni pci 129dev/speaker/spkr.c optional speaker 130dev/superio/superio.c optional superio isa 131dev/syscons/apm/apm_saver.c optional apm_saver apm 132dev/syscons/scvesactl.c optional sc vga vesa 133dev/syscons/scvgarndr.c optional sc vga 134dev/tpm/tpm.c optional tpm 135dev/tpm/tpm_acpi.c optional tpm acpi 136dev/tpm/tpm_isa.c optional tpm isa 137dev/uart/uart_cpu_x86.c optional uart 138dev/viawd/viawd.c optional viawd 139dev/vmware/vmxnet3/if_vmx.c optional vmx 140dev/vmware/vmci/vmci.c optional vmci 141dev/vmware/vmci/vmci_datagram.c optional vmci 142dev/vmware/vmci/vmci_doorbell.c optional vmci 143dev/vmware/vmci/vmci_driver.c optional vmci 144dev/vmware/vmci/vmci_event.c optional vmci 145dev/vmware/vmci/vmci_hashtable.c optional vmci 146dev/vmware/vmci/vmci_kernel_if.c optional vmci 147dev/vmware/vmci/vmci_qpair.c optional vmci 148dev/vmware/vmci/vmci_queue_pair.c optional vmci 149dev/vmware/vmci/vmci_resource.c optional vmci 150dev/vmware/pvscsi/pvscsi.c optional pvscsi 151dev/acpi_support/acpi_wmi_if.m standard 152dev/wbwd/wbwd.c optional wbwd 153i386/acpica/acpi_machdep.c optional acpi 154acpi_wakecode.o optional acpi \ 155 dependency "$S/i386/acpica/acpi_wakecode.S assym.inc" \ 156 compile-with "${NORMAL_S}" \ 157 no-obj no-implicit-rule before-depend \ 158 clean "acpi_wakecode.o" 159acpi_wakecode.bin optional acpi \ 160 dependency "acpi_wakecode.o" \ 161 compile-with "${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \ 162 no-obj no-implicit-rule before-depend \ 163 clean "acpi_wakecode.bin" 164acpi_wakecode.h optional acpi \ 165 dependency "acpi_wakecode.bin" \ 166 compile-with "file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \ 167 no-obj no-implicit-rule before-depend \ 168 clean "acpi_wakecode.h" 169acpi_wakedata.h optional acpi \ 170 dependency "acpi_wakecode.o" \ 171 compile-with '${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define $${what} 0x$${offset}"; done > ${.TARGET}' \ 172 no-obj no-implicit-rule before-depend \ 173 clean "acpi_wakedata.h" 174# 175i386/bios/apm.c optional apm 176i386/bios/smapi.c optional smapi 177i386/bios/smapi_bios.S optional smapi 178i386/cloudabi32/cloudabi32_sysvec.c optional compat_cloudabi32 179#i386/i386/apic_vector.s optional apic 180i386/i386/bios.c standard 181i386/i386/bioscall.s standard 182i386/i386/bpf_jit_machdep.c optional bpf_jitter 183i386/i386/copyout.c standard 184i386/i386/db_disasm.c optional ddb 185i386/i386/db_interface.c optional ddb 186i386/i386/db_trace.c optional ddb 187i386/i386/elan-mmcr.c optional cpu_elan | cpu_soekris 188i386/i386/elf_machdep.c standard 189i386/i386/exception.s standard 190i386/i386/gdb_machdep.c optional gdb 191i386/i386/geode.c optional cpu_geode 192i386/i386/in_cksum.c optional inet | inet6 193i386/i386/initcpu.c standard 194i386/i386/io.c optional io 195i386/i386/k6_mem.c optional mem 196i386/i386/locore.s standard no-obj 197i386/i386/longrun.c optional cpu_enable_longrun 198i386/i386/machdep.c standard 199i386/i386/mem.c optional mem 200i386/i386/minidump_machdep.c standard 201i386/i386/minidump_machdep_pae.c standard 202i386/i386/minidump_machdep_nopae.c standard 203i386/i386/mp_clock.c optional smp 204i386/i386/mp_machdep.c optional smp 205i386/i386/mpboot.s optional smp 206i386/i386/npx.c standard 207i386/i386/perfmon.c optional perfmon 208i386/i386/pmap_base.c standard 209i386/i386/pmap_nopae.c standard 210i386/i386/pmap_pae.c standard 211i386/i386/prof_machdep.c optional profiling-routine 212i386/i386/ptrace_machdep.c standard 213i386/i386/sigtramp.s standard 214i386/i386/support.s standard 215i386/i386/swtch.s standard 216i386/i386/sys_machdep.c standard 217i386/i386/trap.c standard 218i386/i386/uio_machdep.c standard 219i386/i386/vm86.c standard 220i386/i386/vm_machdep.c standard 221i386/linux/imgact_linux.c optional compat_linux 222i386/linux/linux_copyout.c optional compat_linux 223i386/linux/linux_dummy.c optional compat_linux 224i386/linux/linux_machdep.c optional compat_linux 225i386/linux/linux_ptrace.c optional compat_linux 226i386/linux/linux_sysent.c optional compat_linux 227i386/linux/linux_sysvec.c optional compat_linux 228i386/pci/pci_cfgreg.c optional pci 229i386/pci/pci_pir.c optional pci 230isa/syscons_isa.c optional sc 231isa/vga_isa.c optional vga 232kern/kern_clocksource.c standard 233kern/imgact_aout.c optional compat_aout 234kern/subr_sfbuf.c standard 235libkern/divdi3.c standard 236libkern/ffsll.c standard 237libkern/flsll.c standard 238libkern/memcmp.c standard 239libkern/memset.c standard 240libkern/moddi3.c standard 241libkern/qdivrem.c standard 242libkern/ucmpdi2.c standard 243libkern/udivdi3.c standard 244libkern/umoddi3.c standard 245# 246# x86 real mode BIOS support, required by dpms/pci/vesa 247# 248compat/x86bios/x86bios.c optional x86bios | dpms | pci | vesa 249# 250# bvm console 251# 252dev/bvm/bvm_console.c optional bvmconsole 253dev/bvm/bvm_dbg.c optional bvmdebug 254# Common files where we currently configure the system differently, but perhaps shouldn't 255# config(8) doesn't have a way to force standard options, so we've been inconsistent 256# about marking non-optional things 'standard'. 257x86/acpica/madt.c optional acpi apic 258x86/cpufreq/smist.c optional cpufreq 259x86/isa/atpic.c optional atpic 260x86/isa/elcr.c optional atpic | apic 261x86/isa/isa.c optional isa 262x86/isa/isa_dma.c optional isa 263x86/x86/io_apic.c optional apic 264x86/x86/local_apic.c optional apic 265x86/x86/mptable.c optional apic 266x86/x86/mptable_pci.c optional apic pci 267x86/x86/msi.c optional apic pci 268