source: rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am @ 7ae2775

4.104.115
Last change on this file since 7ae2775 was 7ae2775, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jul 17, 2009 at 1:53:04 PM

ARM bsp maintenance

  • Property mode set to 100644
File size: 4.1 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC24XX boards.
6#
7
8# $Id$
9
10ACLOCAL_AMFLAGS = -I ../../../../aclocal
11
12include $(top_srcdir)/../../../../automake/compile.am
13
14include_bspdir = $(includedir)/bsp
15
16dist_project_lib_DATA = bsp_specs
17
18###############################################################################
19#                  Header                                                     #
20###############################################################################
21
22include_HEADERS = include/bsp.h
23
24nodist_include_HEADERS = ../../shared/include/coverhd.h \
25        include/bspopts.h
26
27nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
28
29include_bsp_HEADERS =
30include_bsp_HEADERS += ../../shared/include/utility.h
31include_bsp_HEADERS += ../../shared/include/irq-generic.h
32include_bsp_HEADERS += ../../shared/include/irq-info.h
33include_bsp_HEADERS += ../../shared/include/stackalloc.h
34include_bsp_HEADERS += ../../shared/tod.h
35include_bsp_HEADERS += ../shared/include/linker-symbols.h
36include_bsp_HEADERS += ../shared/include/start.h
37include_bsp_HEADERS += include/irq-config.h
38include_bsp_HEADERS += include/irq.h
39include_bsp_HEADERS += include/lpc24xx.h
40include_bsp_HEADERS += include/system-clocks.h
41include_bsp_HEADERS += include/ssp.h
42include_bsp_HEADERS += include/dma.h
43include_bsp_HEADERS += include/idle.h
44include_bsp_HEADERS += include/i2c.h
45include_bsp_HEADERS += include/io.h
46
47include_HEADERS += ../../shared/include/tm27.h
48
49###############################################################################
50#                  Data                                                       #
51###############################################################################
52
53noinst_LIBRARIES = libbspstart.a
54
55libbspstart_a_SOURCES = ../shared/start/start.S
56
57project_lib_DATA = start.$(OBJEXT)
58
59dist_project_lib_DATA += ../shared/startup/linkcmds.base \
60        startup/linkcmds.lpc2478 \
61        startup/linkcmds.lpc2478_ncs \
62        startup/linkcmds.lpc2478_ncs_ram
63
64###############################################################################
65#                  LibBSP                                                     #
66###############################################################################
67
68noinst_LIBRARIES += libbsp.a
69
70libbsp_a_SOURCES =
71
72# Shared
73libbsp_a_SOURCES += ../../shared/bootcard.c \
74        ../../shared/bspclean.c \
75        ../../shared/bspgetworkarea.c \
76        ../../shared/bsplibc.c \
77        ../../shared/bsppost.c \
78        ../../shared/bsppredriverhook.c \
79        ../../shared/bsppretaskinghook.c \
80        ../../shared/gnatinstallhandler.c \
81        ../../shared/sbrk.c \
82        ../../shared/src/stackalloc.c \
83        ../shared/abort/simple_abort.c
84
85# Startup
86libbsp_a_SOURCES += startup/bspstart.c \
87        startup/bspreset.c
88
89# IRQ
90libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
91        ../../shared/src/irq-legacy.c \
92        ../../shared/src/irq-info.c \
93        ../../shared/src/irq-shell.c \
94        irq/irq.c
95
96# Console
97libbsp_a_SOURCES += ../../shared/console.c \
98        console/console-config.c
99
100# Clock
101libbsp_a_SOURCES += clock/clock-config.c \
102        ../../../shared/clockdrv_shell.h
103
104# RTC
105libbsp_a_SOURCES += ../../shared/tod.c \
106        rtc/rtc-config.c
107# Timer
108libbsp_a_SOURCES += ../../shared/timerstub.c
109
110# Misc
111libbsp_a_SOURCES += misc/system-clocks.c \
112        misc/dma.c \
113        misc/idle.c \
114        misc/io.c
115
116# SSP
117libbsp_a_SOURCES += ssp/ssp.c
118
119# I2C
120libbsp_a_SOURCES += i2c/i2c.c
121
122###############################################################################
123#                  Network                                                    #
124###############################################################################
125
126if HAS_NETWORKING
127
128noinst_PROGRAMS = network.rel
129
130network_rel_SOURCES = network/network.c
131network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
132network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
133
134libbsp_a_LIBADD = network.rel
135
136endif
137
138###############################################################################
139#                  Special Rules                                              #
140###############################################################################
141
142DISTCLEANFILES = include/bspopts.h
143
144include $(srcdir)/preinstall.am
145include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.