source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am @ 68799a2a

4.104.11
Last change on this file since 68799a2a was d374492, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jul 21, 2009 at 8:38:04 AM

Update for MPC55XX changes

  • Property mode set to 100644
File size: 2.7 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
14DISTCLEANFILES = include/bspopts.h
15
16noinst_PROGRAMS =
17
18noinst_LIBRARIES = libbspstart.a
19libbspstart_a_SOURCES = startup/start.S
20project_lib_DATA = start.$(OBJEXT)
21
22libbspstart_a_SOURCES += ../shared/start/rtems_crti.S
23project_lib_DATA += rtems_crti.$(OBJEXT)
24
25# Link commands
26dist_project_lib_DATA += startup/linkcmds startup/linkcmds.memory
27
28noinst_LIBRARIES += libbsp.a
29libbsp_a_SOURCES =
30
31# Includes
32include_HEADERS = include/bsp.h
33include_HEADERS += ../../shared/include/tm27.h
34
35nodist_include_HEADERS = include/bspopts.h ../../shared/tod.h \
36    ../../shared/include/coverhd.h
37include_bsp_HEADERS = include/mpc55xxevb.h \
38    include/irq-config.h \
39    include/smsc9218i.h \
40    ../../shared/include/irq-generic.h \
41    ../../shared/include/irq-info.h \
42    ../../shared/include/utility.h \
43    ../shared/include/tictac.h
44
45# startup
46libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
47    ../../shared/bootcard.c ../shared/src/tictac.c ../../shared/bspclean.c \
48    startup/bspstart.c startup/bspgetworkarea.c ../../shared/bsppretaskinghook.c
49
50# clock
51libbsp_a_SOURCES += clock/clock-config.c
52
53# irq_generic
54libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
55    ../../shared/src/irq-legacy.c \
56    ../../shared/src/irq-info.c \
57    ../../shared/src/irq-shell.c
58
59# tests
60libbsp_a_SOURCES += ../../shared/timerstub.c
61
62# tests
63libbsp_a_SOURCES += tests/tests.c startup/sd-card-init.c
64
65# Network
66if HAS_NETWORKING
67noinst_PROGRAMS += network.rel
68network_rel_SOURCES = network/smsc9218i.c
69network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
70network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71endif
72
73# BSP library
74
75libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
76    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
77    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
78    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/misc.rel \
79    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel \
80    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/edma.rel \
81    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/emios.rel \
82    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/dspi.rel \
83    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/esci.rel \
84    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
85    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
86    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel
87
88if HAS_NETWORKING
89libbsp_a_LIBADD += network.rel
90endif
91
92include $(srcdir)/preinstall.am
93include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.