source: rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am @ 4c4974e

4.104.115
Last change on this file since 4c4974e was 4c4974e, checked in by Sebastian Huber <sebastian.huber@…>, on 05/20/10 at 13:15:35

2010-05-20 Sebastian Huber <sebastian.huber@…>

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