source: rtems/c/src/lib/libcpu/powerpc/Makefile.am @ 815994f

4.11
Last change on this file since 815994f was 815994f, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 25, 2012 at 4:48:11 PM

score: Add CPU_Exception_frame

Add CPU port type CPU_Exception_frame and function
_CPU_Exception_frame_print().

The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh,
sparc64, and v850 use an empty default implementation of
_CPU_Exception_frame_print().

Add rtems_exception_frame and rtems_exception_frame_print().

Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions. Use rtems_fatal()
with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc,
and sparc for unexpected exceptions.

Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the
BSP_PRINT_EXCEPTION_CONTEXT define used in the default
bsp_fatal_extension().

Add test sptests/spfatal26.

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