xref: /freebsd/sys/conf/files.amd64 (revision 70e0bbedef95258a4dadc996d641a9bebd3f107d)
1# This file tells config what files go into building a kernel,
2# files marked standard are always included.
3#
4# $FreeBSD$
5#
6# The long compile-with and dependency lines are required because of
7# limitations in config: backslash-newline doesn't work in strings, and
8# dependency lines other than the first are silently ignored.
9#
10#
11linux32_genassym.o		optional	compat_linux32		\
12	dependency 	"$S/amd64/linux32/linux32_genassym.c"		\
13	compile-with	"${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}"	\
14	no-obj no-implicit-rule						\
15	clean		"linux32_genassym.o"
16#
17linux32_assym.h			optional	compat_linux32		\
18	dependency 	"$S/kern/genassym.sh linux32_genassym.o"	\
19	compile-with	"sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
20	no-obj no-implicit-rule before-depend				\
21	clean		"linux32_assym.h"
22#
23ia32_genassym.o			standard				\
24	dependency 	"$S/compat/ia32/ia32_genassym.c"		\
25	compile-with	"${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}"	\
26	no-obj no-implicit-rule						\
27	clean		"ia32_genassym.o"
28#
29ia32_assym.h			standard				\
30	dependency 	"$S/kern/genassym.sh ia32_genassym.o"		\
31	compile-with	"env NM='${NM}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \
32	no-obj no-implicit-rule before-depend				\
33	clean		"ia32_assym.h"
34#
35font.h				optional	sc_dflt_font		\
36	compile-with	"uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'static u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'static u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'static u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h"									\
37	no-obj no-implicit-rule before-depend				\
38	clean		"font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
39#
40atkbdmap.h			optional	atkbd_dflt_keymap	\
41	compile-with	"/usr/sbin/kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h"			\
42	no-obj no-implicit-rule before-depend				\
43	clean		"atkbdmap.h"
44#
45ukbdmap.h			optional	ukbd_dflt_keymap	\
46	compile-with	"/usr/sbin/kbdcontrol -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h"			\
47	no-obj no-implicit-rule before-depend				\
48	clean		"ukbdmap.h"
49#
50nvenetlib.o			optional	nve pci			\
51	dependency	"$S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu"	\
52	compile-with	"uudecode $S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu ; bzip2 -df nvenetlib.o.bz2" \
53	no-implicit-rule
54#
55os+%DIKED-nve.h		optional	nve pci			\
56	dependency	"$S/contrib/dev/nve/os.h"			\
57	compile-with	"sed -e 's/^.*#include.*phy\.h.*$$//' $S/contrib/dev/nve/os.h > os+%DIKED-nve.h" \
58	no-implicit-rule no-obj before-depend				\
59	clean		"os+%DIKED-nve.h"
60#
61hpt27xx_lib.o			optional	hpt27xx			\
62	dependency	"$S/dev/hpt27xx/amd64-elf.hpt27xx_lib.o.uu"	\
63	compile-with	"uudecode < $S/dev/hpt27xx/amd64-elf.hpt27xx_lib.o.uu" \
64	no-implicit-rule
65hptmvraid.o			optional	hptmv			\
66	dependency	"$S/dev/hptmv/amd64-elf.raid.o.uu"	\
67	compile-with	"uudecode < $S/dev/hptmv/amd64-elf.raid.o.uu" \
68	no-implicit-rule
69hptrr_lib.o			optional	hptrr			\
70	dependency	"$S/dev/hptrr/amd64-elf.hptrr_lib.o.uu"		\
71	compile-with	"uudecode < $S/dev/hptrr/amd64-elf.hptrr_lib.o.uu" \
72	no-implicit-rule
73#
74amd64/acpica/acpi_machdep.c	optional	acpi
75amd64/acpica/acpi_switch.S	optional	acpi
76acpi_wakecode.o			optional	acpi			\
77	dependency	"$S/amd64/acpica/acpi_wakecode.S assym.s"	\
78	compile-with	"${NORMAL_S}"					\
79	no-obj no-implicit-rule before-depend				\
80	clean		"acpi_wakecode.o"
81acpi_wakecode.bin		optional	acpi			\
82	dependency	"acpi_wakecode.o"				\
83	compile-with	"objcopy -S -O binary acpi_wakecode.o ${.TARGET}" \
84	no-obj no-implicit-rule	before-depend				\
85	clean		"acpi_wakecode.bin"
86acpi_wakecode.h			optional	acpi			\
87	dependency	"acpi_wakecode.bin"				\
88	compile-with	"file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \
89	no-obj no-implicit-rule	before-depend				\
90	clean		"acpi_wakecode.h"
91acpi_wakedata.h			optional	acpi			\
92	dependency	"acpi_wakecode.o"				\
93	compile-with	'${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define	$${what}	0x$${offset}"; done > ${.TARGET}' \
94	no-obj no-implicit-rule	before-depend				\
95	clean		"acpi_wakedata.h"
96#
97amd64/acpica/acpi_wakeup.c	optional	acpi
98amd64/amd64/amd64_mem.c		optional	mem
99#amd64/amd64/apic_vector.S	standard
100amd64/amd64/atomic.c		standard
101amd64/amd64/autoconf.c		standard
102amd64/amd64/bios.c		standard
103amd64/amd64/bpf_jit_machdep.c	optional	bpf_jitter
104amd64/amd64/cpu_switch.S	standard
105amd64/amd64/db_disasm.c		optional	ddb
106amd64/amd64/db_interface.c	optional	ddb
107amd64/amd64/db_trace.c		optional	ddb
108amd64/amd64/elf_machdep.c	standard
109amd64/amd64/exception.S		standard
110amd64/amd64/fpu.c		standard
111amd64/amd64/gdb_machdep.c	optional	gdb
112amd64/amd64/identcpu.c		standard
113amd64/amd64/in_cksum.c		optional	inet | inet6
114amd64/amd64/initcpu.c		standard
115amd64/amd64/intr_machdep.c	standard
116amd64/amd64/io.c		optional	io
117amd64/amd64/legacy.c		standard
118amd64/amd64/locore.S		standard	no-obj
119amd64/amd64/machdep.c		standard
120amd64/amd64/mem.c		optional	mem
121amd64/amd64/minidump_machdep.c	standard
122amd64/amd64/mp_machdep.c	optional	smp
123amd64/amd64/mp_watchdog.c	optional	mp_watchdog smp
124amd64/amd64/mpboot.S		optional	smp
125amd64/amd64/pmap.c		standard
126amd64/amd64/prof_machdep.c	optional	profiling-routine
127amd64/amd64/sigtramp.S		standard
128amd64/amd64/stack_machdep.c	optional	ddb | stack
129amd64/amd64/support.S		standard
130amd64/amd64/sys_machdep.c	standard
131amd64/amd64/trap.c		standard
132amd64/amd64/uio_machdep.c	standard
133amd64/amd64/uma_machdep.c	standard
134amd64/amd64/vm_machdep.c	standard
135amd64/pci/pci_cfgreg.c		optional	pci
136crypto/aesni/aesencdec_amd64.S	optional aesni
137crypto/aesni/aeskeys_amd64.S	optional aesni
138crypto/aesni/aesni.c		optional aesni
139crypto/aesni/aesni_wrap.c	optional aesni
140crypto/blowfish/bf_enc.c	optional	crypto | ipsec
141crypto/des/des_enc.c		optional	crypto | ipsec | netsmb
142crypto/via/padlock.c		optional	padlock
143crypto/via/padlock_cipher.c	optional	padlock
144crypto/via/padlock_hash.c	optional	padlock
145dev/acpica/acpi_if.m		standard
146dev/acpi_support/acpi_wmi_if.m	standard
147dev/agp/agp_amd64.c		optional	agp
148dev/agp/agp_i810.c		optional	agp
149dev/agp/agp_intel.c		optional	agp
150dev/agp/agp_via.c		optional	agp
151dev/amdsbwd/amdsbwd.c		optional	amdsbwd
152dev/amdtemp/amdtemp.c		optional	amdtemp
153dev/arcmsr/arcmsr.c		optional	arcmsr pci
154dev/asmc/asmc.c			optional	asmc isa
155dev/atkbdc/atkbd.c		optional	atkbd atkbdc
156dev/atkbdc/atkbd_atkbdc.c	optional	atkbd atkbdc
157dev/atkbdc/atkbdc.c		optional	atkbdc
158dev/atkbdc/atkbdc_isa.c		optional	atkbdc isa
159dev/atkbdc/atkbdc_subr.c	optional	atkbdc
160dev/atkbdc/psm.c		optional	psm atkbdc
161dev/coretemp/coretemp.c		optional	coretemp
162dev/cpuctl/cpuctl.c		optional	cpuctl
163dev/dpms/dpms.c			optional	dpms
164# There are no systems with isa slots, so all ed isa entries should go..
165dev/ed/if_ed_3c503.c		optional	ed isa ed_3c503
166dev/ed/if_ed_isa.c		optional	ed isa
167dev/ed/if_ed_wd80x3.c		optional	ed isa
168dev/ed/if_ed_hpp.c		optional	ed isa ed_hpp
169dev/ed/if_ed_sic.c		optional	ed isa ed_sic
170dev/fb/fb.c			optional	fb | vga
171dev/fb/s3_pci.c			optional	s3pci
172dev/fb/vesa.c			optional	vga vesa
173dev/fb/vga.c			optional	vga
174dev/ichwd/ichwd.c		optional	ichwd
175dev/if_ndis/if_ndis.c		optional	ndis
176dev/if_ndis/if_ndis_pccard.c	optional	ndis pccard
177dev/if_ndis/if_ndis_pci.c	optional	ndis cardbus | ndis pci
178dev/if_ndis/if_ndis_usb.c	optional	ndis usb
179dev/io/iodev.c			optional	io
180dev/ipmi/ipmi.c			optional	ipmi
181dev/ipmi/ipmi_acpi.c		optional	ipmi acpi
182dev/ipmi/ipmi_isa.c		optional	ipmi isa
183dev/ipmi/ipmi_kcs.c		optional	ipmi
184dev/ipmi/ipmi_smic.c		optional	ipmi
185dev/ipmi/ipmi_smbus.c		optional	ipmi smbus
186dev/ipmi/ipmi_smbios.c		optional	ipmi
187dev/ipmi/ipmi_ssif.c		optional	ipmi smbus
188dev/ipmi/ipmi_pci.c		optional	ipmi pci
189dev/ipmi/ipmi_linux.c		optional	ipmi compat_linux32
190dev/fdc/fdc.c			optional	fdc
191dev/fdc/fdc_acpi.c		optional	fdc
192dev/fdc/fdc_isa.c		optional	fdc isa
193dev/fdc/fdc_pccard.c		optional	fdc pccard
194dev/hpt27xx/os_bsd.c		optional	hpt27xx
195dev/hpt27xx/osm_bsd.c		optional	hpt27xx
196dev/hpt27xx/hpt27xx_config.c	optional	hpt27xx
197dev/hptmv/entry.c		optional	hptmv
198dev/hptmv/mv.c			optional	hptmv
199dev/hptmv/gui_lib.c		optional	hptmv
200dev/hptmv/hptproc.c		optional	hptmv
201dev/hptmv/ioctl.c		optional	hptmv
202dev/hptrr/hptrr_os_bsd.c	optional	hptrr
203dev/hptrr/hptrr_osm_bsd.c	optional	hptrr
204dev/hptrr/hptrr_config.c	optional	hptrr
205dev/hwpmc/hwpmc_amd.c		optional	hwpmc
206dev/hwpmc/hwpmc_intel.c		optional	hwpmc
207dev/hwpmc/hwpmc_core.c		optional	hwpmc
208dev/hwpmc/hwpmc_uncore.c	optional	hwpmc
209dev/hwpmc/hwpmc_piv.c		optional	hwpmc
210dev/hwpmc/hwpmc_tsc.c		optional	hwpmc
211dev/hwpmc/hwpmc_x86.c		optional	hwpmc
212dev/kbd/kbd.c			optional	atkbd | sc | ukbd
213dev/lindev/full.c		optional	lindev
214dev/lindev/lindev.c		optional	lindev
215dev/nfe/if_nfe.c		optional	nfe pci
216dev/nve/if_nve.c		optional	nve pci
217dev/nvram/nvram.c		optional	nvram isa
218dev/random/nehemiah.c		optional	random
219dev/qlxgb/qla_dbg.c		optional	qlxgb pci
220dev/qlxgb/qla_hw.c		optional	qlxgb pci
221dev/qlxgb/qla_ioctl.c		optional	qlxgb pci
222dev/qlxgb/qla_isr.c		optional	qlxgb pci
223dev/qlxgb/qla_misc.c		optional	qlxgb pci
224dev/qlxgb/qla_os.c		optional	qlxgb pci
225dev/sfxge/common/efx_bootcfg.c	optional sfxge inet pci
226dev/sfxge/common/efx_ev.c	optional sfxge inet pci
227dev/sfxge/common/efx_filter.c	optional sfxge inet pci
228dev/sfxge/common/efx_intr.c	optional sfxge inet pci
229dev/sfxge/common/efx_mac.c	optional sfxge inet pci
230dev/sfxge/common/efx_mcdi.c	optional sfxge inet pci
231dev/sfxge/common/efx_mon.c	optional sfxge inet pci
232dev/sfxge/common/efx_nic.c	optional sfxge inet pci
233dev/sfxge/common/efx_nvram.c	optional sfxge inet pci
234dev/sfxge/common/efx_phy.c	optional sfxge inet pci
235dev/sfxge/common/efx_port.c	optional sfxge inet pci
236dev/sfxge/common/efx_rx.c	optional sfxge inet pci
237dev/sfxge/common/efx_sram.c	optional sfxge inet pci
238dev/sfxge/common/efx_tx.c	optional sfxge inet pci
239dev/sfxge/common/efx_vpd.c	optional sfxge inet pci
240dev/sfxge/common/efx_wol.c	optional sfxge inet pci
241dev/sfxge/common/siena_mac.c	optional sfxge inet pci
242dev/sfxge/common/siena_mon.c	optional sfxge inet pci
243dev/sfxge/common/siena_nic.c	optional sfxge inet pci
244dev/sfxge/common/siena_nvram.c	optional sfxge inet pci
245dev/sfxge/common/siena_phy.c	optional sfxge inet pci
246dev/sfxge/common/siena_sram.c	optional sfxge inet pci
247dev/sfxge/common/siena_vpd.c	optional sfxge inet pci
248dev/sfxge/sfxge.c		optional sfxge inet pci
249dev/sfxge/sfxge_dma.c		optional sfxge inet pci
250dev/sfxge/sfxge_ev.c		optional sfxge inet pci
251dev/sfxge/sfxge_intr.c		optional sfxge inet pci
252dev/sfxge/sfxge_mcdi.c		optional sfxge inet pci
253dev/sfxge/sfxge_port.c		optional sfxge inet pci
254dev/sfxge/sfxge_rx.c		optional sfxge inet pci
255dev/sfxge/sfxge_tx.c		optional sfxge inet pci
256dev/sio/sio.c			optional	sio
257dev/sio/sio_isa.c		optional	sio isa
258dev/sio/sio_pccard.c		optional	sio pccard
259dev/sio/sio_pci.c		optional	sio pci
260dev/sio/sio_puc.c		optional	sio puc
261dev/speaker/spkr.c		optional	speaker
262dev/syscons/apm/apm_saver.c	optional	apm_saver apm
263dev/syscons/scterm-teken.c	optional	sc
264dev/syscons/scvesactl.c		optional	sc vga vesa
265dev/syscons/scvgarndr.c		optional	sc vga
266dev/syscons/scvtb.c		optional	sc
267dev/tpm/tpm.c			optional	tpm
268dev/tpm/tpm_acpi.c		optional	tpm acpi
269dev/tpm/tpm_isa.c		optional	tpm isa
270dev/uart/uart_cpu_amd64.c	optional	uart
271dev/viawd/viawd.c		optional	viawd
272dev/wpi/if_wpi.c		optional	wpi
273isa/syscons_isa.c		optional	sc
274isa/vga_isa.c			optional	vga
275kern/kern_clocksource.c		standard
276kern/link_elf_obj.c		standard
277#
278# IA32 binary support
279#
280#amd64/ia32/ia32_exception.S	optional	compat_freebsd32
281amd64/ia32/ia32_reg.c		optional	compat_freebsd32
282amd64/ia32/ia32_signal.c	optional	compat_freebsd32
283amd64/ia32/ia32_sigtramp.S	optional	compat_freebsd32
284amd64/ia32/ia32_syscall.c	optional	compat_freebsd32
285amd64/ia32/ia32_misc.c		optional	compat_freebsd32
286compat/freebsd32/freebsd32_ioctl.c	optional	compat_freebsd32
287compat/freebsd32/freebsd32_misc.c	optional	compat_freebsd32
288compat/freebsd32/freebsd32_syscalls.c	optional	compat_freebsd32
289compat/freebsd32/freebsd32_sysent.c	optional	compat_freebsd32
290compat/ia32/ia32_sysvec.c	optional	compat_freebsd32
291compat/linprocfs/linprocfs.c	optional	linprocfs
292compat/linsysfs/linsysfs.c	optional	linsysfs
293kern/imgact_elf32.c		optional	compat_freebsd32
294#
295# Linux/i386 binary support
296#
297amd64/linux32/linux32_dummy.c	optional	compat_linux32
298amd64/linux32/linux32_locore.s	optional	compat_linux32		\
299	dependency 	"linux32_assym.h"
300amd64/linux32/linux32_machdep.c	optional	compat_linux32
301amd64/linux32/linux32_support.s	optional	compat_linux32		\
302	dependency 	"linux32_assym.h"
303amd64/linux32/linux32_sysent.c	optional	compat_linux32
304amd64/linux32/linux32_sysvec.c	optional	compat_linux32
305compat/linux/linux_emul.c	optional	compat_linux32
306compat/linux/linux_file.c	optional	compat_linux32
307compat/linux/linux_fork.c	optional	compat_linux32
308compat/linux/linux_futex.c	optional	compat_linux32
309compat/linux/linux_getcwd.c	optional	compat_linux32
310compat/linux/linux_ioctl.c	optional	compat_linux32
311compat/linux/linux_ipc.c	optional	compat_linux32
312compat/linux/linux_mib.c	optional	compat_linux32
313compat/linux/linux_misc.c	optional	compat_linux32
314compat/linux/linux_signal.c	optional	compat_linux32
315compat/linux/linux_socket.c	optional	compat_linux32
316compat/linux/linux_stats.c	optional	compat_linux32
317compat/linux/linux_sysctl.c	optional	compat_linux32
318compat/linux/linux_time.c	optional	compat_linux32
319compat/linux/linux_uid16.c	optional	compat_linux32
320compat/linux/linux_util.c	optional	compat_linux32
321dev/amr/amr_linux.c		optional	compat_linux32 amr
322dev/mfi/mfi_linux.c		optional	compat_linux32 mfi
323#
324# Windows NDIS driver support
325#
326compat/ndis/kern_ndis.c		optional	ndisapi pci
327compat/ndis/kern_windrv.c	optional	ndisapi pci
328compat/ndis/subr_hal.c		optional	ndisapi pci
329compat/ndis/subr_ndis.c		optional	ndisapi pci
330compat/ndis/subr_ntoskrnl.c	optional	ndisapi pci
331compat/ndis/subr_pe.c		optional	ndisapi pci
332compat/ndis/subr_usbd.c		optional	ndisapi pci
333compat/ndis/winx64_wrap.S	optional	ndisapi pci
334#
335libkern/memmove.c		standard
336libkern/memset.c		standard
337#
338# x86 real mode BIOS emulator, required by atkbdc/dpms/vesa
339#
340compat/x86bios/x86bios.c	optional x86bios | atkbd | dpms | vesa
341contrib/x86emu/x86emu.c		optional x86bios | atkbd | dpms | vesa
342#
343# x86 shared code between IA32, AMD64 and PC98 architectures
344#
345x86/acpica/OsdEnvironment.c	optional	acpi
346x86/acpica/acpi_apm.c		optional	acpi
347x86/acpica/madt.c		optional	acpi
348x86/acpica/srat.c		optional	acpi
349x86/bios/smbios.c		optional	smbios
350x86/bios/vpd.c			optional	vpd
351x86/cpufreq/powernow.c		optional	cpufreq
352x86/cpufreq/est.c		optional	cpufreq
353x86/cpufreq/hwpstate.c		optional	cpufreq
354x86/cpufreq/p4tcc.c		optional	cpufreq
355x86/isa/atpic.c			optional	atpic isa
356x86/isa/atrtc.c			standard
357x86/isa/clock.c			standard
358x86/isa/elcr.c			standard
359x86/isa/isa.c			standard
360x86/isa/isa_dma.c		standard
361x86/isa/nmi.c			standard
362x86/isa/orm.c			optional	isa
363x86/pci/pci_bus.c		optional	pci
364x86/pci/qpi.c			optional	pci
365x86/x86/busdma_machdep.c	standard
366x86/x86/dump_machdep.c		standard
367x86/x86/io_apic.c		standard
368x86/x86/local_apic.c		standard
369x86/x86/mca.c			standard
370x86/x86/mptable.c		optional	mptable
371x86/x86/mptable_pci.c		optional	mptable pci
372x86/x86/msi.c			optional	pci
373x86/x86/nexus.c			standard
374x86/x86/tsc.c			standard
375