1 # This file tells config what files go into building a kernel,
2 # files marked standard are always included.
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.
13 compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \
14 no-obj no-implicit-rule before-depend \
15 clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
17 # There is only an asm version on ppc64.
18 cddl/compat/opensolaris/kern/opensolaris_atomic.c optional zfs powerpc | dtrace powerpc compile-with "${ZFS_C}"
19 cddl/contrib/opensolaris/common/atomic/powerpc64/opensolaris_atomic.S optional zfs powerpc64 | dtrace powerpc64 compile-with "${ZFS_S}"
20 cddl/dev/dtrace/powerpc/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}"
21 cddl/dev/dtrace/powerpc/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
22 cddl/dev/fbt/powerpc/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
23 crypto/blowfish/bf_enc.c optional crypto | ipsec | ipsec_support
24 crypto/des/des_enc.c optional crypto | ipsec | ipsec_support | netsmb
25 dev/bm/if_bm.c optional bm powermac
26 dev/adb/adb_bus.c optional adb
27 dev/adb/adb_kbd.c optional adb
28 dev/adb/adb_mouse.c optional adb
29 dev/adb/adb_hb_if.m optional adb
30 dev/adb/adb_if.m optional adb
31 dev/adb/adb_buttons.c optional adb
32 dev/agp/agp_apple.c optional agp powermac
33 dev/fb/fb.c optional sc
34 dev/fdt/fdt_powerpc.c optional fdt
35 # ofwbus depends on simplebus.
36 dev/fdt/simplebus.c optional aim | fdt
37 dev/hwpmc/hwpmc_e500.c optional hwpmc
38 dev/hwpmc/hwpmc_mpc7xxx.c optional hwpmc
39 dev/hwpmc/hwpmc_powerpc.c optional hwpmc
40 dev/hwpmc/hwpmc_ppc970.c optional hwpmc
41 dev/iicbus/ad7417.c optional ad7417 powermac
42 dev/iicbus/adm1030.c optional powermac windtunnel | adm1030 powermac
43 dev/iicbus/adt746x.c optional adt746x powermac
44 dev/iicbus/ds1631.c optional ds1631 powermac
45 dev/iicbus/ds1775.c optional ds1775 powermac
46 dev/iicbus/max6690.c optional max6690 powermac
47 dev/iicbus/ofw_iicbus.c optional iicbus aim
48 dev/nand/nfc_fsl.c optional nand mpc85xx
49 dev/nand/nfc_rb.c optional nand mpc85xx
50 # ofw can be either aim or fdt: fdt case handled in files. aim only powerpc specific.
51 dev/ofw/openfirm.c optional aim
52 dev/ofw/openfirmio.c optional aim
53 dev/ofw/ofw_bus_if.m optional aim
54 dev/ofw/ofw_cpu.c optional aim
55 dev/ofw/ofw_if.m optional aim
56 dev/ofw/ofw_bus_subr.c optional aim
57 dev/ofw/ofw_console.c optional aim
58 dev/ofw/ofw_disk.c optional ofwd aim
59 dev/ofw/ofwbus.c optional aim | fdt
60 dev/ofw/ofwpci.c optional pci
61 dev/ofw/ofw_standard.c optional aim powerpc
62 dev/ofw/ofw_subr.c optional aim powerpc
63 dev/powermac_nvram/powermac_nvram.c optional powermac_nvram powermac
64 dev/quicc/quicc_bfe_fdt.c optional quicc mpc85xx
65 dev/scc/scc_bfe_macio.c optional scc powermac
66 dev/sdhci/fsl_sdhci.c optional mpc85xx sdhci
67 dev/sec/sec.c optional sec mpc85xx
68 dev/sound/macio/aoa.c optional snd_davbus | snd_ai2s powermac
69 dev/sound/macio/davbus.c optional snd_davbus powermac
70 dev/sound/macio/i2s.c optional snd_ai2s powermac
71 dev/sound/macio/onyx.c optional snd_ai2s iicbus powermac
72 dev/sound/macio/snapper.c optional snd_ai2s iicbus powermac
73 dev/sound/macio/tumbler.c optional snd_ai2s iicbus powermac
74 dev/syscons/scgfbrndr.c optional sc
75 dev/syscons/scterm-teken.c optional sc
76 dev/syscons/scvtb.c optional sc
77 dev/tsec/if_tsec.c optional tsec
78 dev/tsec/if_tsec_fdt.c optional tsec fdt
79 dev/uart/uart_cpu_powerpc.c optional uart
80 dev/usb/controller/ehci_fsl.c optional ehci mpc85xx
81 dev/vt/hw/ofwfb/ofwfb.c optional vt aim
82 kern/kern_clocksource.c standard
83 kern/subr_dummy_vdso_tc.c standard
84 kern/syscalls.c optional ktr
85 kern/subr_sfbuf.c standard
86 libkern/ashldi3.c optional powerpc | powerpcspe
87 libkern/ashrdi3.c optional powerpc | powerpcspe
88 libkern/bcmp.c standard
89 libkern/cmpdi2.c optional powerpc | powerpcspe
90 libkern/divdi3.c optional powerpc | powerpcspe
91 libkern/ffs.c standard
92 libkern/ffsl.c standard
93 libkern/ffsll.c standard
94 libkern/fls.c standard
95 libkern/flsl.c standard
96 libkern/flsll.c standard
97 libkern/lshrdi3.c optional powerpc | powerpcspe
98 libkern/memmove.c standard
99 libkern/memset.c standard
100 libkern/moddi3.c optional powerpc | powerpcspe
101 libkern/qdivrem.c optional powerpc | powerpcspe
102 libkern/ucmpdi2.c optional powerpc | powerpcspe
103 libkern/udivdi3.c optional powerpc | powerpcspe
104 libkern/umoddi3.c optional powerpc | powerpcspe
105 powerpc/aim/locore.S optional aim no-obj
106 powerpc/aim/aim_machdep.c optional aim
107 powerpc/aim/mmu_oea.c optional aim powerpc
108 powerpc/aim/mmu_oea64.c optional aim
109 powerpc/aim/moea64_if.m optional aim
110 powerpc/aim/moea64_native.c optional aim
111 powerpc/aim/mp_cpudep.c optional aim
112 powerpc/aim/slb.c optional aim powerpc64
113 powerpc/booke/locore.S optional booke no-obj
114 powerpc/booke/booke_machdep.c optional booke
115 powerpc/booke/machdep_e500.c optional booke_e500
116 powerpc/booke/mp_cpudep.c optional booke smp
117 powerpc/booke/platform_bare.c optional booke
118 powerpc/booke/pmap.c optional booke
119 powerpc/booke/spe.c optional powerpcspe
120 powerpc/cpufreq/dfs.c optional cpufreq
121 powerpc/cpufreq/pcr.c optional cpufreq aim
122 powerpc/cpufreq/pmufreq.c optional cpufreq aim pmu
123 powerpc/fpu/fpu_add.c optional fpu_emu
124 powerpc/fpu/fpu_compare.c optional fpu_emu
125 powerpc/fpu/fpu_div.c optional fpu_emu
126 powerpc/fpu/fpu_emu.c optional fpu_emu
127 powerpc/fpu/fpu_explode.c optional fpu_emu
128 powerpc/fpu/fpu_implode.c optional fpu_emu
129 powerpc/fpu/fpu_mul.c optional fpu_emu
130 powerpc/fpu/fpu_sqrt.c optional fpu_emu
131 powerpc/fpu/fpu_subr.c optional fpu_emu
132 powerpc/mambo/mambocall.S optional mambo
133 powerpc/mambo/mambo.c optional mambo
134 powerpc/mambo/mambo_console.c optional mambo
135 powerpc/mambo/mambo_disk.c optional mambo
136 powerpc/mikrotik/platform_rb.c optional mikrotik
137 powerpc/mikrotik/rb_led.c optional mikrotik
138 powerpc/mpc85xx/atpic.c optional mpc85xx isa
139 powerpc/mpc85xx/ds1553_bus_fdt.c optional ds1553 fdt
140 powerpc/mpc85xx/ds1553_core.c optional ds1553
141 powerpc/mpc85xx/fsl_diu.c optional mpc85xx diu
142 powerpc/mpc85xx/i2c.c optional iicbus fdt
143 powerpc/mpc85xx/isa.c optional mpc85xx isa
144 powerpc/mpc85xx/lbc.c optional mpc85xx
145 powerpc/mpc85xx/mpc85xx.c optional mpc85xx
146 powerpc/mpc85xx/mpc85xx_gpio.c optional mpc85xx gpio
147 powerpc/mpc85xx/platform_mpc85xx.c optional mpc85xx
148 powerpc/mpc85xx/pci_mpc85xx.c optional pci mpc85xx
149 powerpc/mpc85xx/pci_mpc85xx_pcib.c optional pci mpc85xx
150 powerpc/mpc85xx/qoriq_gpio.c optional mpc85xx gpio
151 powerpc/ofw/ofw_machdep.c standard
152 powerpc/ofw/ofw_pcibus.c optional pci
153 powerpc/ofw/ofw_pcib_pci.c optional pci
154 powerpc/ofw/ofw_real.c optional aim
155 powerpc/ofw/ofw_syscons.c optional sc aim
156 powerpc/ofw/ofwcall32.S optional aim powerpc
157 powerpc/ofw/ofwcall64.S optional aim powerpc64
158 powerpc/ofw/ofwmagic.S optional aim
159 powerpc/ofw/openpic_ofw.c optional aim | fdt
160 powerpc/ofw/rtas.c optional aim
161 powerpc/powermac/ata_kauai.c optional powermac ata | powermac atamacio
162 powerpc/powermac/ata_macio.c optional powermac ata | powermac atamacio
163 powerpc/powermac/ata_dbdma.c optional powermac ata | powermac atamacio
164 powerpc/powermac/atibl.c optional powermac atibl
165 powerpc/powermac/cuda.c optional powermac cuda
166 powerpc/powermac/cpcht.c optional powermac pci
167 powerpc/powermac/dbdma.c optional powermac pci
168 powerpc/powermac/fcu.c optional powermac fcu
169 powerpc/powermac/grackle.c optional powermac pci
170 powerpc/powermac/hrowpic.c optional powermac pci
171 powerpc/powermac/kiic.c optional powermac kiic
172 powerpc/powermac/macgpio.c optional powermac pci
173 powerpc/powermac/macio.c optional powermac pci
174 powerpc/powermac/nvbl.c optional powermac nvbl
175 powerpc/powermac/platform_powermac.c optional powermac
176 powerpc/powermac/powermac_thermal.c optional powermac
177 powerpc/powermac/pswitch.c optional powermac pswitch
178 powerpc/powermac/pmu.c optional powermac pmu
179 powerpc/powermac/smu.c optional powermac smu
180 powerpc/powermac/smusat.c optional powermac smu
181 powerpc/powermac/uninorth.c optional powermac
182 powerpc/powermac/uninorthpci.c optional powermac pci
183 powerpc/powermac/vcoregpio.c optional powermac
184 powerpc/powerpc/altivec.c optional powerpc | powerpc64
185 powerpc/powerpc/autoconf.c standard
186 powerpc/powerpc/bcopy.c standard
187 powerpc/powerpc/bus_machdep.c standard
188 powerpc/powerpc/busdma_machdep.c standard
189 powerpc/powerpc/clock.c standard
190 powerpc/powerpc/copyinout.c standard
191 powerpc/powerpc/copystr.c standard
192 powerpc/powerpc/cpu.c standard
193 powerpc/powerpc/db_disasm.c optional ddb
194 powerpc/powerpc/db_hwwatch.c optional ddb
195 powerpc/powerpc/db_interface.c optional ddb
196 powerpc/powerpc/db_trace.c optional ddb
197 powerpc/powerpc/dump_machdep.c standard
198 powerpc/powerpc/elf32_machdep.c optional powerpc | powerpcspe | compat_freebsd32
199 powerpc/powerpc/elf64_machdep.c optional powerpc64
200 powerpc/powerpc/exec_machdep.c standard
201 powerpc/powerpc/fpu.c standard
202 powerpc/powerpc/fuswintr.c standard
203 powerpc/powerpc/gdb_machdep.c optional gdb
204 powerpc/powerpc/in_cksum.c optional inet | inet6
205 powerpc/powerpc/interrupt.c standard
206 powerpc/powerpc/intr_machdep.c standard
207 powerpc/powerpc/iommu_if.m standard
208 powerpc/powerpc/machdep.c standard
209 powerpc/powerpc/mem.c optional mem
210 powerpc/powerpc/mmu_if.m standard
211 powerpc/powerpc/mp_machdep.c optional smp
212 powerpc/powerpc/nexus.c standard
213 powerpc/powerpc/openpic.c standard
214 powerpc/powerpc/pic_if.m standard
215 powerpc/powerpc/pmap_dispatch.c standard
216 powerpc/powerpc/platform.c standard
217 powerpc/powerpc/platform_if.m standard
218 powerpc/powerpc/ptrace_machdep.c standard
219 powerpc/powerpc/sc_machdep.c optional sc
220 powerpc/powerpc/setjmp.S standard
221 powerpc/powerpc/sigcode32.S optional powerpc | powerpcspe | compat_freebsd32
222 powerpc/powerpc/sigcode64.S optional powerpc64
223 powerpc/powerpc/swtch32.S optional powerpc | powerpcspe
224 powerpc/powerpc/swtch64.S optional powerpc64
225 powerpc/powerpc/stack_machdep.c optional ddb | stack
226 powerpc/powerpc/suswintr.c standard
227 powerpc/powerpc/syncicache.c standard
228 powerpc/powerpc/sys_machdep.c standard
229 powerpc/powerpc/trap.c standard
230 powerpc/powerpc/uio_machdep.c standard
231 powerpc/powerpc/uma_machdep.c standard
232 powerpc/powerpc/vm_machdep.c standard
233 powerpc/ps3/ehci_ps3.c optional ps3 ehci
234 powerpc/ps3/ohci_ps3.c optional ps3 ohci
235 powerpc/ps3/if_glc.c optional ps3 glc
236 powerpc/ps3/mmu_ps3.c optional ps3
237 powerpc/ps3/platform_ps3.c optional ps3
238 powerpc/ps3/ps3bus.c optional ps3
239 powerpc/ps3/ps3cdrom.c optional ps3 scbus
240 powerpc/ps3/ps3disk.c optional ps3
241 powerpc/ps3/ps3pic.c optional ps3
242 powerpc/ps3/ps3_syscons.c optional ps3 vt
243 powerpc/ps3/ps3-hvcall.S optional ps3
244 powerpc/pseries/phyp-hvcall.S optional pseries powerpc64
245 powerpc/pseries/mmu_phyp.c optional pseries powerpc64
246 powerpc/pseries/phyp_console.c optional pseries powerpc64 uart
247 powerpc/pseries/phyp_llan.c optional llan
248 powerpc/pseries/phyp_vscsi.c optional pseries powerpc64 scbus
249 powerpc/pseries/platform_chrp.c optional pseries
250 powerpc/pseries/plpar_iommu.c optional pseries powerpc64
251 powerpc/pseries/plpar_pcibus.c optional pseries powerpc64 pci
252 powerpc/pseries/rtas_dev.c optional pseries
253 powerpc/pseries/rtas_pci.c optional pseries pci
254 powerpc/pseries/vdevice.c optional pseries powerpc64
255 powerpc/pseries/xics.c optional pseries powerpc64
256 powerpc/psim/iobus.c optional psim
257 powerpc/psim/ata_iobus.c optional ata psim
258 powerpc/psim/openpic_iobus.c optional psim
259 powerpc/psim/uart_iobus.c optional uart psim