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

5
Last change on this file since e1c0d67 was e1c0d67, checked in by Sebastian Huber <sebastian.huber@…>, on 01/02/18 at 10:20:07

bsp/mpc55xxevb: Move <bsp/irq.h>

Update #3254.
Update #3268.

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