source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am @ 6b150cc

4.104.11
Last change on this file since 6b150cc was 2f5435a4, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Mar 25, 2010 at 8:26:00 PM

add support for mpc551x based GW_LCFM system

  • Property mode set to 100644
File size: 2.8 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    ../shared/startup/bspidle.c startup/bspstart.c startup/bspgetworkarea.c \
49    ../../shared/bsppretaskinghook.c
50
51# clock
52libbsp_a_SOURCES += clock/clock-config.c
53
54# irq_generic
55libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
56    ../../shared/src/irq-legacy.c \
57    ../../shared/src/irq-info.c \
58    ../../shared/src/irq-shell.c
59
60# tests
61libbsp_a_SOURCES += tests/tests.c startup/sd-card-init.c
62
63# bsp_i2c
64libbsp_a_SOURCES += i2c/i2c_init.c
65
66# Network
67if HAS_NETWORKING
68noinst_PROGRAMS += network.rel
69network_rel_SOURCES = network/smsc9218i.c
70network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
71network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72endif
73
74# BSP library
75
76libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
77    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
78    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
79    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/misc.rel \
80    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel \
81    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/siu.rel \
82    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/edma.rel \
83    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/emios.rel \
84    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/dspi.rel \
85    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/esci.rel \
86    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
87    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
88    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel
89if HAS_NETWORKING
90libbsp_a_LIBADD += network.rel
91endif
92
93include $(srcdir)/preinstall.am
94include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.