xref: /freebsd/sys/conf/files.i386 (revision 469884cf04a9b92677c7c83e229ca6b8814f8b0a)
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/acpi_support/acpi_wmi_if.m	standard
83dev/wbwd/wbwd.c			optional wbwd
84i386/acpica/acpi_machdep.c	optional acpi
85acpi_wakecode.o			optional acpi				\
86	dependency	"$S/i386/acpica/acpi_wakecode.S assym.inc"	\
87	compile-with	"${NORMAL_S}"					\
88	no-obj no-implicit-rule before-depend				\
89	clean		"acpi_wakecode.o"
90acpi_wakecode.bin		optional acpi				\
91	dependency	"acpi_wakecode.o"				\
92	compile-with	"${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \
93	no-obj no-implicit-rule	before-depend				\
94	clean		"acpi_wakecode.bin"
95acpi_wakecode.h			optional acpi				\
96	dependency	"acpi_wakecode.bin"				\
97	compile-with	"file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \
98	no-obj no-implicit-rule	before-depend				\
99	clean		"acpi_wakecode.h"
100acpi_wakedata.h			optional acpi				\
101	dependency	"acpi_wakecode.o"				\
102	compile-with	'${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define	$${what}	0x$${offset}"; done > ${.TARGET}' \
103	no-obj no-implicit-rule	before-depend				\
104	clean		"acpi_wakedata.h"
105#
106i386/bios/smapi.c		optional smapi
107i386/bios/smapi_bios.S		optional smapi
108i386/cloudabi32/cloudabi32_sysvec.c	optional compat_cloudabi32
109#i386/i386/apic_vector.s		optional apic
110i386/i386/bios.c		standard
111i386/i386/bioscall.s		standard
112i386/i386/bpf_jit_machdep.c	optional bpf_jitter
113i386/i386/copyout.c		standard
114i386/i386/db_disasm.c		optional ddb
115i386/i386/db_interface.c	optional ddb
116i386/i386/db_trace.c		optional ddb
117i386/i386/elan-mmcr.c		optional cpu_elan | cpu_soekris
118i386/i386/elf_machdep.c		standard
119i386/i386/exception.s		standard
120i386/i386/gdb_machdep.c		optional gdb
121i386/i386/geode.c		optional cpu_geode
122i386/i386/in_cksum.c		optional inet | inet6
123i386/i386/initcpu.c		standard
124i386/i386/io.c			optional io
125i386/i386/k6_mem.c		optional mem
126i386/i386/locore.s		standard	no-obj
127i386/i386/longrun.c		optional cpu_enable_longrun
128i386/i386/machdep.c		standard
129i386/i386/mem.c			optional mem
130i386/i386/minidump_machdep.c	standard
131i386/i386/minidump_machdep_pae.c	standard
132i386/i386/minidump_machdep_nopae.c	standard
133i386/i386/mp_clock.c		optional smp
134i386/i386/mp_machdep.c		optional smp
135i386/i386/mpboot.s		optional smp
136i386/i386/npx.c			standard
137i386/i386/perfmon.c		optional perfmon
138i386/i386/pmap_base.c		standard
139i386/i386/pmap_nopae.c		standard
140i386/i386/pmap_pae.c		standard
141i386/i386/ptrace_machdep.c	standard
142i386/i386/sigtramp.s		standard
143i386/i386/support.s		standard
144i386/i386/swtch.s		standard
145i386/i386/sys_machdep.c		standard
146i386/i386/trap.c		standard
147i386/i386/uio_machdep.c		standard
148i386/i386/vm86.c		standard
149i386/i386/vm_machdep.c		standard
150i386/pci/pci_cfgreg.c		optional pci
151i386/pci/pci_pir.c		optional pci
152isa/syscons_isa.c		optional sc
153isa/vga_isa.c			optional vga
154kern/imgact_aout.c		optional compat_aout
155kern/subr_sfbuf.c		standard
156libkern/divdi3.c		standard
157libkern/ffsll.c			standard
158libkern/flsll.c			standard
159libkern/memcmp.c		standard
160libkern/memset.c		standard
161libkern/moddi3.c		standard
162libkern/qdivrem.c		standard
163libkern/strlen.c		standard
164libkern/ucmpdi2.c		standard
165libkern/udivdi3.c		standard
166libkern/umoddi3.c		standard
167#
168# x86 real mode BIOS support, required by dpms/pci/vesa
169#
170compat/x86bios/x86bios.c	optional x86bios | dpms | pci | vesa
171# Common files where we currently configure the system differently, but perhaps shouldn't
172# config(8) doesn't have a way to force standard options, so we've been inconsistent
173# about marking non-optional things 'standard'.
174x86/acpica/madt.c		optional acpi apic
175x86/cpufreq/smist.c		optional cpufreq
176x86/isa/atpic.c			optional atpic
177x86/isa/elcr.c			optional atpic | apic
178x86/isa/isa.c			optional isa
179x86/isa/isa_dma.c		optional isa
180x86/x86/io_apic.c		optional apic
181x86/x86/local_apic.c		optional apic
182x86/x86/mptable.c		optional apic
183x86/x86/mptable_pci.c		optional apic pci
184x86/x86/msi.c			optional apic pci
185