xref: /freebsd/sys/conf/files.amd64 (revision 7a071c6a499b827b1080ed5d4d3e1553a50c8749)
1d2be885eSDavid E. O'Brien# This file tells config what files go into building a kernel,
2d2be885eSDavid E. O'Brien# files marked standard are always included.
3d2be885eSDavid E. O'Brien#
4d2be885eSDavid E. O'Brien# $FreeBSD$
5d2be885eSDavid E. O'Brien#
6d2be885eSDavid E. O'Brien# The long compile-with and dependency lines are required because of
7d2be885eSDavid E. O'Brien# limitations in config: backslash-newline doesn't work in strings, and
8d2be885eSDavid E. O'Brien# dependency lines other than the first are silently ignored.
9d2be885eSDavid E. O'Brien#
10ea0fabbcSTim J. Robbins#
11ea0fabbcSTim J. Robbinslinux32_genassym.o		optional	compat_linux32		\
12ea0fabbcSTim J. Robbins	dependency 	"$S/amd64/linux32/linux32_genassym.c"		\
13ea0fabbcSTim J. Robbins	compile-with	"${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}"	\
14ea0fabbcSTim J. Robbins	no-obj no-implicit-rule						\
15ea0fabbcSTim J. Robbins	clean		"linux32_genassym.o"
16ea0fabbcSTim J. Robbins#
17ea0fabbcSTim J. Robbinslinux32_assym.h			optional	compat_linux32		\
18ea0fabbcSTim J. Robbins	dependency 	"$S/kern/genassym.sh linux32_genassym.o"	\
19ea0fabbcSTim J. Robbins	compile-with	"sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
20ea0fabbcSTim J. Robbins	no-obj no-implicit-rule before-depend				\
21ea0fabbcSTim J. Robbins	clean		"linux32_assym.h"
22ea0fabbcSTim J. Robbins#
230d2a2989SPeter Wemmia32_genassym.o			standard				\
24401004dbSPeter Wemm	dependency 	"$S/compat/ia32/ia32_genassym.c"		\
25d85631c4SPeter Wemm	compile-with	"${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}"	\
26d85631c4SPeter Wemm	no-obj no-implicit-rule						\
27d85631c4SPeter Wemm	clean		"ia32_genassym.o"
28d85631c4SPeter Wemm#
290d2a2989SPeter Wemmia32_assym.h			standard				\
30d85631c4SPeter Wemm	dependency 	"$S/kern/genassym.sh ia32_genassym.o"		\
3104ddc5deSDavid E. O'Brien	compile-with	"env NM=${NM} sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \
32d85631c4SPeter Wemm	no-obj no-implicit-rule before-depend				\
33d85631c4SPeter Wemm	clean		"ia32_assym.h"
34d85631c4SPeter Wemm#
3554262acdSDavid E. O'Brienfont.h				optional	sc_dflt_font		\
3654262acdSDavid E. O'Brien	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"									\
3754262acdSDavid E. O'Brien	no-obj no-implicit-rule before-depend				\
3854262acdSDavid E. O'Brien	clean		"font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
3954262acdSDavid E. O'Brien#
4054262acdSDavid E. O'Brienatkbdmap.h			optional	atkbd_dflt_keymap	\
4154262acdSDavid E. O'Brien	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"			\
4254262acdSDavid E. O'Brien	no-obj no-implicit-rule before-depend				\
4354262acdSDavid E. O'Brien	clean		"atkbdmap.h"
4454262acdSDavid E. O'Brien#
4554262acdSDavid E. O'Brienukbdmap.h			optional	ukbd_dflt_keymap	\
4654262acdSDavid E. O'Brien	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"			\
4754262acdSDavid E. O'Brien	no-obj no-implicit-rule before-depend				\
4854262acdSDavid E. O'Brien	clean		"ukbdmap.h"
4954262acdSDavid E. O'Brien#
50f1ca765cSNate Lawsondev/acpica/acpi_if.m		standard
51ff7bf2f7SPeter Wemmamd64/acpica/OsdEnvironment.c	optional	acpi
52ff7bf2f7SPeter Wemmamd64/acpica/acpi_machdep.c	optional	acpi
53ff7bf2f7SPeter Wemmamd64/acpica/acpi_wakeup.c	optional	acpi
540d2a2989SPeter Wemmamd64/acpica/madt.c		optional	acpi
554872a3d7SPeter Wemmamd64/amd64/amd64_mem.c		standard
56003d5d66SBruce Evans#amd64/amd64/apic_vector.S	standard
570d2a2989SPeter Wemmamd64/amd64/atomic.c		standard
58b05deb9bSPeter Wemmamd64/amd64/autoconf.c		standard
59b05deb9bSPeter Wemmamd64/amd64/busdma_machdep.c	standard
607dca36c9SPeter Wemmamd64/amd64/cpu_switch.S	standard
61b05deb9bSPeter Wemmamd64/amd64/critical.c		standard
62ec2343a8SPeter Wemmamd64/amd64/db_disasm.c		optional	ddb
63ec2343a8SPeter Wemmamd64/amd64/db_interface.c	optional	ddb
64ec2343a8SPeter Wemmamd64/amd64/db_trace.c		optional	ddb
65b05deb9bSPeter Wemmamd64/amd64/dump_machdep.c	standard
66b05deb9bSPeter Wemmamd64/amd64/elf_machdep.c	standard
6727828625SPeter Wemmamd64/amd64/exception.S		standard
680d2a2989SPeter Wemmamd64/amd64/fpu.c		standard
695971a234SMarcel Moolenaaramd64/amd64/gdb_machdep.c	optional	gdb
70b05deb9bSPeter Wemmamd64/amd64/identcpu.c		standard
710d2a2989SPeter Wemmamd64/amd64/in_cksum.c		optional	inet
72b05deb9bSPeter Wemmamd64/amd64/initcpu.c		standard
730d2a2989SPeter Wemmamd64/amd64/intr_machdep.c	standard
748ab2f5ecSMark Murrayamd64/amd64/io.c		optional	io
750d2a2989SPeter Wemmamd64/amd64/io_apic.c		standard
76b05deb9bSPeter Wemmamd64/amd64/legacy.c		standard
770d2a2989SPeter Wemmamd64/amd64/local_apic.c	standard
7827828625SPeter Wemmamd64/amd64/locore.S		standard	no-obj
79b05deb9bSPeter Wemmamd64/amd64/machdep.c		standard
808ab2f5ecSMark Murrayamd64/amd64/mem.c		optional	mem
810d2a2989SPeter Wemmamd64/amd64/mp_machdep.c	optional	smp
820d2a2989SPeter Wemmamd64/amd64/mpboot.S		optional	smp
830d2a2989SPeter Wemmamd64/amd64/mptable.c		optional	mptable
840d2a2989SPeter Wemmamd64/amd64/mptable_pci.c	optional	mptable pci
85b05deb9bSPeter Wemmamd64/amd64/nexus.c		standard
86b05deb9bSPeter Wemmamd64/amd64/pmap.c		standard
87a51bebabSBruce Evansamd64/amd64/prof_machdep.c	optional	profiling-routine
8827828625SPeter Wemmamd64/amd64/sigtramp.S		standard
8927828625SPeter Wemmamd64/amd64/support.S		standard
90b05deb9bSPeter Wemmamd64/amd64/sys_machdep.c	standard
91b05deb9bSPeter Wemmamd64/amd64/trap.c		standard
92b05deb9bSPeter Wemmamd64/amd64/tsc.c		standard
9333d13796SAlan Coxamd64/amd64/uio_machdep.c	standard
947fb57893SAlan Coxamd64/amd64/uma_machdep.c	standard
95b05deb9bSPeter Wemmamd64/amd64/vm_machdep.c	standard
960d2a2989SPeter Wemmamd64/isa/atpic.c		optional	atpic isa
97003d5d66SBruce Evans#amd64/isa/atpic_vector.S	optional	atpic isa
98b05deb9bSPeter Wemmamd64/isa/clock.c		standard
99463e5aa6SPeter Wemmamd64/isa/elcr.c		standard
100b05deb9bSPeter Wemmamd64/isa/isa.c			standard
101b05deb9bSPeter Wemmamd64/isa/isa_dma.c		standard
1020d2a2989SPeter Wemmamd64/isa/nmi.c			standard
103b05deb9bSPeter Wemmamd64/pci/pci_bus.c		optional	pci
1040d2a2989SPeter Wemmamd64/pci/pci_cfgreg.c		optional	pci
105db41012cSPeter Wemmcrypto/blowfish/bf_enc.c	optional	crypto
106a51bebabSBruce Evanscrypto/blowfish/bf_enc.c	optional	ipsec ipsec_esp
1070b1d4202STim J. Robbinscrypto/des/des_ecb.c		optional	netsmbcrypto
108a51bebabSBruce Evanscrypto/des/des_enc.c		optional	crypto
109a51bebabSBruce Evanscrypto/des/des_enc.c		optional	ipsec ipsec_esp
1100b1d4202STim J. Robbinscrypto/des/des_enc.c		optional	netsmbcrypto
1110b1d4202STim J. Robbinscrypto/des/des_setkey.c		optional	netsmbcrypto
112b05deb9bSPeter Wemmdev/fb/fb.c			optional	fb
113b05deb9bSPeter Wemmdev/fb/fb.c			optional	vga
114b05deb9bSPeter Wemmdev/fb/splash.c			optional	splash
115b05deb9bSPeter Wemmdev/fb/vga.c			optional	vga
1168ab2f5ecSMark Murraydev/io/iodev.c			optional	io
11701a8e5a9SWarner Loshdev/fdc/fdc.c			optional	fdc
11832cfa665SNate Lawsondev/fdc/fdc_acpi.c		optional	fdc
1198ade021aSWarner Loshdev/fdc/fdc_isa.c		optional	fdc isa
1208ade021aSWarner Loshdev/fdc/fdc_pccard.c		optional	fdc pccard
121b05deb9bSPeter Wemmdev/kbd/atkbd.c			optional	atkbd
122b05deb9bSPeter Wemmdev/kbd/atkbdc.c		optional	atkbdc
123b05deb9bSPeter Wemmdev/kbd/kbd.c			optional	atkbd
124b05deb9bSPeter Wemmdev/kbd/kbd.c			optional	kbd
125b05deb9bSPeter Wemmdev/kbd/kbd.c			optional	sc
126b05deb9bSPeter Wemmdev/kbd/kbd.c			optional	ukbd
12729fe871dSMark Murraydev/mem/memutil.c		optional	mem
12811dc7df1SWarner Loshdev/ppc/ppc.c			optional	ppc
1290d2a2989SPeter Wemmdev/sio/sio.c			optional	sio
1300d2a2989SPeter Wemmdev/sio/sio_isa.c		optional	sio isa
1310d2a2989SPeter Wemmdev/syscons/apm/apm_saver.c	optional	apm_saver apm
132b05deb9bSPeter Wemmdev/syscons/schistory.c		optional	sc
133b05deb9bSPeter Wemmdev/syscons/scmouse.c		optional	sc
134b05deb9bSPeter Wemmdev/syscons/scterm-dumb.c	optional	sc
135b05deb9bSPeter Wemmdev/syscons/scterm-sc.c		optional	sc
1360d2a2989SPeter Wemmdev/syscons/scterm.c		optional	sc
137b05deb9bSPeter Wemmdev/syscons/scvgarndr.c		optional	sc vga
138b05deb9bSPeter Wemmdev/syscons/scvidctl.c		optional	sc
139b05deb9bSPeter Wemmdev/syscons/scvtb.c		optional	sc
140b05deb9bSPeter Wemmdev/syscons/syscons.c		optional	sc
141b05deb9bSPeter Wemmdev/syscons/sysmouse.c		optional	sc
1420d2a2989SPeter Wemmdev/uart/uart_cpu_amd64.c	optional	uart
143b05deb9bSPeter Wemmgeom/geom_bsd.c			standard
144b05deb9bSPeter Wemmgeom/geom_bsd_enc.c		standard
145b05deb9bSPeter Wemmgeom/geom_mbr.c			standard
146b05deb9bSPeter Wemmgeom/geom_mbr_enc.c		standard
147b05deb9bSPeter Wemmisa/atkbd_isa.c			optional	atkbd
148b05deb9bSPeter Wemmisa/atkbdc_isa.c		optional	atkbdc
149b05deb9bSPeter Wemmisa/psm.c			optional	psm
150b05deb9bSPeter Wemmisa/syscons_isa.c		optional	sc
151b05deb9bSPeter Wemmisa/vga_isa.c			optional	vga
1524d6bcc83SPeter Wemmkern/link_elf_obj.c		standard
1533c749e3fSDavid E. O'Brienpci/agp_amd64.c			optional	agp
1540d2a2989SPeter Wemmpci/agp_intel.c			optional	agp
1550d2a2989SPeter Wemm#
1560d2a2989SPeter Wemm# IA32 binary support
1570d2a2989SPeter Wemm#
1587a071c6aSDavid E. O'Brien#amd64/ia32/ia32_exception.S	optional	compat_ia32
1597a071c6aSDavid E. O'Brienamd64/ia32/ia32_signal.c	optional	compat_ia32
1607a071c6aSDavid E. O'Brienamd64/ia32/ia32_sigtramp.S	optional	compat_ia32
1617a071c6aSDavid E. O'Brienamd64/ia32/ia32_syscall.c	optional	compat_ia32
1627a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_misc.c	optional	compat_ia32
1637a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_syscalls.c	optional	compat_ia32
1647a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_sysent.c	optional	compat_ia32
1657a071c6aSDavid E. O'Briencompat/ia32/ia32_sysvec.c	optional	compat_ia32
1667a071c6aSDavid E. O'Brienkern/imgact_elf32.c		optional	compat_ia32
167ea0fabbcSTim J. Robbins#
168ea0fabbcSTim J. Robbins# Linux/i386 binary support
169ea0fabbcSTim J. Robbins#
170ea0fabbcSTim J. Robbinsamd64/linux32/linux32_dummy.c	optional	compat_linux32
171ea0fabbcSTim J. Robbinsamd64/linux32/linux32_locore.s	optional	compat_linux32		\
172ea0fabbcSTim J. Robbins	dependency 	"linux32_assym.h"
173ea0fabbcSTim J. Robbinsamd64/linux32/linux32_machdep.c	optional	compat_linux32
174ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysent.c	optional	compat_linux32
175ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysvec.c	optional	compat_linux32
176ea0fabbcSTim J. Robbinscompat/linux/linux_file.c	optional	compat_linux32
177ea0fabbcSTim J. Robbinscompat/linux/linux_getcwd.c	optional	compat_linux32
178ea0fabbcSTim J. Robbinscompat/linux/linux_ioctl.c	optional	compat_linux32
179ea0fabbcSTim J. Robbinscompat/linux/linux_ipc.c	optional	compat_linux32
180ea0fabbcSTim J. Robbinscompat/linux/linux_mib.c	optional	compat_linux32
181ea0fabbcSTim J. Robbinscompat/linux/linux_misc.c	optional	compat_linux32
182ea0fabbcSTim J. Robbinscompat/linux/linux_signal.c	optional	compat_linux32
183ea0fabbcSTim J. Robbinscompat/linux/linux_socket.c	optional	compat_linux32
184ea0fabbcSTim J. Robbinscompat/linux/linux_stats.c	optional	compat_linux32
185ea0fabbcSTim J. Robbinscompat/linux/linux_sysctl.c	optional	compat_linux32
186ea0fabbcSTim J. Robbinscompat/linux/linux_uid16.c	optional	compat_linux32
187ea0fabbcSTim J. Robbinscompat/linux/linux_util.c	optional	compat_linux32
188