source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am @ 11a8296

Last change on this file since 11a8296 was 5f59e2a, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 26, 2018 at 5:52:57 AM

bsps/powerpc: Move dec timer driver

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 4.9 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
13dist_project_lib_DATA = startup/bsp_specs
14
15DISTCLEANFILES = include/bspopts.h
16
17noinst_PROGRAMS =
18
19
20EXTRA_DIST += ../../powerpc/shared/start/start.S
21start.$(OBJEXT): ../../powerpc/shared/start/start.S
22        $(CPPASCOMPILE) -o $@ -c $<
23project_lib_DATA = start.$(OBJEXT)
24
25EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
26rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
27        $(CPPASCOMPILE) -o $@ -c $<
28project_lib_DATA += rtems_crti.$(OBJEXT)
29
30EXTRA_DIST += ../../powerpc/shared/start/vectors_entry.S
31vectors_entry.$(OBJEXT): ../../powerpc/shared/start/vectors_entry.S
32        $(CPPASCOMPILE) -o $@ -c $<
33project_lib_DATA += vectors_entry.$(OBJEXT)
34
35project_lib_DATA += linkcmds
36dist_project_lib_DATA += ../shared/startup/linkcmds.share
37
38noinst_LIBRARIES = libbsp.a
39libbsp_a_SOURCES =
40
41# startup
42libbsp_a_SOURCES += ../../powerpc/shared/startup/bspstart.c \
43        ../../powerpc/shared/startup/bspgetworkarea.c \
44        ../../powerpc/shared/showbats.c \
45    ../../powerpc/shared/startup/bsppredriverhook.c \
46        ../../powerpc/shared/startup/zerobss.c \
47    ../../powerpc/shared/startup/pgtbl_setup.c \
48    ../../powerpc/shared/startup/pgtbl_activate.c \
49        ../../powerpc/shared/startup/ppc_idle.c \
50    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
51    ../../shared/getentropy-cpucounter.c \
52    ../../shared/bspclean.c \
53    ../../shared/gnatinstallhandler.c \
54    startup/bspreset.c
55
56
57# tod
58libbsp_a_SOURCES += ../../shared/tod.c ../../powerpc/shared/tod/todcfg.c
59# pclock
60libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
61
62# Needs conditional compilation
63polledIO_CPPFLAGS = -DSTATIC_LOG_ALLOC
64noinst_PROGRAMS += polledIO.rel
65polledIO_rel_SOURCES = ../../powerpc/shared/console/polled_io.c
66polledIO_rel_CPPFLAGS = $(AM_CPPFLAGS) $(polledIO_CPPFLAGS)
67polledIO_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68
69# console
70libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c
71libbsp_a_SOURCES += ../../powerpc/shared/console/console.c
72libbsp_a_SOURCES += ../../powerpc/shared/console/consoleIo.h
73libbsp_a_SOURCES += ../../powerpc/shared/console/keyboard.h
74libbsp_a_SOURCES += ../../powerpc/shared/console/uart.h
75
76# irq
77libbsp_a_SOURCES += ../../powerpc/shared/irq/irq_init.c
78libbsp_a_SOURCES += ../../powerpc/shared/irq/openpic_i8259_irq.c
79libbsp_a_SOURCES += ../../powerpc/shared/irq/i8259.c
80
81# motorola
82libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.h
83libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.c
84
85# openpic
86libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h
87libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.c
88libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h
89
90# pci
91libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c
92libbsp_a_SOURCES += ../../powerpc/shared/pci/detect_raven_bridge.c
93libbsp_a_SOURCES += ../../powerpc/shared/pci/generic_clear_hberrs.c
94libbsp_a_SOURCES += ../../powerpc/shared/pci/pcifinddevice.c
95libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.h
96
97# residual
98libbsp_a_SOURCES += ../../powerpc/shared/residual/pnp.h
99libbsp_a_SOURCES += ../../powerpc/shared/residual/residual.h
100libbsp_a_SOURCES += ../../powerpc/shared/residual/residual.c
101
102# vme
103libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeUniverse.c
104libbsp_a_SOURCES += ../../shared/vmeUniverse/bspVmeDmaList.c
105libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeUniverse.h
106libbsp_a_SOURCES += ../../shared/vmeUniverse/vme_am_defs.h
107libbsp_a_SOURCES += ../../shared/vmeUniverse/VME.h
108libbsp_a_SOURCES += ../../powerpc/shared/vme/vmeconfig.c
109libbsp_a_SOURCES += ../../powerpc/shared/vme/vme_universe.c
110
111if QEMU
112if HAS_NETWORKING
113libbsp_a_SOURCES += ../../i386/pc386/ne2000/ne2000.c
114endif
115endif
116
117libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
118libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup_asm.S
119libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
120libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/clock-ppc-dec.c
121libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/dev/timer-ppc-dec.c
122libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/bat.c
123libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/mmuAsm.S
124libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/mmu/pte121.c
125libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/irq/ppc-irq-legacy.c
126
127libbsp_a_LIBADD = polledIO.rel
128
129EXTRA_DIST += BOOTING README.mtx603e README.MVME2100 README.MVME2300 \
130              README.MVME2400 \
131    README.OTHERBOARDS
132EXTRA_DIST += README.dec21140
133EXTRA_DIST += times.mcp750 times.mvme2307
134
135include $(top_srcdir)/../../../../automake/local.am
136include $(top_srcdir)/../../../../automake/subdirs.am
137include $(srcdir)/../../../../../../bsps/powerpc/shared/shared.am
138include $(srcdir)/../../../../../../bsps/powerpc/shared/exceptions.am
139include $(srcdir)/../../../../../../bsps/powerpc/motorola_powerpc/headers.am
Note: See TracBrowser for help on using the repository browser.