source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/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: 6.1 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4_SUBDIRS  = .
5_SUBDIRS += bootloader
6if QEMU
7_SUBDIRS += qemu_fakerom
8endif
9
10include $(top_srcdir)/../../../../automake/compile.am
11include $(top_srcdir)/../../bsp.am
12
13include_bspdir = $(includedir)/bsp
14
15dist_project_lib_DATA = bsp_specs
16
17include_HEADERS = include/bsp.h
18include_HEADERS += include/tm27.h
19
20nodist_include_HEADERS = include/bspopts.h
21nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
22DISTCLEANFILES = include/bspopts.h
23
24noinst_PROGRAMS =
25
26include_HEADERS += ../../powerpc/shared/include/nvram.h
27
28EXTRA_DIST += ../../powerpc/shared/start/start.S
29start.$(OBJEXT): ../../powerpc/shared/start/start.S
30        $(CPPASCOMPILE) -o $@ -c $<
31project_lib_DATA = start.$(OBJEXT)
32
33EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
34rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
35        $(CPPASCOMPILE) -o $@ -c $<
36project_lib_DATA += rtems_crti.$(OBJEXT)
37
38EXTRA_DIST += ../../powerpc/shared/start/vectors_entry.S
39vectors_entry.$(OBJEXT): ../../powerpc/shared/start/vectors_entry.S
40        $(CPPASCOMPILE) -o $@ -c $<
41project_lib_DATA += vectors_entry.$(OBJEXT)
42
43dist_project_lib_DATA += ../shared/startup/linkcmds.share
44dist_project_lib_DATA += startup/linkcmds
45
46noinst_LIBRARIES = libbsp.a
47libbsp_a_SOURCES =
48
49# startup
50libbsp_a_SOURCES += ../../powerpc/shared/startup/bspstart.c \
51        ../../powerpc/shared/startup/bspgetworkarea.c \
52        ../../powerpc/shared/showbats.c \
53    ../../powerpc/shared/startup/bsppredriverhook.c \
54        ../../powerpc/shared/startup/zerobss.c \
55    ../../powerpc/shared/startup/pgtbl_setup.c \
56    ../../powerpc/shared/startup/pgtbl_activate.c \
57        ../../powerpc/shared/startup/ppc_idle.c \
58    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
59    ../../shared/getentropy-cpucounter.c \
60    ../../shared/bspclean.c \
61    ../../shared/gnatinstallhandler.c \
62    startup/bspreset.c
63
64
65# tod
66libbsp_a_SOURCES += ../../shared/tod.c ../../powerpc/shared/tod/todcfg.c
67# pclock
68libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
69
70include_bsp_HEADERS = ../../powerpc/shared/console/consoleIo.h
71include_bsp_HEADERS += ../../powerpc/shared/console/uart.h
72
73# Needs conditional compilation
74polledIO_CPPFLAGS = -DSTATIC_LOG_ALLOC
75noinst_PROGRAMS += polledIO.rel
76polledIO_rel_SOURCES = ../../powerpc/shared/console/polled_io.c
77polledIO_rel_CPPFLAGS = $(AM_CPPFLAGS) $(polledIO_CPPFLAGS)
78polledIO_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80# console
81libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c
82libbsp_a_SOURCES += ../../powerpc/shared/console/console.c
83libbsp_a_SOURCES += ../../powerpc/shared/console/consoleIo.h
84libbsp_a_SOURCES += ../../powerpc/shared/console/keyboard.h
85libbsp_a_SOURCES += ../../powerpc/shared/console/uart.h
86
87include_bsp_HEADERS += include/bsp/irq.h
88
89# irq
90libbsp_a_SOURCES += ../../powerpc/shared/irq/irq_init.c
91libbsp_a_SOURCES += ../../powerpc/shared/irq/openpic_i8259_irq.c
92libbsp_a_SOURCES += ../../powerpc/shared/irq/i8259.c
93
94include_bsp_HEADERS += ../../powerpc/shared/motorola/motorola.h
95# motorola
96libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.h
97libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.c
98
99include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
100# openpic
101libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h
102libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.c
103libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h
104
105include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
106# pci
107libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c
108libbsp_a_SOURCES += ../../powerpc/shared/pci/detect_raven_bridge.c
109libbsp_a_SOURCES += ../../powerpc/shared/pci/generic_clear_hberrs.c
110libbsp_a_SOURCES += ../../powerpc/shared/pci/pcifinddevice.c
111libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.h
112
113include_bsp_HEADERS += ../../powerpc/shared/residual/residual.h \
114    ../../powerpc/shared/residual/pnp.h
115# residual
116libbsp_a_SOURCES += ../../powerpc/shared/residual/pnp.h
117libbsp_a_SOURCES += ../../powerpc/shared/residual/residual.h
118libbsp_a_SOURCES += ../../powerpc/shared/residual/residual.c
119
120include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
121    ../../shared/vmeUniverse/vme_am_defs.h \
122    ../../shared/vmeUniverse/VME.h \
123    ../../powerpc/shared/vme/VMEConfig.h \
124    ../../shared/vmeUniverse/vmeUniverseDMA.h\
125    ../../shared/vmeUniverse/bspVmeDmaList.h\
126    ../../shared/vmeUniverse/VMEDMA.h
127# vme
128libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeUniverse.c
129libbsp_a_SOURCES += ../../shared/vmeUniverse/bspVmeDmaList.c
130libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeUniverse.h
131libbsp_a_SOURCES += ../../shared/vmeUniverse/vme_am_defs.h
132libbsp_a_SOURCES += ../../shared/vmeUniverse/VME.h
133libbsp_a_SOURCES += ../../powerpc/shared/vme/vmeconfig.c
134libbsp_a_SOURCES += ../../powerpc/shared/vme/vme_universe.c
135libbsp_a_SOURCES += ../../powerpc/shared/vme/VMEConfig.h
136
137if QEMU
138if HAS_NETWORKING
139nodist_include_HEADERS  += $(srcdir)/../../i386/pc386/include/wd80x3.h
140ne2000_CPPFLAGS          = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
141ne2000_CPPFLAGS         += '-Dbsp_cmdline_arg=rtems_bsp_cmdline_get_param_raw'
142noinst_PROGRAMS         += ne2000.rel
143ne2000_rel_SOURCES       = ../../i386/pc386/ne2000/ne2000.c
144ne2000_rel_CPPFLAGS      = $(AM_CPPFLAGS) $(ne2000_CPPFLAGS)
145ne2000_rel_LDFLAGS       = $(RTEMS_RELLDFLAGS)
146endif
147endif
148
149libbsp_a_LIBADD = \
150    polledIO.rel \
151    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
152    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
153    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
154    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
155    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
156    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
157    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
158    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
159    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
160    ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
161
162if QEMU
163if HAS_NETWORKING
164libbsp_a_LIBADD+=ne2000.rel
165endif
166endif
167
168EXTRA_DIST += BOOTING README.mtx603e README.MVME2100 README.MVME2300 \
169              README.MVME2400 \
170    README.OTHERBOARDS
171EXTRA_DIST += README.dec21140
172EXTRA_DIST += times.mcp750 times.mvme2307
173
174include $(srcdir)/preinstall.am
175include $(top_srcdir)/../../../../automake/local.am
176include $(top_srcdir)/../../../../automake/subdirs.am
Note: See TracBrowser for help on using the repository browser.