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

5
Last change on this file since d584269 was d584269, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 4, 2018 at 2:44:52 PM

bsps: Remove librtemsbsp.a wrapup

This patch is a part of the BSP source reorganization.

Update #3285.

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