source: rtems/c/src/lib/libbsp/powerpc/mvme5500/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: 3.3 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6dist_project_lib_DATA = startup/bsp_specs
7
8DISTCLEANFILES = include/bspopts.h
9
10noinst_PROGRAMS =
11
12noinst_LIBRARIES = libbsp.a
13libbsp_a_SOURCES =
14
15# UNUSED
16
17# startup
18libbsp_a_SOURCES += startup/bspstart.c \
19    ../../powerpc/shared/startup/pgtbl_setup.c startup/pgtbl_activate.c \
20    ../../powerpc/shared/startup/bsppredriverhook.c \
21    ../../powerpc/shared/startup/zerobss.c \
22    ../../powerpc/shared/startup/bspgetworkarea.c \
23    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
24    ../../shared/getentropy-cpucounter.c \
25    startup/bspclean.c \
26    ../../shared/gnatinstallhandler.c startup/bspreset.c \
27    ../../powerpc/shared/startup/probeMemEnd.c
28
29# pclock
30libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
31
32# console
33libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \
34    ../../powerpc/shared/console/console.c
35
36# pci
37libbsp_a_SOURCES += pci/pci.c
38libbsp_a_SOURCES += pci/pci_interface.c
39libbsp_a_SOURCES += pci/detect_host_bridge.c
40libbsp_a_SOURCES += ../../shared/pci/pci_find_device.c
41
42# irq
43libbsp_a_SOURCES += irq/irq_init.c irq/BSP_irq.c
44
45# tod
46libbsp_a_SOURCES += ../../shared/tod.c tod/todcfg.c
47
48# vectors
49libbsp_a_SOURCES += vectors/exceptionhandler.c \
50    ../../powerpc/shared/start/vectors_entry.S
51
52# GT64260
53libbsp_a_SOURCES += GT64260/GT64260TWSI.c GT64260/MVME5500I2C.c
54
55if HAS_NETWORKING
56network_CPPFLAGS = -D_KERNEL -D__BSD_VISIBLE
57noinst_PROGRAMS += network.rel
58network_rel_SOURCES = network/if_100MHz/GT64260eth.c \
59    network/if_1GHz/if_wm.c network/if_1GHz/pci_map.c
60network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
61network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62libbsp_a_LIBADD = network.rel
63endif
64
65rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
66        $(CPPASCOMPILE) -o $@ -c $<
67project_lib_DATA = rtems_crti.$(OBJEXT)
68
69noinst_PROGRAMS += mvme5500start.$(OBJEXT)
70mvme5500start___OBJEXT__SOURCES = ../shared/start/preload.S start/start.S
71mvme5500start___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS)
72mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74project_lib_DATA += mvme5500start.$(OBJEXT)
75
76project_lib_DATA += linkcmds
77dist_project_lib_DATA += ../shared/startup/linkcmds.share
78
79libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
80libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup_asm.S
81libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
82libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/clock-ppc-dec.c
83libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/timer-ppc-dec.c
84libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
85libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
86libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
87libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
88
89include $(top_srcdir)/../../../../automake/local.am
90include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
91include $(srcdir)/../../../../../../bsps/powerpc/shared/shared-sources.am
92include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions-sources.am
93include $(srcdir)/../../../../../../bsps/powerpc/shared/vme-sources.am
94include $(srcdir)/../../../../../../bsps/powerpc/mvme5500/headers.am
Note: See TracBrowser for help on using the repository browser.