source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/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: 5.2 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6include_bspdir = $(includedir)/bsp
7
8dist_project_lib_DATA = bsp_specs
9
10nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
11DISTCLEANFILES = include/bspopts.h
12
13noinst_PROGRAMS =
14
15noinst_LIBRARIES = libbspstart.a
16libbspstart_a_SOURCES = start/start.S
17project_lib_DATA = start.$(OBJEXT)
18
19libbspstart_a_SOURCES += ../shared/start/rtems_crti.S
20project_lib_DATA += rtems_crti.$(OBJEXT)
21
22# Link commands
23project_lib_DATA += startup/linkcmds
24dist_project_lib_DATA += ../shared/startup/linkcmds.base       
25dist_project_lib_DATA += startup/linkcmds.mpc55xx
26dist_project_lib_DATA += startup/linkcmds.gwlcfm
27dist_project_lib_DATA += startup/linkcmds.mpc5566evb
28dist_project_lib_DATA += startup/linkcmds.mpc5566evb_spe
29dist_project_lib_DATA += startup/linkcmds.mpc5643l_evb
30dist_project_lib_DATA += startup/linkcmds.mpc5643l_dpu
31dist_project_lib_DATA += startup/linkcmds.mpc5674fevb
32dist_project_lib_DATA += startup/linkcmds.mpc5674fevb_spe
33dist_project_lib_DATA += startup/linkcmds.phycore_mpc5554
34dist_project_lib_DATA += startup/linkcmds.mpc5668g
35dist_project_lib_DATA += startup/linkcmds.mpc5674f_ecu508
36dist_project_lib_DATA += startup/linkcmds.mpc5674f_ecu508_boot
37dist_project_lib_DATA += startup/linkcmds.mpc5674f_ecu508_app
38dist_project_lib_DATA += startup/linkcmds.mpc5674f_rsm6
39dist_project_lib_DATA += startup/linkcmds.mpc5674f_rsm6_base
40
41noinst_LIBRARIES += libbsp.a
42libbsp_a_SOURCES =
43
44# Includes
45include_HEADERS = include/bsp.h
46include_HEADERS += include/tm27.h
47
48nodist_include_HEADERS = include/bspopts.h
49include_bsp_HEADERS =
50include_bsp_HEADERS += ../../shared/include/irq-generic.h
51include_bsp_HEADERS += ../../shared/include/irq-info.h
52include_bsp_HEADERS += ../../shared/include/stackalloc.h
53include_bsp_HEADERS += ../../shared/include/utility.h
54include_bsp_HEADERS += ../shared/include/linker-symbols.h
55include_bsp_HEADERS += ../shared/include/start.h
56include_bsp_HEADERS += ../shared/include/tictac.h
57include_bsp_HEADERS += include/mpc55xx-config.h
58include_bsp_HEADERS += include/smsc9218i.h
59include_bsp_HEADERS += include/console-esci.h
60include_bsp_HEADERS += include/console-generic.h
61include_bsp_HEADERS += include/console-linflex.h
62
63# startup
64libbsp_a_SOURCES += ../../shared/bootcard.c
65libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
66libbsp_a_SOURCES += ../../shared/bspclean.c
67libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
68libbsp_a_SOURCES += ../../shared/src/stackalloc.c
69libbsp_a_SOURCES += ../shared/src/bsp-start-zero.S
70libbsp_a_SOURCES += ../shared/src/memcpy.c
71libbsp_a_SOURCES += ../shared/src/tictac.c
72libbsp_a_SOURCES += ../shared/src/ppc-exc-handler-table.c
73libbsp_a_SOURCES += startup/bspstart.c
74libbsp_a_SOURCES += startup/bspgetworkarea.c
75libbsp_a_SOURCES += startup/exc-vector-base.S
76libbsp_a_SOURCES += startup/get-system-clock.c
77libbsp_a_SOURCES += startup/bspreset.c
78libbsp_a_SOURCES += startup/restart.c
79libbsp_a_SOURCES += startup/idle-thread.c
80libbsp_a_SOURCES += startup/start-config-clock.c
81libbsp_a_SOURCES += startup/start-config-ebi.c
82libbsp_a_SOURCES += startup/start-config-ebi-cs.c
83libbsp_a_SOURCES += startup/start-config-ebi-cs-cal.c
84libbsp_a_SOURCES += startup/start-config-mmu.c
85libbsp_a_SOURCES += startup/start-config-mmu-early.c
86libbsp_a_SOURCES += startup/start-config-siu-pcr.c
87libbsp_a_SOURCES += startup/start-prologue.c
88libbsp_a_SOURCES += startup/start-early.c
89libbsp_a_SOURCES += startup/start-cache.S
90libbsp_a_SOURCES += startup/start-clock.c
91libbsp_a_SOURCES += startup/start-flash.S
92libbsp_a_SOURCES += startup/start-watchdog.c
93
94# clock
95libbsp_a_SOURCES += clock/clock-config.c
96
97# console
98libbsp_a_SOURCES += console/console-config.c
99libbsp_a_SOURCES += console/console-esci.c
100libbsp_a_SOURCES += console/console-generic.c
101libbsp_a_SOURCES += console/console-linflex.c
102
103# irq_generic
104libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
105libbsp_a_SOURCES += ../../shared/src/irq-generic.c
106libbsp_a_SOURCES += ../../shared/src/irq-info.c
107libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
108libbsp_a_SOURCES += ../../shared/src/irq-server.c
109libbsp_a_SOURCES += ../../shared/src/irq-shell.c
110
111# Misc
112libbsp_a_SOURCES += startup/sd-card-init.c
113
114# I2C
115libbsp_a_SOURCES += i2c/i2c_init.c \
116    ../../../libcpu/powerpc/mpc83xx/i2c/mpc83xx_i2cdrv.c
117
118# Network
119if HAS_NETWORKING
120libbsp_a_SOURCES += network/smsc9218i.c
121libbsp_a_SOURCES += network/if_smc.c
122endif
123
124# BSP library
125
126libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
127    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
128    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
129    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/misc.rel \
130    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel \
131    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/siu.rel \
132    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/edma.rel \
133    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/emios.rel \
134    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/dspi.rel \
135    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
136    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
137    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel
138
139include $(srcdir)/preinstall.am
140include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.