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

5
Last change on this file since a12dcff8 was a12dcff8, checked in by Sebastian Huber <sebastian.huber@…>, on 03/23/18 at 15:04:18

bsp/mpc8260: Move libcpu content to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 3.0 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/tty_drv
28if ppc405
29noinst_PROGRAMS += ppc403/tty_drv.rel
30ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h
31ppc403_tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS)
32ppc403_tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
33endif
34
35endif # ppc4xx
36
37if ppc405
38
39## ppc4xx/include
40endif # ppc405
41
42if mpc6xx
43
44# mpc6xx/mmu
45noinst_PROGRAMS += mpc6xx/mmu.rel
46mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \
47    mpc6xx/mmu/pte121.c mpc6xx/mmu/pte121.h \
48    mpc6xx/mmu/mmuAsm.S
49mpc6xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
50mpc6xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52# mpc6xx/clock
53noinst_PROGRAMS += mpc6xx/clock.rel
54mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h
55mpc6xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
56mpc6xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58# mpc6xx/altivec
59noinst_PROGRAMS += mpc6xx/altivec.rel
60mpc6xx_altivec_rel_SOURCES = mpc6xx/altivec/vec_sup.c mpc6xx/altivec/vec_sup_asm.S
61mpc6xx_altivec_rel_CPPFLAGS = $(AM_CPPFLAGS)
62mpc6xx_altivec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63endif
64EXTRA_DIST      += mpc6xx/altivec/README
65
66# e500/clock
67if e500_clock
68noinst_PROGRAMS += e500/clock.rel
69e500_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h
70e500_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
71e500_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72endif
73
74# e500/mmu
75if e500_mmu
76noinst_PROGRAMS += e500/mmu.rel
77e500_mmu_rel_SOURCES = e500/mmu/mmu.c e500/mmu/e500_mmu.h
78e500_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
79e500_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
80endif
81
82EXTRA_DIST += mpc8xx/README
83if mpc8xx
84# mpc8xx/clock
85noinst_PROGRAMS += mpc8xx/clock.rel
86mpc8xx_clock_rel_SOURCES = mpc8xx/clock/clock.c
87mpc8xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
88mpc8xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
89
90# mpc8xx/console-generic
91noinst_PROGRAMS += mpc8xx/console-generic.rel
92mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c
93mpc8xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS)
94mpc8xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
95
96# mpc8xx/cpm
97noinst_PROGRAMS += mpc8xx/cpm.rel
98mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c
99mpc8xx_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS)
100mpc8xx_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
101
102# mpc8xx/mmu
103noinst_PROGRAMS += mpc8xx/mmu.rel
104mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c
105mpc8xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
106mpc8xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
107endif
108
109include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.