source: rtems/c/src/lib/libbsp/arm/lpc176x/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: 3.2 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC176x 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# ----------------------------
18# ------  Headers
19# ----------------------------
20
21
22# ----------------------------
23# ------  Data
24# ----------------------------
25
26EXTRA_DIST += ../shared/start/start.S
27start.$(OBJEXT): ../shared/start/start.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA = start.$(OBJEXT)
30
31project_lib_DATA += linkcmds
32dist_project_lib_DATA += startup/linkcmds.lpc1768_mbed
33dist_project_lib_DATA += startup/linkcmds.lpc1768_mbed_ahb_ram
34dist_project_lib_DATA += startup/linkcmds.lpc1768_mbed_ahb_ram_eth
35
36# ----------------------------
37# ------  LibBSP
38# ----------------------------
39
40noinst_LIBRARIES = libbsp.a
41
42libbsp_a_SOURCES =
43
44# Shared
45libbsp_a_SOURCES += ../../shared/bootcard.c
46libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
47libbsp_a_SOURCES += ../../shared/bspclean.c
48libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
49libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
50libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
51libbsp_a_SOURCES += ../../shared/sbrk.c
52libbsp_a_SOURCES += ../../shared/src/stackalloc.c
53libbsp_a_SOURCES += ../../shared/src/uart-output-char.c
54
55# Startup
56libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
57libbsp_a_SOURCES += ../shared/armv7m/startup/bspreset.c
58libbsp_a_SOURCES += startup/bspstart.c
59
60# IRQ
61libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
62libbsp_a_SOURCES += ../../shared/src/irq-generic.c
63libbsp_a_SOURCES += ../../shared/src/irq-info.c
64libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
65libbsp_a_SOURCES += ../../shared/src/irq-server.c
66libbsp_a_SOURCES += ../../shared/src/irq-shell.c
67libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
68libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
69libbsp_a_SOURCES += irq/irq.c
70
71# Console
72libbsp_a_SOURCES += ../../shared/console-termios-init.c
73libbsp_a_SOURCES += ../../shared/console-termios.c
74libbsp_a_SOURCES += console/console-config.c
75
76# Clock
77libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
78libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
79libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
80
81# RTC
82libbsp_a_SOURCES += ../../shared/tod.c \
83                        rtc/rtc-config.c
84
85# GPIO
86libbsp_a_SOURCES += gpio/lpc-gpio.c
87
88# CAN
89libbsp_a_SOURCES += can/can.c
90
91# PWMOUT
92libbsp_a_SOURCES += pwmout/pwmout.c
93
94# ADC
95libbsp_a_SOURCES += adc/adc.c
96
97# Timer
98libbsp_a_SOURCES += timer/timer.c
99
100# Benchmark Timer
101libbsp_a_SOURCES += benchmark_timer/benchmark_timer.c
102
103# Misc
104libbsp_a_SOURCES += misc/system-clocks.c
105libbsp_a_SOURCES += misc/dma.c
106libbsp_a_SOURCES += misc/dma-copy.c
107libbsp_a_SOURCES += misc/bspidle.c
108libbsp_a_SOURCES += misc/io.c
109libbsp_a_SOURCES += misc/restart.c
110
111# Watchdog
112libbsp_a_SOURCES += watchdog/watchdog.c
113
114# Cache
115libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
116
117# Start hooks
118libbsp_a_SOURCES += startup/bspstarthooks.c
119
120
121# ----------------------------
122# ------  Special Rules
123# ----------------------------
124
125DISTCLEANFILES = include/bspopts.h
126
127include $(top_srcdir)/../../../../automake/local.am
128include $(srcdir)/../../../../../../bsps/arm/lpc176x/headers.am
Note: See TracBrowser for help on using the repository browser.