source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am @ 2d0bc83

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

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