source: rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am @ 6882be7

Last change on this file since 6882be7 was 4fd1ff0f, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 26, 2018 at 4:57:10 AM

bsps/powerpc: Move AltiVec? support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

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