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

5
Last change on this file since 010bf86 was 010bf86, checked in by Chris Johns <chrisj@…>, on Jan 4, 2018 at 7:54:29 AM

bsps/powerpc: Use public include path

Update #3254.

  • Property mode set to 100644
File size: 4.6 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_bspdir = $(includedir)/bsp
8
9dist_project_lib_DATA = bsp_specs
10
11include_HEADERS = include/bsp.h
12include_HEADERS += include/tm27.h
13
14nodist_include_HEADERS = include/bspopts.h
15nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20
21project_lib_DATA =
22
23EXTRA_DIST += start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -o $@ -c $<
26
27EXTRA_DIST += ../shared/start/preload.S
28preload.$(OBJEXT): ../shared/start/preload.S
29        $(CPPASCOMPILE) -DASM -o $@ -c $<
30
31EXTRA_DIST += ../shared/start/vectors_entry.S
32vectors_entry.$(OBJEXT): ../shared/start/vectors_entry.S
33        $(CPPASCOMPILE) -o $@ -c $<
34
35motld_start.$(OBJEXT):  preload.$(OBJEXT) vectors_entry.$(OBJEXT) \
36    start.$(OBJEXT)
37        $(LD) -o $@ -r $^
38
39project_lib_DATA += motld_start.$(OBJEXT)
40
41EXTRA_DIST += ../shared/start/rtems_crti.S
42rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
43        $(CPPASCOMPILE) -o $@ -c $<
44project_lib_DATA += rtems_crti.$(OBJEXT)
45
46dist_project_lib_DATA += ../shared/startup/linkcmds.share
47dist_project_lib_DATA += startup/linkcmds
48
49noinst_LIBRARIES = libbsp.a
50libbsp_a_SOURCES =
51
52# startup
53libbsp_a_SOURCES += startup/bspstart.c \
54    startup/misc.c ../../powerpc/shared/startup/bspgetworkarea.c \
55    ../../powerpc/shared/startup/bsppredriverhook.c \
56    ../../powerpc/shared/startup/zerobss.c \
57    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
58    ../../shared/getentropy-cpucounter.c \
59    ../../shared/bspclean.c \
60    ../../shared/gnatinstallhandler.c
61libbsp_a_SOURCES += ../../shared/bspreset.c
62# tod
63libbsp_a_SOURCES += ../../shared/tod.c tod/todcfg.c
64# pclock
65libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
66
67include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
68# console
69libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \
70    ../../powerpc/shared/console/console.c \
71    ../../powerpc/shared/console/consoleIo.h \
72    ../../powerpc/shared/console/uart.h
73
74include_bsp_HEADERS += irq/irq.h
75# irq
76libbsp_a_SOURCES += irq/irq_init.c \
77    ../../powerpc/shared/irq/openpic_i8259_irq.c
78
79include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
80# openpic
81libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h \
82    ../../powerpc/shared/openpic/openpic.c \
83    ../../powerpc/shared/openpic/openpic.h
84
85include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
86# pci
87libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c \
88    pci/detect_host_bridge.c \
89    ../../powerpc/shared/pci/generic_clear_hberrs.c \
90    ../../powerpc/shared/pci/pcifinddevice.c ../../powerpc/shared/pci/pci.h
91
92include_bsp_HEADERS += vme/VMEConfig.h \
93    ../../shared/vmeUniverse/vmeTsi148.h \
94    ../../shared/vmeUniverse/vme_am_defs.h \
95    ../../shared/vmeUniverse/VME.h \
96    ../../shared/vmeUniverse/vmeTsi148DMA.h\
97    ../../shared/vmeUniverse/bspVmeDmaList.h\
98    ../../shared/vmeUniverse/VMEDMA.h
99
100# vme
101libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeTsi148.c \
102    ../../shared/vmeUniverse/bspVmeDmaList.c \
103    ../../shared/vmeUniverse/vmeTsi148.h \
104    ../../shared/vmeUniverse/vme_am_defs.h \
105    ../../shared/vmeUniverse/VME.h \
106    ../../powerpc/shared/vme/vmeconfig.c \
107    ../../powerpc/shared/vme/vme_universe.c
108
109include_bsp_HEADERS += ../shared/flash/flashPgm.h \
110    ../shared/flash/flashPgmPvt.h
111# flash
112libbsp_a_SOURCES += ../shared/flash/flash.c \
113    ../shared/flash/spansionFlash.c \
114    flash/flashcfg.c
115
116include_bsp_HEADERS += i2c/mpc8540_i2c_busdrv.h
117# i2c
118libbsp_a_SOURCES += i2c/mpc8540_i2c.c i2c/i2c_init.c
119
120include_bsp_HEADERS += ../shared/motorola/vpd.h
121# vpd
122libbsp_a_SOURCES += ../shared/motorola/vpd.c
123
124if HAS_NETWORKING
125include_bsp_HEADERS += network/if_tsec_pub.h
126noinst_PROGRAMS += network.rel
127network_rel_SOURCES = network/tsec.c
128network_rel_CPPFLAGS = $(AM_CPPFLAGS)
129network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
130endif
131
132libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
133    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
134    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
135    ../../../libcpu/@RTEMS_CPU@/e500/clock.rel \
136    ../../../libcpu/@RTEMS_CPU@/e500/timer.rel \
137    ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel \
138    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
139    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
140    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel
141
142if HAS_NETWORKING
143libbsp_a_LIBADD += network.rel
144endif
145
146EXTRA_DIST += LICENSE README KNOWN_PROBLEMS
147
148include $(srcdir)/preinstall.am
149include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.