source: rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am @ 9832a22c

4.104.115
Last change on this file since 9832a22c was 9647f7fe, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 02/27/09 at 11:26:44
  • README: Added NCS.
  • Makefile.am, configure.ac, preinstall.am: Added BSP variants.
  • console/console-config.c, clock/clock-config.c, ssp/ssp.c: Fixed register settings. Cleanup.
  • include/bsp.h: Added network defines and functions.
  • include/lpc24xx.h: Added AHB and EMC defines. Fixed Ethernet status sizes.
  • include/system-clocks.h, misc/system-clocks.c: Added micro seconds delay function that uses Timer 1. Changed PLL setup.
  • network/network.c, startup/bspreset.c, startup/linkcmds.lpc2478, startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: New files.
  • startup/bspstart.c: Added EMC initialization. Changes for ROM boot.
  • Property mode set to 100644
File size: 3.9 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/tod.h
34include_bsp_HEADERS += ../shared/include/linker-symbols.h
35include_bsp_HEADERS += ../shared/include/start.h
36include_bsp_HEADERS += include/irq-config.h
37include_bsp_HEADERS += include/irq.h
38include_bsp_HEADERS += include/lpc24xx.h
39include_bsp_HEADERS += include/system-clocks.h
40include_bsp_HEADERS += include/ssp.h
41include_bsp_HEADERS += include/dma.h
42
43include_HEADERS += ../../shared/include/tm27.h
44
45###############################################################################
46#                  Data                                                       #
47###############################################################################
48
49noinst_LIBRARIES = libbspstart.a
50
51libbspstart_a_SOURCES = ../shared/start/start.S
52
53project_lib_DATA = start.$(OBJEXT)
54
55dist_project_lib_DATA += ../shared/startup/linkcmds.base \
56        ../shared/startup/linkcmds.rom \
57        startup/linkcmds.lpc2478 \
58        startup/linkcmds.lpc2478_ncs \
59        startup/linkcmds.lpc2478_ncs_ram
60
61###############################################################################
62#                  LibBSP                                                     #
63###############################################################################
64
65noinst_LIBRARIES += libbsp.a
66
67libbsp_a_SOURCES =
68
69# Shared
70libbsp_a_SOURCES += ../../shared/bootcard.c \
71        ../../shared/bspclean.c \
72        ../../shared/bspgetworkarea.c \
73        ../../shared/bsplibc.c \
74        ../../shared/bsppost.c \
75        ../../shared/bsppredriverhook.c \
76        ../../shared/bsppretaskinghook.c \
77        ../../shared/gnatinstallhandler.c \
78        ../../shared/sbrk.c \
79        ../shared/abort/simple_abort.c
80
81# Startup
82libbsp_a_SOURCES += startup/bspstart.c \
83        startup/bspreset.c
84
85# IRQ
86libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
87        ../../shared/src/irq-legacy.c \
88        ../../shared/src/irq-info.c \
89        ../../shared/src/irq-shell.c \
90        ../shared/irq/irq_asm.S \
91        irq/irq.c
92
93# Console
94libbsp_a_SOURCES += ../../shared/console.c \
95        console/console-config.c
96
97# Clock
98libbsp_a_SOURCES += clock/clock-config.c \
99        ../../../shared/clockdrv_shell.h
100
101# RTC
102libbsp_a_SOURCES += ../../shared/tod.c \
103        rtc/rtc-config.c
104# Timer
105libbsp_a_SOURCES += ../../shared/timerstub.c
106
107# Misc
108libbsp_a_SOURCES += misc/system-clocks.c \
109        misc/dma.c
110
111# SSP
112libbsp_a_SOURCES += ssp/ssp.c
113
114###############################################################################
115#                  Network                                                    #
116###############################################################################
117
118if HAS_NETWORKING
119
120noinst_PROGRAMS = network.rel
121
122network_rel_SOURCES = network/network.c
123network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
124network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
125
126libbsp_a_LIBADD = network.rel
127
128endif
129
130###############################################################################
131#                  Special Rules                                              #
132###############################################################################
133
134DISTCLEANFILES = include/bspopts.h
135
136include $(srcdir)/preinstall.am
137include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.