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

5
Last change on this file since 09dd82a was 09dd82a, checked in by Sebastian Huber <sebastian.huber@…>, on 03/13/18 at 15:43:25

bsp/ss555: Move libcpu content to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 8.2 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../aclocal
2
3include $(top_srcdir)/../../../automake/compile.am
4
5EXTRA_DIST =
6
7noinst_PROGRAMS =
8
9EXTRA_DIST += ppc403/README ppc403/vectors/README
10if ppc4xx
11# ppc403/clock
12noinst_PROGRAMS += ppc403/clock.rel
13ppc403_clock_rel_SOURCES = ppc403/clock/clock.c
14ppc403_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
15ppc403_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
16
17# ppc403/console
18noinst_PROGRAMS += ppc403/console.rel
19if ppc405
20ppc403_console_rel_SOURCES = ppc403/console/console405.c
21else
22ppc403_console_rel_SOURCES = ppc403/console/console.c
23endif
24ppc403_console_rel_CPPFLAGS = $(AM_CPPFLAGS)
25ppc403_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
26
27# ppc403/timer
28noinst_PROGRAMS += ppc403/timer.rel
29ppc403_timer_rel_SOURCES = ppc403/timer/timer.c
30ppc403_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
31ppc403_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
32
33# ppc403/tty_drv
34if ppc405
35noinst_PROGRAMS += ppc403/tty_drv.rel
36ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h
37ppc403_tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS)
38ppc403_tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39endif
40
41endif # ppc4xx
42
43if ppc405
44
45## ppc4xx/include
46endif # ppc405
47
48if mpc6xx
49
50# mpc6xx/mmu
51noinst_PROGRAMS += mpc6xx/mmu.rel
52mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \
53    mpc6xx/mmu/pte121.c mpc6xx/mmu/pte121.h \
54    mpc6xx/mmu/mmuAsm.S
55mpc6xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
56mpc6xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58# mpc6xx/clock
59noinst_PROGRAMS += mpc6xx/clock.rel
60mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h
61mpc6xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
62mpc6xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64# mpc6xx/timer
65noinst_PROGRAMS += mpc6xx/timer.rel
66mpc6xx_timer_rel_SOURCES = mpc6xx/timer/timer.c
67mpc6xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
68mpc6xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
69
70# mpc6xx/altivec
71noinst_PROGRAMS += mpc6xx/altivec.rel
72mpc6xx_altivec_rel_SOURCES = mpc6xx/altivec/vec_sup.c mpc6xx/altivec/vec_sup_asm.S
73mpc6xx_altivec_rel_CPPFLAGS = $(AM_CPPFLAGS)
74mpc6xx_altivec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
75endif
76EXTRA_DIST      += mpc6xx/altivec/README
77
78# e500/clock
79if e500_clock
80noinst_PROGRAMS += e500/clock.rel
81e500_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h
82e500_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
83e500_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
84endif
85
86# e500/timer
87if e500_timer
88noinst_PROGRAMS += e500/timer.rel
89e500_timer_rel_SOURCES = mpc6xx/timer/timer.c
90e500_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
91e500_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
92endif
93
94# e500/mmu
95if e500_mmu
96noinst_PROGRAMS += e500/mmu.rel
97e500_mmu_rel_SOURCES = e500/mmu/mmu.c e500/mmu/e500_mmu.h
98e500_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
99e500_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
100endif
101
102EXTRA_DIST += mpc8xx/README
103if mpc8xx
104# mpc8xx/clock
105noinst_PROGRAMS += mpc8xx/clock.rel
106mpc8xx_clock_rel_SOURCES = mpc8xx/clock/clock.c
107mpc8xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
108mpc8xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
109
110# mpc8xx/console-generic
111noinst_PROGRAMS += mpc8xx/console-generic.rel
112mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c
113mpc8xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS)
114mpc8xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
115
116# mpc8xx/cpm
117noinst_PROGRAMS += mpc8xx/cpm.rel
118mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c
119mpc8xx_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS)
120mpc8xx_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
121
122# mpc8xx/mmu
123noinst_PROGRAMS += mpc8xx/mmu.rel
124mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c
125mpc8xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
126mpc8xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
127
128# mpc8xx/timer
129noinst_PROGRAMS += mpc8xx/timer.rel
130mpc8xx_timer_rel_SOURCES = mpc8xx/timer/timer.c
131mpc8xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
132mpc8xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
133endif
134
135EXTRA_DIST += mpc8260/README
136if mpc8260
137# mpc8260/console-generic
138noinst_PROGRAMS += mpc8260/console-generic.rel
139mpc8260_console_generic_rel_SOURCES = mpc8260/console-generic/console-generic.c \
140    mpc8260/include/console.h
141mpc8260_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS)
142mpc8260_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
143
144# mpc8260/cpm
145noinst_PROGRAMS += mpc8260/cpm.rel
146mpc8260_cpm_rel_SOURCES = mpc8260/cpm/cp.c mpc8260/cpm/dpram.c mpc8260/cpm/brg.c \
147    mpc8260/include/cpm.h
148mpc8260_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS)
149mpc8260_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
150
151# mpc8260/mmu
152noinst_PROGRAMS += mpc8260/mmu.rel
153mpc8260_mmu_rel_SOURCES = mpc8260/mmu/mmu.c \
154                          mpc8260/include/mmu.h
155mpc8260_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
156mpc8260_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
157
158# mpc8260/timer
159noinst_PROGRAMS += mpc8260/timer.rel
160mpc8260_timer_rel_SOURCES = mpc8260/timer/timer.c
161mpc8260_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
162mpc8260_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
163endif
164
165##############################################################################
166# START: MPC83XX                                                             #
167##############################################################################
168if mpc83xx
169
170# Includes
171
172# Network
173if HAS_NETWORKING
174noinst_PROGRAMS += mpc83xx/tsec.rel
175mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c
176mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
177endif
178
179# i2c
180noinst_PROGRAMS += mpc83xx/i2c.rel
181mpc83xx_i2c_rel_SOURCES = mpc83xx/i2c/mpc83xx_i2cdrv.c \
182        mpc83xx/i2c/mpc83xx_i2cdrv.h
183mpc83xx_i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
184
185# SPI
186noinst_PROGRAMS += mpc83xx/spi.rel
187mpc83xx_spi_rel_SOURCES = mpc83xx/spi/mpc83xx_spidrv.c \
188        mpc83xx/spi/mpc83xx_spidrv.h
189mpc83xx_spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
190
191# GTM
192noinst_PROGRAMS += mpc83xx/gtm.rel
193mpc83xx_gtm_rel_SOURCES = mpc83xx/gtm/gtm.c \
194        mpc83xx/include/gtm.h
195mpc83xx_gtm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
196
197endif
198##############################################################################
199# END: MPC83XX                                                               #
200##############################################################################
201
202##############################################################################
203# START: MPC55XX                                                             #
204##############################################################################
205if mpc55xx
206
207# IRQ
208noinst_PROGRAMS += mpc55xx/irq.rel
209mpc55xx_irq_rel_SOURCES = mpc55xx/irq/irq.c
210mpc55xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
211
212# mpc6xx/timer
213noinst_PROGRAMS += mpc55xx/timer.rel
214mpc55xx_timer_rel_SOURCES = mpc6xx/timer/timer.c
215mpc55xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
216mpc55xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
217
218# FEC
219noinst_PROGRAMS += mpc55xx/fec.rel
220mpc55xx_fec_rel_SOURCES = mpc55xx/fec/fec.c
221mpc55xx_fec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
222
223# eDMA
224noinst_PROGRAMS += mpc55xx/edma.rel
225mpc55xx_edma_rel_SOURCES = mpc55xx/edma/edma.c
226mpc55xx_edma_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
227
228# eMIOS
229noinst_PROGRAMS += mpc55xx/emios.rel
230mpc55xx_emios_rel_SOURCES = mpc55xx/emios/emios.c
231mpc55xx_emios_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
232
233# SIU
234noinst_PROGRAMS += mpc55xx/siu.rel
235mpc55xx_siu_rel_SOURCES = mpc55xx/siu/siu.c
236mpc55xx_siu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
237
238# DSPI
239noinst_PROGRAMS += mpc55xx/dspi.rel
240mpc55xx_dspi_rel_SOURCES = mpc55xx/dspi/dspi.c
241mpc55xx_dspi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
242
243# Misc
244noinst_PROGRAMS += mpc55xx/misc.rel
245mpc55xx_misc_rel_SOURCES = mpc55xx/misc/copy.S \
246        mpc55xx/misc/flash_support.c
247mpc55xx_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
248
249endif
250##############################################################################
251# END: MPC55XX                                                               #
252##############################################################################
253
254##############################################################################
255# START: QorIQ                                                               #
256##############################################################################
257if qoriq
258
259# Network
260if HAS_NETWORKING
261noinst_PROGRAMS += tsec.rel
262tsec_rel_SOURCES = mpc83xx/network/tsec.c
263tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
264endif
265
266endif
267##############################################################################
268# END: QorIQ                                                                 #
269##############################################################################
270
271include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.