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