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