source: rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am @ 47adf3f

4.104.115
Last change on this file since 47adf3f was 47adf3f, checked in by Sebastian Huber <sebastian.huber@…>, on 04/30/10 at 13:49:15

2010-04-30 Sebastian Huber <sebastian.huber@…>

  • include/irq-config.h: Removed file.
  • Makefile.am, preinstall.am: Reflect change above.
  • irq/irq.c: Removed superfluous parameter checks.
  • Property mode set to 100644
File size: 4.4 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/tod.h
37include_bsp_HEADERS += ../shared/include/linker-symbols.h
38include_bsp_HEADERS += ../shared/include/start.h
39include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
40include_bsp_HEADERS += ../shared/lpc/include/lpc-dma.h
41include_bsp_HEADERS += include/irq.h
42include_bsp_HEADERS += include/mmu.h
43include_bsp_HEADERS += include/lpc32xx.h
44include_bsp_HEADERS += include/lpc-clock-config.h
45include_bsp_HEADERS += include/lpc-ethernet-config.h
46
47include_libcpu_HEADERS = ../../../libcpu/arm/shared/include/cache.h \
48        ../../../libcpu/arm/shared/include/arm-cp15.h
49
50###############################################################################
51#                  Data                                                       #
52###############################################################################
53
54noinst_LIBRARIES = libbspstart.a
55
56libbspstart_a_SOURCES = ../shared/start/start.S
57
58project_lib_DATA = start.$(OBJEXT)
59
60project_lib_DATA += startup/linkcmds
61project_lib_DATA += ../shared/startup/linkcmds.base
62
63EXTRA_DIST = startup/linkcmds.lpc32xx_phycore
64
65###############################################################################
66#                  LibBSP                                                     #
67###############################################################################
68
69noinst_LIBRARIES += libbsp.a
70
71libbsp_a_SOURCES =
72libbsp_a_CPPFLAGS =
73libbsp_a_LIBADD =
74
75# Shared
76libbsp_a_SOURCES += ../../shared/bootcard.c \
77        ../../shared/bspclean.c \
78        ../../shared/bspgetworkarea.c \
79        ../../shared/bsplibc.c \
80        ../../shared/bsppost.c \
81        ../../shared/bsppredriverhook.c \
82        ../../shared/bsppretaskinghook.c \
83        ../../shared/gnatinstallhandler.c \
84        ../../shared/sbrk.c \
85        ../../shared/src/stackalloc.c \
86        ../shared/abort/simple_abort.c
87
88# Startup
89libbsp_a_SOURCES += startup/bspstart.c \
90        startup/bspreset.c
91
92# IRQ
93libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
94        ../../shared/src/irq-legacy.c \
95        ../../shared/src/irq-info.c \
96        ../../shared/src/irq-shell.c \
97        ../../shared/src/irq-server.c \
98        irq/irq.c
99
100# Console
101libbsp_a_SOURCES += ../../shared/console.c \
102        console/console-config.c \
103        console/hsu.c
104
105# Clock
106libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c \
107        ../../../shared/clockdrv_shell.h
108
109# RTC
110libbsp_a_SOURCES += ../../shared/tod.c \
111        rtc/rtc-config.c
112
113# Timer
114libbsp_a_SOURCES += misc/timer.c
115
116# SSP
117
118# I2C
119
120# Cache
121libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c \
122        ../../../libcpu/arm/shared/cache/cache_.h
123libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
124
125# Start hooks
126libbsp_a_SOURCES += startup/bspstarthooks.c
127
128###############################################################################
129#                  Network                                                    #
130###############################################################################
131
132if HAS_NETWORKING
133
134noinst_PROGRAMS = network.rel
135
136network_rel_SOURCES = ../shared/lpc/network/lpc-ethernet.c
137network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
138network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
139
140libbsp_a_LIBADD += network.rel
141
142endif
143
144###############################################################################
145#                  Special Rules                                              #
146###############################################################################
147
148DISTCLEANFILES = include/bspopts.h
149
150include $(srcdir)/preinstall.am
151include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.