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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

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