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

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

bsp/tqm8xx: Move libcpu content to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 2.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/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
82include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.