source: rtems/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am @ d813d9aa

Last change on this file since d813d9aa was d813d9aa, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 26, 2018 at 4:24:55 AM

bsps/powerpc: Move dec clock driver to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 3.7 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
13
14project_lib_DATA =
15
16EXTRA_DIST += start/start.S
17start.$(OBJEXT): start/start.S
18        $(CPPASCOMPILE) -o $@ -c $<
19
20EXTRA_DIST += ../shared/start/preload.S
21preload.$(OBJEXT): ../shared/start/preload.S
22        $(CPPASCOMPILE) -DASM -o $@ -c $<
23
24EXTRA_DIST += ../shared/start/vectors_entry.S
25vectors_entry.$(OBJEXT): ../shared/start/vectors_entry.S
26        $(CPPASCOMPILE) -o $@ -c $<
27
28motld_start.$(OBJEXT):  preload.$(OBJEXT) vectors_entry.$(OBJEXT) \
29    start.$(OBJEXT)
30        $(LD) -o $@ -r $^
31
32project_lib_DATA += motld_start.$(OBJEXT)
33
34EXTRA_DIST += ../shared/start/rtems_crti.S
35rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
36        $(CPPASCOMPILE) -o $@ -c $<
37project_lib_DATA += rtems_crti.$(OBJEXT)
38
39project_lib_DATA += linkcmds
40dist_project_lib_DATA += ../shared/startup/linkcmds.share
41
42noinst_LIBRARIES = libbsp.a
43libbsp_a_SOURCES =
44
45# startup
46libbsp_a_SOURCES += startup/bspstart.c \
47    startup/misc.c ../../powerpc/shared/startup/bspgetworkarea.c \
48    ../../powerpc/shared/startup/bsppredriverhook.c \
49    ../../powerpc/shared/startup/zerobss.c \
50    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
51    ../../shared/getentropy-cpucounter.c \
52    ../../shared/bspclean.c \
53    ../../shared/gnatinstallhandler.c
54libbsp_a_SOURCES += ../../shared/bspreset.c
55# tod
56libbsp_a_SOURCES += ../../shared/tod.c tod/todcfg.c
57# pclock
58libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
59
60# console
61libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \
62    ../../powerpc/shared/console/console.c \
63    ../../powerpc/shared/console/consoleIo.h \
64    ../../powerpc/shared/console/uart.h
65
66# irq
67libbsp_a_SOURCES += irq/irq_init.c \
68    ../../powerpc/shared/irq/openpic_i8259_irq.c
69
70# openpic
71libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h \
72    ../../powerpc/shared/openpic/openpic.c \
73    ../../powerpc/shared/openpic/openpic.h
74
75# pci
76libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c \
77    pci/detect_host_bridge.c \
78    ../../powerpc/shared/pci/generic_clear_hberrs.c \
79    ../../powerpc/shared/pci/pcifinddevice.c ../../powerpc/shared/pci/pci.h
80
81# vme
82libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeTsi148.c \
83    ../../shared/vmeUniverse/bspVmeDmaList.c \
84    ../../shared/vmeUniverse/vmeTsi148.h \
85    ../../shared/vmeUniverse/vme_am_defs.h \
86    ../../shared/vmeUniverse/VME.h \
87    ../../powerpc/shared/vme/vmeconfig.c \
88    ../../powerpc/shared/vme/vme_universe.c
89
90# flash
91libbsp_a_SOURCES += ../shared/flash/flash.c \
92    ../shared/flash/spansionFlash.c \
93    flash/flashcfg.c
94
95# i2c
96libbsp_a_SOURCES += i2c/mpc8540_i2c.c i2c/i2c_init.c
97
98# vpd
99libbsp_a_SOURCES += ../shared/motorola/vpd.c
100
101if HAS_NETWORKING
102noinst_PROGRAMS += network.rel
103network_rel_SOURCES = network/tsec.c
104network_rel_CPPFLAGS = $(AM_CPPFLAGS)
105network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
106endif
107
108libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
109libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/clock-ppc-dec.c
110libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
111libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/e500-mmu.c
112libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/ppc-dec-timer.c
113
114if HAS_NETWORKING
115libbsp_a_LIBADD += network.rel
116endif
117
118EXTRA_DIST += LICENSE README KNOWN_PROBLEMS
119
120include $(top_srcdir)/../../../../automake/local.am
121include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
122include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
123include $(srcdir)/../../../../../../bsps/powerpc/mvme3100/headers.am
Note: See TracBrowser for help on using the repository browser.