1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../automake/compile.am |
---|
8 | |
---|
9 | include_rtems_powerpcdir = $(includedir)/rtems/powerpc |
---|
10 | include_rtems_powerpc_HEADERS = rtems/powerpc/cache.h \ |
---|
11 | rtems/powerpc/debugmod.h rtems/powerpc/powerpc.h |
---|
12 | |
---|
13 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
14 | include_libcpudir = $(includedir)/libcpu |
---|
15 | |
---|
16 | include_libcpu_HEADERS = shared/include/powerpc-utility.h |
---|
17 | |
---|
18 | EXTRA_DIST = |
---|
19 | |
---|
20 | noinst_PROGRAMS = new-exceptions/rtems-cpu.rel |
---|
21 | new_exceptions_rtems_cpu_rel_SOURCES = new-exceptions/cpu.c \ |
---|
22 | new-exceptions/cpu_asm.S |
---|
23 | new_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
24 | new_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
25 | |
---|
26 | |
---|
27 | if !mpc5xx |
---|
28 | include_libcpu_HEADERS += new-exceptions/raw_exception.h |
---|
29 | noinst_PROGRAMS += new-exceptions/raw_exception.rel |
---|
30 | new_exceptions_raw_exception_rel_SOURCES = new-exceptions/raw_exception.c \ |
---|
31 | new-exceptions/asm_utils.S \ |
---|
32 | new-exceptions/e500_raw_exc_init.c |
---|
33 | new_exceptions_raw_exception_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
34 | new_exceptions_raw_exception_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
35 | |
---|
36 | noinst_PROGRAMS += new-exceptions/exc_bspsupport.rel |
---|
37 | new_exceptions_exc_bspsupport_rel_SOURCES = \ |
---|
38 | new-exceptions/bspsupport/ppc_exc.S \ |
---|
39 | new-exceptions/bspsupport/ppc_exc_hdl.c \ |
---|
40 | new-exceptions/bspsupport/vectors_init.c |
---|
41 | new_exceptions_exc_bspsupport_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
42 | new_exceptions_exc_bspsupport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
43 | |
---|
44 | noinst_PROGRAMS += new-exceptions/irq_bspsupport.rel |
---|
45 | |
---|
46 | new_exceptions_irq_bspsupport_rel_SOURCES = new-exceptions/bspsupport/irq.c |
---|
47 | new_exceptions_irq_bspsupport_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
48 | new_exceptions_irq_bspsupport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
49 | endif |
---|
50 | |
---|
51 | EXTRA_DIST += new-exceptions/bspsupport/vectors.h |
---|
52 | EXTRA_DIST += new-exceptions/bspsupport/irq_supp.h |
---|
53 | EXTRA_DIST += new-exceptions/bspsupport/ppc_exc_bspsupp.h |
---|
54 | EXTRA_DIST += new-exceptions/bspsupport/README |
---|
55 | EXTRA_DIST += new-exceptions/bspsupport/nest_irq_test.c |
---|
56 | EXTRA_DIST += new-exceptions/bspsupport/ppc_exc_test.c |
---|
57 | |
---|
58 | # shared/include |
---|
59 | if shared |
---|
60 | include_libcpu_HEADERS += shared/include/io.h shared/include/mmu.h shared/include/page.h \ |
---|
61 | shared/include/byteorder.h shared/include/pgtable.h |
---|
62 | |
---|
63 | noinst_PROGRAMS += shared/cpuIdent.rel |
---|
64 | shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c shared/include/cpuIdent.h |
---|
65 | shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
66 | shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
67 | |
---|
68 | include_libcpu_HEADERS += shared/include/cpuIdent.h |
---|
69 | |
---|
70 | # shared/cache |
---|
71 | noinst_PROGRAMS += shared/cache.rel |
---|
72 | shared_cache_rel_SOURCES = shared/src/cache.c shared/src/cache_.h \ |
---|
73 | ../shared/src/cache_aligned_malloc.c ../shared/src/cache_manager.c \ |
---|
74 | ../shared/include/cache.h |
---|
75 | shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/src |
---|
76 | shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
77 | |
---|
78 | include_libcpu_HEADERS += ../shared/include/cache.h |
---|
79 | |
---|
80 | # shared/stack |
---|
81 | noinst_PROGRAMS += shared/stack.rel |
---|
82 | shared_stack_rel_SOURCES = shared/src/stack.c shared/include/spr.h shared/src/stackTrace.h |
---|
83 | shared_stack_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
84 | shared_stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
85 | |
---|
86 | include_libcpu_HEADERS += shared/include/spr.h |
---|
87 | include_libcpu_HEADERS += shared/src/stackTrace.h |
---|
88 | endif |
---|
89 | |
---|
90 | EXTRA_DIST += ppc403/README ppc403/vectors/README |
---|
91 | if ppc403 |
---|
92 | # ppc403/clock |
---|
93 | noinst_PROGRAMS += ppc403/clock.rel |
---|
94 | ppc403_clock_rel_SOURCES = ppc403/clock/clock.c |
---|
95 | ppc403_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
96 | ppc403_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
97 | |
---|
98 | # ppc403/console |
---|
99 | noinst_PROGRAMS += ppc403/console.rel |
---|
100 | if ppc405 |
---|
101 | ppc403_console_rel_SOURCES = ppc403/console/console405.c |
---|
102 | else |
---|
103 | ppc403_console_rel_SOURCES = ppc403/console/console.c |
---|
104 | endif |
---|
105 | ppc403_console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
106 | ppc403_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
107 | |
---|
108 | include_HEADERS = |
---|
109 | shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c |
---|
110 | shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
111 | shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
112 | |
---|
113 | # ppc403/timer |
---|
114 | noinst_PROGRAMS += ppc403/timer.rel |
---|
115 | ppc403_timer_rel_SOURCES = ppc403/timer/timer.c |
---|
116 | ppc403_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
117 | ppc403_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
118 | |
---|
119 | # ppc403/tty_drv |
---|
120 | if ppc405 |
---|
121 | include_HEADERS += ppc403/tty_drv/tty_drv.h |
---|
122 | |
---|
123 | noinst_PROGRAMS += ppc403/tty_drv.rel |
---|
124 | ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h |
---|
125 | ppc403_tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
126 | ppc403_tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
127 | endif |
---|
128 | |
---|
129 | endif # ppc403 |
---|
130 | |
---|
131 | if ppc405 |
---|
132 | |
---|
133 | ## ppc4xx/include |
---|
134 | include_ppc4xxdir = $(includedir)/ppc4xx |
---|
135 | include_ppc4xx_HEADERS = ppc403/include/ppc405gp.h \ |
---|
136 | ppc403/include/ppc405ex.h |
---|
137 | |
---|
138 | endif # ppc405 |
---|
139 | |
---|
140 | |
---|
141 | ## mpc5xx |
---|
142 | EXTRA_DIST += mpc5xx/README |
---|
143 | if mpc5xx |
---|
144 | include_mpc5xxdir = $(includedir)/mpc5xx |
---|
145 | |
---|
146 | include_HEADERS = mpc5xx/include/mpc5xx.h |
---|
147 | |
---|
148 | # mpc5xx/clock |
---|
149 | noinst_PROGRAMS += mpc5xx/clock.rel |
---|
150 | mpc5xx_clock_rel_SOURCES = mpc5xx/clock/clock.c |
---|
151 | mpc5xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
152 | mpc5xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
153 | |
---|
154 | # mpc5xx/console-generic |
---|
155 | include_mpc5xx_HEADERS = mpc5xx/include/console.h |
---|
156 | |
---|
157 | noinst_PROGRAMS += mpc5xx/console-generic.rel |
---|
158 | mpc5xx_console_generic_rel_SOURCES = mpc5xx/console-generic/console-generic.c |
---|
159 | mpc5xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
160 | mpc5xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
161 | |
---|
162 | # mpc5xx/exceptions |
---|
163 | include_libcpu_HEADERS += mpc5xx/exceptions/raw_exception.h |
---|
164 | |
---|
165 | noinst_PROGRAMS += mpc5xx/exceptions.rel |
---|
166 | mpc5xx_exceptions_rel_SOURCES = mpc5xx/exceptions/raw_exception.c |
---|
167 | mpc5xx_exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
168 | mpc5xx_exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
169 | |
---|
170 | # mpc5xx/irq |
---|
171 | include_libcpu_HEADERS += mpc5xx/irq/irq.h |
---|
172 | |
---|
173 | noinst_PROGRAMS += mpc5xx/irq.rel |
---|
174 | mpc5xx_irq_rel_SOURCES = mpc5xx/irq/irq.c mpc5xx/irq/irq_init.c mpc5xx/irq/irq_asm.S |
---|
175 | mpc5xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
176 | mpc5xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
177 | |
---|
178 | # mpc5xx/timer |
---|
179 | noinst_PROGRAMS += mpc5xx/timer.rel |
---|
180 | mpc5xx_timer_rel_SOURCES = mpc5xx/timer/timer.c |
---|
181 | mpc5xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
182 | mpc5xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
183 | |
---|
184 | # mpc5xx/vectors |
---|
185 | include_libcpu_HEADERS += mpc5xx/vectors/vectors.h |
---|
186 | |
---|
187 | noinst_PROGRAMS += mpc5xx/vectors.rel |
---|
188 | mpc5xx_vectors_rel_SOURCES = mpc5xx/vectors/vectors_init.c mpc5xx/vectors/vectors.S |
---|
189 | mpc5xx_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
190 | mpc5xx_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
191 | endif |
---|
192 | |
---|
193 | if mpc505 |
---|
194 | # mpc505/ictrl |
---|
195 | include_HEADERS = mpc505/ictrl/ictrl.h |
---|
196 | |
---|
197 | noinst_PROGRAMS += mpc505/ictrl.rel |
---|
198 | mpc505_ictrl_rel_SOURCES = mpc505/ictrl/ictrl.c |
---|
199 | mpc505_ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
200 | mpc505_ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
201 | |
---|
202 | # mpc505/timer |
---|
203 | noinst_PROGRAMS += mpc505/timer.rel |
---|
204 | mpc505_timer_rel_SOURCES = mpc505/timer/timer.c |
---|
205 | mpc505_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
206 | mpc505_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
207 | |
---|
208 | # mpc505/vector |
---|
209 | noinst_PROGRAMS += mpc505/vectors.rel |
---|
210 | mpc505_vectors_rel_SOURCES = mpc505/vectors/vectors.S |
---|
211 | mpc505_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
212 | mpc505_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
213 | endif |
---|
214 | |
---|
215 | if mpc6xx |
---|
216 | |
---|
217 | # mpc6xx/mmu |
---|
218 | include_libcpu_HEADERS += mpc6xx/mmu/bat.h mpc6xx/mmu/pte121.h |
---|
219 | |
---|
220 | noinst_PROGRAMS += mpc6xx/mmu.rel |
---|
221 | mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \ |
---|
222 | mpc6xx/mmu/pte121.c mpc6xx/mmu/pte121.h \ |
---|
223 | mpc6xx/mmu/mmuAsm.S |
---|
224 | mpc6xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
225 | mpc6xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
226 | |
---|
227 | # mpc6xx/clock |
---|
228 | include_libcpu_HEADERS += mpc6xx/clock/c_clock.h |
---|
229 | |
---|
230 | noinst_PROGRAMS += mpc6xx/clock.rel |
---|
231 | mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
232 | mpc6xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
233 | mpc6xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
234 | |
---|
235 | # mpc6xx/timer |
---|
236 | noinst_PROGRAMS += mpc6xx/timer.rel |
---|
237 | mpc6xx_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
238 | mpc6xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
239 | mpc6xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
240 | endif |
---|
241 | |
---|
242 | if e500 |
---|
243 | # mpc6xx/clock |
---|
244 | include_libcpu_HEADERS += mpc6xx/clock/c_clock.h |
---|
245 | |
---|
246 | noinst_PROGRAMS += e500/clock.rel |
---|
247 | e500_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
248 | e500_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
249 | e500_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
250 | |
---|
251 | # mpc6xx/timer |
---|
252 | noinst_PROGRAMS += e500/timer.rel |
---|
253 | e500_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
254 | e500_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
255 | e500_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
256 | |
---|
257 | # e500/mmu |
---|
258 | include_libcpu_HEADERS += e500/mmu/e500_mmu.h |
---|
259 | noinst_PROGRAMS += e500/mmu.rel |
---|
260 | e500_mmu_rel_SOURCES = e500/mmu/mmu.c e500/mmu/e500_mmu.h |
---|
261 | e500_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
262 | e500_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
263 | endif |
---|
264 | |
---|
265 | EXTRA_DIST += mpc8xx/README |
---|
266 | if mpc8xx |
---|
267 | include_mpc8xxdir = $(includedir)/mpc8xx |
---|
268 | |
---|
269 | include_HEADERS = mpc8xx/include/mpc8xx.h |
---|
270 | |
---|
271 | # mpc8xx/clock |
---|
272 | noinst_PROGRAMS += mpc8xx/clock.rel |
---|
273 | mpc8xx_clock_rel_SOURCES = mpc8xx/clock/clock.c |
---|
274 | mpc8xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
275 | mpc8xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
276 | |
---|
277 | # mpc8xx/console-generic |
---|
278 | include_mpc8xx_HEADERS = mpc8xx/include/console.h |
---|
279 | |
---|
280 | noinst_PROGRAMS += mpc8xx/console-generic.rel |
---|
281 | mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c |
---|
282 | mpc8xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
283 | mpc8xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
284 | |
---|
285 | # mpc8xx/cpm |
---|
286 | include_mpc8xx_HEADERS += mpc8xx/include/cpm.h |
---|
287 | |
---|
288 | noinst_PROGRAMS += mpc8xx/cpm.rel |
---|
289 | mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c |
---|
290 | mpc8xx_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
291 | mpc8xx_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
292 | |
---|
293 | # mpc8xx/mmu |
---|
294 | include_mpc8xx_HEADERS += mpc8xx/include/mmu.h |
---|
295 | |
---|
296 | noinst_PROGRAMS += mpc8xx/mmu.rel |
---|
297 | mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c |
---|
298 | mpc8xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
299 | mpc8xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
300 | |
---|
301 | # mpc8xx/timer |
---|
302 | noinst_PROGRAMS += mpc8xx/timer.rel |
---|
303 | mpc8xx_timer_rel_SOURCES = mpc8xx/timer/timer.c |
---|
304 | mpc8xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
305 | mpc8xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
306 | endif |
---|
307 | |
---|
308 | EXTRA_DIST += mpc8260/README |
---|
309 | if mpc8260 |
---|
310 | include_mpc8260dir = $(includedir)/mpc8260 |
---|
311 | |
---|
312 | include_HEADERS = mpc8260/include/mpc8260.h |
---|
313 | |
---|
314 | # mpc8260/console-generic |
---|
315 | include_mpc8260_HEADERS = mpc8260/include/console.h |
---|
316 | |
---|
317 | noinst_PROGRAMS += mpc8260/console-generic.rel |
---|
318 | mpc8260_console_generic_rel_SOURCES = mpc8260/console-generic/console-generic.c \ |
---|
319 | mpc8260/include/console.h |
---|
320 | mpc8260_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
321 | mpc8260_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
322 | |
---|
323 | # mpc8260/clock |
---|
324 | noinst_PROGRAMS += mpc8260/clock.rel |
---|
325 | mpc8260_clock_rel_SOURCES = mpc8260/clock/clock.c |
---|
326 | mpc8260_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
327 | mpc8260_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
328 | |
---|
329 | # mpc8260/cpm |
---|
330 | include_mpc8260_HEADERS += mpc8260/include/cpm.h |
---|
331 | |
---|
332 | noinst_PROGRAMS += mpc8260/cpm.rel |
---|
333 | mpc8260_cpm_rel_SOURCES = mpc8260/cpm/cp.c mpc8260/cpm/dpram.c mpc8260/cpm/brg.c \ |
---|
334 | mpc8260/include/cpm.h |
---|
335 | mpc8260_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
336 | mpc8260_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
337 | |
---|
338 | # mpc8260/mmu |
---|
339 | include_mpc8260_HEADERS += mpc8260/include/mmu.h |
---|
340 | |
---|
341 | noinst_PROGRAMS += mpc8260/mmu.rel |
---|
342 | mpc8260_mmu_rel_SOURCES = mpc8260/mmu/mmu.c \ |
---|
343 | mpc8260/include/mmu.h |
---|
344 | mpc8260_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
345 | mpc8260_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
346 | |
---|
347 | # mpc8260/timer |
---|
348 | noinst_PROGRAMS += mpc8260/timer.rel |
---|
349 | mpc8260_timer_rel_SOURCES = mpc8260/timer/timer.c |
---|
350 | mpc8260_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
351 | mpc8260_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
352 | endif |
---|
353 | |
---|
354 | ############################################################################## |
---|
355 | # START: MPC83XX # |
---|
356 | ############################################################################## |
---|
357 | if mpc83xx |
---|
358 | |
---|
359 | # Includes |
---|
360 | include_bspdir = $(includedir)/bsp |
---|
361 | |
---|
362 | include_bsp_HEADERS = new-exceptions/bspsupport/vectors.h \ |
---|
363 | new-exceptions/bspsupport/ppc_exc_bspsupp.h |
---|
364 | |
---|
365 | include_mpc83xxdir = $(includedir)/mpc83xx |
---|
366 | |
---|
367 | include_mpc83xx_HEADERS = mpc83xx/include/mpc83xx.h |
---|
368 | |
---|
369 | # Network |
---|
370 | include_mpc83xx_HEADERS += mpc83xx/network/tsec.h |
---|
371 | if HAS_NETWORKING |
---|
372 | noinst_PROGRAMS += mpc83xx/tsec.rel |
---|
373 | mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c |
---|
374 | mpc83xx_tsec_rel_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE |
---|
375 | mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
376 | endif |
---|
377 | |
---|
378 | # i2c |
---|
379 | include_mpc83xx_HEADERS += mpc83xx/i2c/mpc83xx_i2cdrv.h |
---|
380 | noinst_PROGRAMS += mpc83xx/i2c.rel |
---|
381 | mpc83xx_i2c_rel_SOURCES = mpc83xx/i2c/mpc83xx_i2cdrv.c \ |
---|
382 | mpc83xx/i2c/mpc83xx_i2cdrv.h |
---|
383 | mpc83xx_i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
384 | |
---|
385 | # SPI |
---|
386 | include_mpc83xx_HEADERS += mpc83xx/spi/mpc83xx_spidrv.h |
---|
387 | noinst_PROGRAMS += mpc83xx/spi.rel |
---|
388 | mpc83xx_spi_rel_SOURCES = mpc83xx/spi/mpc83xx_spidrv.c \ |
---|
389 | mpc83xx/spi/mpc83xx_spidrv.h |
---|
390 | mpc83xx_spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
391 | |
---|
392 | # GTM |
---|
393 | include_mpc83xx_HEADERS += mpc83xx/include/gtm.h |
---|
394 | noinst_PROGRAMS += mpc83xx/gtm.rel |
---|
395 | mpc83xx_gtm_rel_SOURCES = mpc83xx/gtm/gtm.c \ |
---|
396 | mpc83xx/include/gtm.h |
---|
397 | mpc83xx_gtm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
398 | |
---|
399 | endif |
---|
400 | ############################################################################## |
---|
401 | # END: MPC83XX # |
---|
402 | ############################################################################## |
---|
403 | |
---|
404 | ############################################################################## |
---|
405 | # START: MPC55XX # |
---|
406 | ############################################################################## |
---|
407 | if mpc55xx |
---|
408 | |
---|
409 | # Includes |
---|
410 | include_bspdir = $(includedir)/bsp |
---|
411 | |
---|
412 | include_bsp_HEADERS = new-exceptions/bspsupport/vectors.h \ |
---|
413 | new-exceptions/bspsupport/ppc_exc_bspsupp.h \ |
---|
414 | mpc55xx/include/irq.h |
---|
415 | |
---|
416 | include_mpc55xxdir = $(includedir)/mpc55xx |
---|
417 | |
---|
418 | include_mpc55xx_HEADERS = mpc55xx/include/regs.h \ |
---|
419 | mpc55xx/include/reg-defs.h \ |
---|
420 | mpc55xx/include/dspi.h \ |
---|
421 | mpc55xx/include/edma.h \ |
---|
422 | mpc55xx/include/mpc55xx.h \ |
---|
423 | mpc55xx/include/esci.h \ |
---|
424 | mpc55xx/include/watchdog.h |
---|
425 | |
---|
426 | # IRQ |
---|
427 | noinst_PROGRAMS += mpc55xx/irq.rel |
---|
428 | mpc55xx_irq_rel_SOURCES = mpc55xx/irq/irq.c |
---|
429 | mpc55xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
430 | |
---|
431 | # FEC |
---|
432 | noinst_PROGRAMS += mpc55xx/fec.rel |
---|
433 | mpc55xx_fec_rel_SOURCES = mpc55xx/fec/fec.c |
---|
434 | mpc55xx_fec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
435 | |
---|
436 | # EMDA |
---|
437 | noinst_PROGRAMS += mpc55xx/edma.rel |
---|
438 | mpc55xx_edma_rel_SOURCES = mpc55xx/edma/edma.c |
---|
439 | mpc55xx_edma_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
440 | |
---|
441 | # ESCI |
---|
442 | noinst_PROGRAMS += mpc55xx/esci.rel |
---|
443 | mpc55xx_esci_rel_SOURCES = mpc55xx/esci/esci.c |
---|
444 | mpc55xx_esci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
445 | |
---|
446 | # DSPI |
---|
447 | noinst_PROGRAMS += mpc55xx/dspi.rel |
---|
448 | mpc55xx_dspi_rel_SOURCES = mpc55xx/dspi/dspi.c |
---|
449 | mpc55xx_dspi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
450 | |
---|
451 | # Misc |
---|
452 | noinst_PROGRAMS += mpc55xx/misc.rel |
---|
453 | mpc55xx_misc_rel_SOURCES = mpc55xx/misc/copy.S \ |
---|
454 | mpc55xx/misc/fmpll.S \ |
---|
455 | mpc55xx/misc/flash.S |
---|
456 | mpc55xx_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
457 | |
---|
458 | endif |
---|
459 | ############################################################################## |
---|
460 | # END: MPC55XX # |
---|
461 | ############################################################################## |
---|
462 | |
---|
463 | include $(srcdir)/preinstall.am |
---|
464 | include $(top_srcdir)/../../../automake/local.am |
---|