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