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 "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# 60amd64/acpica/OsdEnvironment.c optional acpi 61amd64/acpica/acpi_machdep.c optional acpi 62amd64/acpica/acpi_wakeup.c optional acpi 63amd64/acpica/madt.c optional acpi 64amd64/amd64/amd64_mem.c optional mem 65#amd64/amd64/apic_vector.S standard 66amd64/amd64/atomic.c standard 67amd64/amd64/autoconf.c standard 68amd64/amd64/bios.c standard 69amd64/amd64/busdma_machdep.c standard 70amd64/amd64/cpu_switch.S standard 71amd64/amd64/critical.c standard 72amd64/amd64/db_disasm.c optional ddb 73amd64/amd64/db_interface.c optional ddb 74amd64/amd64/db_trace.c optional ddb 75amd64/amd64/dump_machdep.c standard 76amd64/amd64/elf_machdep.c standard 77amd64/amd64/exception.S standard 78amd64/amd64/fpu.c standard 79amd64/amd64/gdb_machdep.c optional gdb 80amd64/amd64/identcpu.c standard 81amd64/amd64/in_cksum.c optional inet 82amd64/amd64/initcpu.c standard 83amd64/amd64/intr_machdep.c standard 84amd64/amd64/io.c optional io 85amd64/amd64/io_apic.c standard 86amd64/amd64/legacy.c standard 87amd64/amd64/local_apic.c standard 88amd64/amd64/locore.S standard no-obj 89amd64/amd64/machdep.c standard 90amd64/amd64/mem.c optional mem 91amd64/amd64/mp_machdep.c optional smp 92amd64/amd64/mp_watchdog.c optional mp_watchdog smp 93amd64/amd64/mpboot.S optional smp 94amd64/amd64/mptable.c optional mptable 95amd64/amd64/mptable_pci.c optional mptable pci 96amd64/amd64/nexus.c standard 97amd64/amd64/pmap.c standard 98amd64/amd64/prof_machdep.c optional profiling-routine 99amd64/amd64/sigtramp.S standard 100amd64/amd64/support.S standard 101amd64/amd64/sys_machdep.c standard 102amd64/amd64/trap.c standard 103amd64/amd64/tsc.c standard 104amd64/amd64/uio_machdep.c standard 105amd64/amd64/uma_machdep.c standard 106amd64/amd64/vm_machdep.c standard 107amd64/isa/atpic.c optional atpic isa 108#amd64/isa/atpic_vector.S optional atpic isa 109amd64/isa/clock.c standard 110amd64/isa/elcr.c standard 111amd64/isa/isa.c standard 112amd64/isa/isa_dma.c standard 113amd64/isa/nmi.c standard 114amd64/pci/pci_bus.c optional pci 115amd64/pci/pci_cfgreg.c optional pci 116crypto/blowfish/bf_enc.c optional crypto 117crypto/blowfish/bf_enc.c optional ipsec ipsec_esp 118crypto/des/des_ecb.c optional netsmbcrypto 119crypto/des/des_enc.c optional crypto 120crypto/des/des_enc.c optional ipsec ipsec_esp 121crypto/des/des_enc.c optional netsmbcrypto 122crypto/des/des_setkey.c optional netsmbcrypto 123dev/acpica/acpi_if.m standard 124dev/fb/fb.c optional fb 125dev/fb/fb.c optional vga 126dev/fb/splash.c optional splash 127dev/fb/vga.c optional vga 128dev/io/iodev.c optional io 129dev/fdc/fdc.c optional fdc 130dev/fdc/fdc_acpi.c optional fdc 131dev/fdc/fdc_isa.c optional fdc isa 132dev/fdc/fdc_pccard.c optional fdc pccard 133dev/kbd/atkbd.c optional atkbd 134dev/kbd/atkbdc.c optional atkbdc 135dev/kbd/kbd.c optional atkbd 136dev/kbd/kbd.c optional sc 137dev/kbd/kbd.c optional ukbd 138dev/mem/memutil.c optional mem 139dev/ppc/ppc.c optional ppc 140dev/sio/sio.c optional sio 141dev/sio/sio_isa.c optional sio isa 142dev/syscons/apm/apm_saver.c optional apm_saver apm 143dev/syscons/schistory.c optional sc 144dev/syscons/scmouse.c optional sc 145dev/syscons/scterm-dumb.c optional sc 146dev/syscons/scterm-sc.c optional sc 147dev/syscons/scterm.c optional sc 148dev/syscons/scvgarndr.c optional sc vga 149dev/syscons/scvidctl.c optional sc 150dev/syscons/scvtb.c optional sc 151dev/syscons/syscons.c optional sc 152dev/syscons/sysmouse.c optional sc 153dev/uart/uart_cpu_amd64.c optional uart 154geom/geom_bsd.c standard 155geom/geom_bsd_enc.c standard 156geom/geom_mbr.c standard 157geom/geom_mbr_enc.c standard 158isa/atkbd_isa.c optional atkbd 159isa/atkbdc_isa.c optional atkbdc 160isa/psm.c optional psm 161isa/syscons_isa.c optional sc 162isa/vga_isa.c optional vga 163kern/link_elf_obj.c standard 164pci/agp_amd64.c optional agp 165pci/agp_intel.c optional agp 166# 167# IA32 binary support 168# 169#amd64/ia32/ia32_exception.S optional compat_ia32 170amd64/ia32/ia32_signal.c optional compat_ia32 171amd64/ia32/ia32_sigtramp.S optional compat_ia32 172amd64/ia32/ia32_syscall.c optional compat_ia32 173compat/freebsd32/freebsd32_misc.c optional compat_ia32 174compat/freebsd32/freebsd32_syscalls.c optional compat_ia32 175compat/freebsd32/freebsd32_sysent.c optional compat_ia32 176compat/ia32/ia32_sysvec.c optional compat_ia32 177kern/imgact_elf32.c optional compat_ia32 178# 179# Linux/i386 binary support 180# 181amd64/linux32/linux32_dummy.c optional compat_linux32 182amd64/linux32/linux32_locore.s optional compat_linux32 \ 183 dependency "linux32_assym.h" 184amd64/linux32/linux32_machdep.c optional compat_linux32 185amd64/linux32/linux32_sysent.c optional compat_linux32 186amd64/linux32/linux32_sysvec.c optional compat_linux32 187compat/linux/linux_file.c optional compat_linux32 188compat/linux/linux_getcwd.c optional compat_linux32 189compat/linux/linux_ioctl.c optional compat_linux32 190compat/linux/linux_ipc.c optional compat_linux32 191compat/linux/linux_mib.c optional compat_linux32 192compat/linux/linux_misc.c optional compat_linux32 193compat/linux/linux_signal.c optional compat_linux32 194compat/linux/linux_socket.c optional compat_linux32 195compat/linux/linux_stats.c optional compat_linux32 196compat/linux/linux_sysctl.c optional compat_linux32 197compat/linux/linux_uid16.c optional compat_linux32 198compat/linux/linux_util.c optional compat_linux32 199