source: rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am @ 4cf93658

Last change on this file since 4cf93658 was 4cf93658, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 27, 2018 at 1:37:51 PM

bsps: Rework cache manager implementation

The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

  • bsps/shared/cache
  • bsps/@RTEMS_CPU@/shared/cache
  • bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.

  • Property mode set to 100644
File size: 4.9 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC24XX boards.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9EXTRA_DIST =
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = startup/bsp_specs
15
16###############################################################################
17#                  Header                                                     #
18###############################################################################
19
20###############################################################################
21#                  Data                                                       #
22###############################################################################
23
24EXTRA_DIST += ../shared/start/start.S
25start.$(OBJEXT): ../shared/start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29project_lib_DATA += linkcmds
30dist_project_lib_DATA += startup/linkcmds.lpc17xx_ea_ram
31dist_project_lib_DATA += startup/linkcmds.lpc17xx_ea_rom_int
32dist_project_lib_DATA += startup/linkcmds.lpc17xx_plx800_ram
33dist_project_lib_DATA += startup/linkcmds.lpc17xx_plx800_rom_int
34dist_project_lib_DATA += startup/linkcmds.lpc2362
35dist_project_lib_DATA += startup/linkcmds.lpc23xx_tli800
36dist_project_lib_DATA += startup/linkcmds.lpc24xx_ea
37dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_ram
38dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_rom_ext
39dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_rom_int
40dist_project_lib_DATA += startup/linkcmds.lpc24xx_plx800_ram
41dist_project_lib_DATA += startup/linkcmds.lpc24xx_plx800_rom_int
42dist_project_lib_DATA += startup/linkcmds.lpc40xx_ea_ram
43dist_project_lib_DATA += startup/linkcmds.lpc40xx_ea_rom_int
44
45###############################################################################
46#                  LibBSP                                                     #
47###############################################################################
48
49noinst_LIBRARIES = libbsp.a
50
51libbsp_a_SOURCES =
52
53# Shared
54libbsp_a_SOURCES += ../../shared/bootcard.c \
55        ../../shared/getentropy-cpucounter.c \
56        ../../shared/bspclean.c \
57        ../../shared/bspgetworkarea.c \
58        ../../shared/bsppredriverhook.c \
59        ../../shared/gnatinstallhandler.c \
60        ../../shared/sbrk.c \
61        ../../shared/src/stackalloc.c \
62        ../../shared/src/uart-output-char.c
63libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
64
65# Startup
66libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
67libbsp_a_SOURCES += ../shared/armv7m/startup/bspreset.c
68libbsp_a_SOURCES += startup/bspreset-armv4.c
69libbsp_a_SOURCES += startup/bspstart.c
70
71# IRQ
72libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
73libbsp_a_SOURCES += ../../shared/src/irq-generic.c
74libbsp_a_SOURCES += ../../shared/src/irq-info.c
75libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
76libbsp_a_SOURCES += ../../shared/src/irq-server.c
77libbsp_a_SOURCES += ../../shared/src/irq-shell.c
78libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
79libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
80libbsp_a_SOURCES += irq/irq.c
81libbsp_a_SOURCES += irq/irq-dispatch.c
82
83# Console
84libbsp_a_SOURCES += ../../shared/console-termios-init.c
85libbsp_a_SOURCES += ../../shared/console-termios.c
86libbsp_a_SOURCES += console/console-config.c
87libbsp_a_SOURCES += console/uart-probe-1.c
88libbsp_a_SOURCES += console/uart-probe-2.c
89libbsp_a_SOURCES += console/uart-probe-3.c
90
91# Clock
92libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
93libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
94libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
95
96# RTC
97libbsp_a_SOURCES += ../../shared/tod.c \
98        rtc/rtc-config.c
99
100# Misc
101libbsp_a_SOURCES += misc/system-clocks.c \
102        misc/dma.c \
103        misc/dma-copy.c \
104        misc/bspidle.c \
105        misc/io.c \
106        misc/lcd.c \
107        misc/restart.c \
108        misc/timer.c
109
110# SSP
111libbsp_a_SOURCES += ssp/ssp.c
112
113# I2C
114libbsp_a_SOURCES += i2c/i2c.c \
115        i2c/i2c-config.c
116
117# Framebuffer
118libbsp_a_SOURCES += ../shared/arm-pl111-fb.c
119libbsp_a_SOURCES += startup/fb-config.c
120
121# Cache
122libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
123
124# Start hooks
125libbsp_a_SOURCES += startup/bspstarthooks.c
126libbsp_a_SOURCES += startup/start-config-emc-dynamic.c
127libbsp_a_SOURCES += startup/start-config-emc-static.c
128libbsp_a_SOURCES += startup/start-config-mpu.c
129libbsp_a_SOURCES += startup/start-config-pinsel.c
130
131###############################################################################
132#                  Network                                                    #
133###############################################################################
134
135if HAS_NETWORKING
136libbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
137endif
138
139###############################################################################
140#                  Special Rules                                              #
141###############################################################################
142
143DISTCLEANFILES = include/bspopts.h
144
145include $(top_srcdir)/../../../../automake/local.am
146include $(srcdir)/../../../../../../bsps/arm/lpc24xx/headers.am
Note: See TracBrowser for help on using the repository browser.