source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am @ 814eccb4

5
Last change on this file since 814eccb4 was 814eccb4, checked in by Sebastian Huber <sebastian.huber@…>, on 04/03/18 at 14:41:16

bsps: Move VME support to bsps

The VME support is only used by powerpc BSPs.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 4.3 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3_SUBDIRS  = .
4_SUBDIRS += bootloader
5if QEMU
6_SUBDIRS += qemu_fakerom
7endif
8
9include $(top_srcdir)/../../../../automake/compile.am
10include $(top_srcdir)/../../bsp.am
11
12dist_project_lib_DATA = startup/bsp_specs
13
14DISTCLEANFILES = include/bspopts.h
15
16noinst_PROGRAMS =
17
18
19start.$(OBJEXT): ../../powerpc/shared/start/start.S
20        $(CPPASCOMPILE) -o $@ -c $<
21project_lib_DATA = start.$(OBJEXT)
22
23rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA += rtems_crti.$(OBJEXT)
26
27vectors_entry.$(OBJEXT): ../../powerpc/shared/start/vectors_entry.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA += vectors_entry.$(OBJEXT)
30
31project_lib_DATA += linkcmds
32dist_project_lib_DATA += ../shared/startup/linkcmds.share
33
34noinst_LIBRARIES = libbsp.a
35libbsp_a_SOURCES =
36
37# startup
38libbsp_a_SOURCES += ../../powerpc/shared/startup/bspstart.c \
39        ../../powerpc/shared/startup/bspgetworkarea.c \
40        ../../powerpc/shared/showbats.c \
41    ../../powerpc/shared/startup/bsppredriverhook.c \
42        ../../powerpc/shared/startup/zerobss.c \
43    ../../powerpc/shared/startup/pgtbl_setup.c \
44    ../../powerpc/shared/startup/pgtbl_activate.c \
45        ../../powerpc/shared/startup/ppc_idle.c \
46    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
47    ../../shared/getentropy-cpucounter.c \
48    ../../shared/bspclean.c \
49    ../../shared/gnatinstallhandler.c \
50    startup/bspreset.c
51
52
53# tod
54libbsp_a_SOURCES += ../../shared/tod.c ../../powerpc/shared/tod/todcfg.c
55# pclock
56libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
57
58# Needs conditional compilation
59polledIO_CPPFLAGS = -DSTATIC_LOG_ALLOC
60noinst_PROGRAMS += polledIO.rel
61polledIO_rel_SOURCES = ../../powerpc/shared/console/polled_io.c
62polledIO_rel_CPPFLAGS = $(AM_CPPFLAGS) $(polledIO_CPPFLAGS)
63polledIO_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
64
65# console
66libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c
67libbsp_a_SOURCES += ../../powerpc/shared/console/console.c
68libbsp_a_SOURCES += ../../powerpc/shared/console/consoleIo.h
69libbsp_a_SOURCES += ../../powerpc/shared/console/keyboard.h
70libbsp_a_SOURCES += ../../powerpc/shared/console/uart.h
71
72# irq
73libbsp_a_SOURCES += ../../powerpc/shared/irq/irq_init.c
74libbsp_a_SOURCES += ../../powerpc/shared/irq/openpic_i8259_irq.c
75libbsp_a_SOURCES += ../../powerpc/shared/irq/i8259.c
76
77# motorola
78libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.h
79libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.c
80
81# openpic
82libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h
83libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.c
84libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h
85
86# pci
87libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c
88libbsp_a_SOURCES += ../../powerpc/shared/pci/detect_raven_bridge.c
89libbsp_a_SOURCES += ../../powerpc/shared/pci/generic_clear_hberrs.c
90libbsp_a_SOURCES += ../../powerpc/shared/pci/pcifinddevice.c
91libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.h
92
93# residual
94libbsp_a_SOURCES += ../../powerpc/shared/residual/pnp.h
95libbsp_a_SOURCES += ../../powerpc/shared/residual/residual.h
96libbsp_a_SOURCES += ../../powerpc/shared/residual/residual.c
97
98if QEMU
99if HAS_NETWORKING
100libbsp_a_SOURCES += ../../i386/pc386/ne2000/ne2000.c
101endif
102endif
103
104libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
105libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup_asm.S
106libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
107libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/clock-ppc-dec.c
108libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/timer-ppc-dec.c
109libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
110libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
111libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
112libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
113
114libbsp_a_LIBADD = polledIO.rel
115
116
117include $(top_srcdir)/../../../../automake/local.am
118include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
119include $(top_srcdir)/../../../../automake/subdirs.am
120include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
121include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
122include $(srcdir)/../../../../../../bsps/powerpc/shared/vme-sources.am
123include $(srcdir)/../../../../../../bsps/powerpc/motorola_powerpc/headers.am
Note: See TracBrowser for help on using the repository browser.