source: rtems/c/src/lib/libcpu/powerpc/Makefile.am @ 4960b29

4.115
Last change on this file since 4960b29 was 97fa2f1b, checked in by Sebastian Huber <sebastian.huber@…>, on 08/31/11 at 15:50:30

2011-08-31 Sebastian Huber <sebastian.huber@…>

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