xref: /freebsd/sys/conf/files.amd64 (revision 282a3889ebf826db9839be296ff1dd903f6d6d6e)
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#
50hal.o				optional	ath_hal			\
51	dependency	"$S/contrib/dev/ath/public/x86_64-elf.hal.o.uu"	\
52	compile-with	"uudecode < $S/contrib/dev/ath/public/x86_64-elf.hal.o.uu" \
53	no-implicit-rule
54opt_ah.h			optional	ath_hal			\
55	dependency	"$S/contrib/dev/ath/public/x86_64-elf.opt_ah.h"	\
56	compile-with	"rm -f opt_ah.h; cp $S/contrib/dev/ath/public/x86_64-elf.opt_ah.h opt_ah.h" \
57	no-obj no-implicit-rule before-depend				\
58	clean		"opt_ah.h"
59#
60nvenetlib.o			optional	nve pci			\
61	dependency	"$S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu"	\
62	compile-with	"uudecode $S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu ; bzip2 -df nvenetlib.o.bz2" \
63 	no-implicit-rule
64#
65os+%DIKED-nve.h		optional	nve pci			\
66	dependency	"$S/contrib/dev/nve/os.h"			\
67	compile-with	"sed -e 's/^.*#include.*phy\.h.*$$//' $S/contrib/dev/nve/os.h > os+%DIKED-nve.h" \
68	no-implicit-rule no-obj before-depend				\
69	clean		"os+%DIKED-nve.h"
70#
71hptmvraid.o			optional	hptmv			\
72	dependency	"$S/dev/hptmv/amd64-elf.raid.o.uu"	\
73	compile-with	"uudecode < $S/dev/hptmv/amd64-elf.raid.o.uu" \
74	no-implicit-rule
75rr232x_lib.o		optional	rr232x				\
76	dependency	"$S/dev/rr232x/amd64-elf.rr232x_lib.o.uu"	\
77	compile-with	"uudecode < $S/dev/rr232x/amd64-elf.rr232x_lib.o.uu" \
78	no-implicit-rule
79#
80amd64/acpica/OsdEnvironment.c	optional	acpi
81amd64/acpica/acpi_machdep.c	optional	acpi
82amd64/acpica/acpi_wakeup.c	optional	acpi
83amd64/acpica/madt.c		optional	acpi
84amd64/amd64/amd64_mem.c		optional	mem
85#amd64/amd64/apic_vector.S	standard
86amd64/amd64/atomic.c		standard
87amd64/amd64/autoconf.c		standard
88amd64/amd64/bios.c		standard
89amd64/amd64/bpf_jit_machdep.c	optional	bpf_jitter
90amd64/amd64/busdma_machdep.c	standard
91amd64/amd64/cpu_switch.S	standard
92amd64/amd64/db_disasm.c		optional	ddb
93amd64/amd64/db_interface.c	optional	ddb
94amd64/amd64/db_trace.c		optional	ddb
95amd64/amd64/dump_machdep.c	standard
96amd64/amd64/elf_machdep.c	standard
97amd64/amd64/exception.S		standard
98amd64/amd64/fpu.c		standard
99amd64/amd64/gdb_machdep.c	optional	gdb
100amd64/amd64/identcpu.c		standard
101amd64/amd64/in_cksum.c		optional	inet
102amd64/amd64/initcpu.c		standard
103amd64/amd64/intr_machdep.c	standard
104amd64/amd64/io.c		optional	io
105amd64/amd64/io_apic.c		standard
106amd64/amd64/legacy.c		standard
107amd64/amd64/local_apic.c	standard
108amd64/amd64/locore.S		standard	no-obj
109amd64/amd64/machdep.c		standard
110amd64/amd64/mem.c		optional	mem
111amd64/amd64/minidump_machdep.c	standard
112amd64/amd64/mp_machdep.c	optional	smp
113amd64/amd64/mp_watchdog.c	optional	mp_watchdog smp
114amd64/amd64/mpboot.S		optional	smp
115amd64/amd64/mptable.c		optional	mptable
116amd64/amd64/mptable_pci.c	optional	mptable pci
117amd64/amd64/msi.c		optional	pci
118amd64/amd64/nexus.c		standard
119amd64/amd64/pmap.c		standard	nowerror
120amd64/amd64/prof_machdep.c	optional	profiling-routine
121amd64/amd64/sigtramp.S		standard
122amd64/amd64/support.S		standard
123amd64/amd64/sys_machdep.c	standard
124amd64/amd64/trap.c		standard
125amd64/amd64/tsc.c		standard
126amd64/amd64/uio_machdep.c	standard
127amd64/amd64/uma_machdep.c	standard
128amd64/amd64/vm_machdep.c	standard
129amd64/isa/atpic.c		optional	atpic isa
130#amd64/isa/atpic_vector.S	optional	atpic isa
131amd64/isa/clock.c		standard
132amd64/isa/elcr.c		standard
133amd64/isa/isa.c			standard
134amd64/isa/isa_dma.c		standard
135amd64/isa/nmi.c			standard
136amd64/pci/pci_bus.c		optional	pci
137amd64/pci/pci_cfgreg.c		optional	pci
138crypto/blowfish/bf_enc.c	optional	crypto | ipsec
139crypto/des/des_enc.c		optional	crypto | ipsec | netsmb
140dev/acpica/acpi_if.m		standard
141dev/arcmsr/arcmsr.c		optional	arcmsr pci
142dev/atkbdc/atkbd.c		optional	atkbd atkbdc
143dev/atkbdc/atkbd_atkbdc.c	optional	atkbd atkbdc
144dev/atkbdc/atkbdc.c		optional	atkbdc
145dev/atkbdc/atkbdc_isa.c		optional	atkbdc isa
146dev/atkbdc/atkbdc_subr.c	optional	atkbdc
147dev/atkbdc/psm.c		optional	psm atkbdc
148# There are no systems with isa slots, so all ed isa entries should go..
149dev/ed/if_ed_3c503.c		optional	ed isa ed_3c503
150dev/ed/if_ed_isa.c		optional	ed isa
151dev/ed/if_ed_wd80x3.c		optional	ed isa
152dev/ed/if_ed_hpp.c		optional	ed isa ed_hpp
153dev/ed/if_ed_sic.c		optional	ed isa ed_sic
154dev/fb/fb.c			optional	fb | vga
155dev/fb/vga.c			optional	vga
156dev/ichwd/ichwd.c		optional	ichwd
157dev/if_ndis/if_ndis.c		optional	ndis
158dev/if_ndis/if_ndis_pccard.c	optional	ndis pccard
159dev/if_ndis/if_ndis_pci.c	optional	ndis cardbus | ndis pci
160dev/if_ndis/if_ndis_usb.c	optional	ndis usb
161dev/io/iodev.c			optional	io
162dev/ipmi/ipmi.c			optional	ipmi
163dev/ipmi/ipmi_acpi.c		optional	ipmi acpi
164dev/ipmi/ipmi_isa.c		optional	ipmi isa
165dev/ipmi/ipmi_kcs.c		optional	ipmi
166dev/ipmi/ipmi_smic.c		optional	ipmi
167dev/ipmi/ipmi_smbus.c		optional	ipmi smbus
168dev/ipmi/ipmi_smbios.c		optional	ipmi
169dev/ipmi/ipmi_ssif.c		optional	ipmi smbus
170dev/ipmi/ipmi_pci.c		optional	ipmi pci
171dev/fdc/fdc.c			optional	fdc
172dev/fdc/fdc_acpi.c		optional	fdc
173dev/fdc/fdc_isa.c		optional	fdc isa
174dev/fdc/fdc_pccard.c		optional	fdc pccard
175dev/hptmv/entry.c		optional	hptmv
176dev/hptmv/mv.c			optional	hptmv
177dev/hptmv/gui_lib.c		optional	hptmv
178dev/hptmv/hptproc.c		optional	hptmv
179dev/hptmv/ioctl.c		optional	hptmv
180dev/hwpmc/hwpmc_amd.c		optional	hwpmc
181dev/hwpmc/hwpmc_piv.c		optional	hwpmc
182dev/hwpmc/hwpmc_x86.c		optional	hwpmc
183dev/kbd/kbd.c			optional	atkbd | sc | ukbd
184dev/mem/memutil.c		optional	mem
185dev/nfe/if_nfe.c		optional	nfe pci
186dev/nve/if_nve.c		optional	nve pci
187dev/rr232x/os_bsd.c		optional	rr232x
188dev/rr232x/osm_bsd.c		optional	rr232x
189dev/rr232x/rr232x_config.c	optional	rr232x
190dev/sio/sio.c			optional	sio
191dev/sio/sio_isa.c		optional	sio isa
192dev/sio/sio_pccard.c		optional	sio pccard
193dev/sio/sio_pci.c		optional	sio pci
194dev/sio/sio_puc.c		optional	sio puc
195dev/speaker/spkr.c		optional	speaker
196dev/syscons/apm/apm_saver.c	optional	apm_saver apm
197dev/syscons/scterm-sc.c		optional	sc
198dev/syscons/scvgarndr.c		optional	sc vga
199dev/syscons/scvtb.c		optional	sc
200dev/uart/uart_cpu_amd64.c	optional	uart
201isa/syscons_isa.c		optional	sc
202isa/vga_isa.c			optional	vga
203kern/link_elf_obj.c		standard
204pci/agp_amd64.c			optional	agp
205pci/agp_i810.c			optional	agp
206pci/agp_intel.c			optional	agp
207#
208# IA32 binary support
209#
210#amd64/ia32/ia32_exception.S	optional	compat_ia32
211amd64/ia32/ia32_reg.c		optional	compat_ia32
212amd64/ia32/ia32_signal.c	optional	compat_ia32
213amd64/ia32/ia32_sigtramp.S	optional	compat_ia32
214amd64/ia32/ia32_syscall.c	optional	compat_ia32
215compat/freebsd32/freebsd32_misc.c	optional	compat_ia32
216compat/freebsd32/freebsd32_syscalls.c	optional	compat_ia32
217compat/freebsd32/freebsd32_sysent.c	optional	compat_ia32
218compat/ia32/ia32_sysvec.c	optional	compat_ia32
219compat/linprocfs/linprocfs.c	optional	linprocfs
220compat/linsysfs/linsysfs.c	optional	linsysfs
221kern/imgact_elf32.c		optional	compat_ia32
222#
223# Linux/i386 binary support
224#
225amd64/linux32/linux32_dummy.c	optional	compat_linux32
226amd64/linux32/linux32_locore.s	optional	compat_linux32		\
227	dependency 	"linux32_assym.h"
228amd64/linux32/linux32_machdep.c	optional	compat_linux32
229amd64/linux32/linux32_support.s	optional	compat_linux32		\
230	dependency 	"linux32_assym.h"
231amd64/linux32/linux32_sysent.c	optional	compat_linux32
232amd64/linux32/linux32_sysvec.c	optional	compat_linux32
233compat/linux/linux_emul.c	optional	compat_linux32
234compat/linux/linux_file.c	optional	compat_linux32
235compat/linux/linux_futex.c	optional	compat_linux32
236compat/linux/linux_getcwd.c	optional	compat_linux32
237compat/linux/linux_ioctl.c	optional	compat_linux32
238compat/linux/linux_ipc.c	optional	compat_linux32
239compat/linux/linux_mib.c	optional	compat_linux32
240compat/linux/linux_misc.c	optional	compat_linux32
241compat/linux/linux_signal.c	optional	compat_linux32
242compat/linux/linux_socket.c	optional	compat_linux32
243compat/linux/linux_stats.c	optional	compat_linux32
244compat/linux/linux_sysctl.c	optional	compat_linux32
245compat/linux/linux_time.c	optional	compat_linux32
246compat/linux/linux_uid16.c	optional	compat_linux32
247compat/linux/linux_util.c	optional	compat_linux32
248dev/amr/amr_linux.c		optional	compat_linux32 amr
249dev/mfi/mfi_linux.c		optional	compat_linux32 mfi
250#
251# Windows NDIS driver support
252#
253compat/ndis/kern_ndis.c		optional	ndisapi pci
254compat/ndis/kern_windrv.c	optional	ndisapi pci
255compat/ndis/subr_hal.c		optional	ndisapi pci
256compat/ndis/subr_ndis.c		optional	ndisapi pci
257compat/ndis/subr_ntoskrnl.c	optional	ndisapi pci
258compat/ndis/subr_pe.c		optional	ndisapi pci
259compat/ndis/subr_usbd.c		optional	ndisapi pci
260compat/ndis/winx64_wrap.S	optional	ndisapi pci
261i386/bios/smbios.c		optional	smbios
262i386/bios/vpd.c			optional	vpd
263i386/cpufreq/powernow.c		optional	cpufreq
264i386/cpufreq/est.c		optional	cpufreq
265i386/cpufreq/p4tcc.c		optional	cpufreq
266#
267libkern/memset.c		standard
268