source: rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am @ 3103d4cb

4.115
Last change on this file since 3103d4cb was 3103d4cb, checked in by Sebastian Huber <sebastian.huber@…>, on 06/23/10 at 08:27:57

2010-06-23 Sebastian Huber <sebastian.huber@…>

  • make/custom/lpc32xx_mzx_boot_int.cfg, startup/linkcmds.lpc32xx_mzx_boot_int: Removed files.
  • include/boot.h, include/emc.h, include/i2c.h, include/nand-mlc.h, make/custom/lpc32xx_mzx.cfg, make/custom/lpc32xx_mzx_stage_1.cfg, make/custom/lpc32xx_mzx_stage_2.cfg, misc/boot.c, misc/emc.c, misc/i2c.c, misc/nand-mlc.c, misc/nand-mlc-read-blocks.c, misc/nand-mlc-write-blocks.c, misc/restart.c, startup/linkcmds.lpc32xx, startup/linkcmds.lpc32xx_mzx, startup/linkcmds.lpc32xx_mzx_stage_1, startup/linkcmds.lpc32xx_mzx_stage_2: New files.
  • configure.ac, Makefile.am, preinstall.am: Reflect changes above.
  • include/bsp.h, include/lpc32xx.h, irq/irq.c, rtc/rtc-config.c, startup/bspstart.c, startup/bspstarthooks.c, startup/linkcmds.lpc32xx_phycore: Changes throughout.
  • Property mode set to 100644
File size: 4.9 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
47include_bsp_HEADERS += include/nand-mlc.h
48include_bsp_HEADERS += include/boot.h
49include_bsp_HEADERS += include/i2c.h
50include_bsp_HEADERS += include/emc.h
51
52include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/cache.h \
53        ../../../libcpu/arm/shared/include/arm-cp15.h
54
55###############################################################################
56#                  Data                                                       #
57###############################################################################
58
59noinst_LIBRARIES = libbspstart.a
60
61libbspstart_a_SOURCES = ../shared/start/start.S
62
63project_lib_DATA = start.$(OBJEXT)
64
65project_lib_DATA += startup/linkcmds
66project_lib_DATA += startup/linkcmds.lpc32xx
67project_lib_DATA += ../shared/startup/linkcmds.base
68
69EXTRA_DIST = startup/linkcmds.lpc32xx_phycore \
70        startup/linkcmds.lpc32xx_mzx_stage_1 \
71        startup/linkcmds.lpc32xx_mzx_stage_2 \
72        startup/linkcmds.lpc32xx_mzx
73
74###############################################################################
75#                  LibBSP                                                     #
76###############################################################################
77
78noinst_LIBRARIES += libbsp.a
79
80libbsp_a_SOURCES =
81libbsp_a_CPPFLAGS =
82libbsp_a_LIBADD =
83
84# Shared
85libbsp_a_SOURCES += ../../shared/bootcard.c \
86        ../../shared/bspclean.c \
87        ../../shared/bspgetworkarea.c \
88        ../../shared/bsplibc.c \
89        ../../shared/bsppost.c \
90        ../../shared/bsppredriverhook.c \
91        ../../shared/bsppretaskinghook.c \
92        ../../shared/gnatinstallhandler.c \
93        ../../shared/sbrk.c \
94        ../../shared/src/stackalloc.c \
95        ../../shared/src/uart-output-char.c \
96        ../shared/abort/simple_abort.c
97
98# Startup
99libbsp_a_SOURCES += startup/bspstart.c \
100        startup/bspreset.c
101
102# IRQ
103libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
104        ../../shared/src/irq-legacy.c \
105        ../../shared/src/irq-info.c \
106        ../../shared/src/irq-shell.c \
107        ../../shared/src/irq-server.c \
108        irq/irq.c
109
110# Console
111libbsp_a_SOURCES += ../../shared/console.c \
112        console/console-config.c \
113        console/hsu.c
114
115# Clock
116libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c \
117        ../../../shared/clockdrv_shell.h
118
119# RTC
120libbsp_a_SOURCES += ../../shared/tod.c \
121        rtc/rtc-config.c
122
123# Misc
124libbsp_a_SOURCES += misc/timer.c \
125        misc/nand-mlc.c \
126        misc/nand-mlc-read-blocks.c \
127        misc/nand-mlc-write-blocks.c \
128        misc/restart.c \
129        misc/boot.c \
130        misc/emc.c \
131        misc/i2c.c
132
133# SSP
134
135# I2C
136
137# Cache
138libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c \
139        ../../../libcpu/arm/shared/cache/cache_.h
140libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
141
142# Start hooks
143libbsp_a_SOURCES += startup/bspstarthooks.c
144
145###############################################################################
146#                  Network                                                    #
147###############################################################################
148
149if HAS_NETWORKING
150
151noinst_PROGRAMS = network.rel
152
153network_rel_SOURCES = ../shared/lpc/network/lpc-ethernet.c
154network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
155network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
156
157libbsp_a_LIBADD += network.rel
158
159endif
160
161###############################################################################
162#                  Special Rules                                              #
163###############################################################################
164
165DISTCLEANFILES = include/bspopts.h
166
167include $(srcdir)/preinstall.am
168include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.