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